Skip to main content
Explorer
February 28, 2024
Solved

how to create a web server using w5500 and bluepill

  • February 28, 2024
  • 5 replies
  • 7443 views

hey there! is it possible to create a webserver with bluepill and w5500? where should I find an example of this? 

    This topic has been closed for replies.
    Best answer by STTwo-32

    Hello @Mahsa8289 and welcome to the ST Community :smiling_face_with_smiling_eyes:.

    Such a combination should be possible (STM32F103+ W5500). For the examples, you may find some on Github or by other users. I've personally found this Library (not an ST official library but just to give an example). 

    Best Regards.

    STTwo-32

    5 replies

    STTwo-32Answer
    Technical Moderator
    February 28, 2024

    Hello @Mahsa8289 and welcome to the ST Community :smiling_face_with_smiling_eyes:.

    Such a combination should be possible (STM32F103+ W5500). For the examples, you may find some on Github or by other users. I've personally found this Library (not an ST official library but just to give an example). 

    Best Regards.

    STTwo-32

    Mahsa8289Author
    Explorer
    February 28, 2024

    thanks for replying! I'm using STM32CubeIDE. Do you know if there's an example available for this?

    Super User
    February 28, 2024

    As @STTwo-32 mentioned, it's a 3rd-party library - so you'd have to ask that 3rd party for support.

    EDIT

    But the documentation is pretty clear that it is an Arduino library...

    Super User
    February 28, 2024

    To learn how to use the Wiznet W5500, go to the Wiznet Product Page for the W5500:

    AndrewNeil_0-1709122415894.png

    Note the links to Technical Documentation, Drivers, and Support.

    Following the 'ioLibrary' link:

    AndrewNeil_1-1709122534825.png

     

     

    Super User
    February 28, 2024

    @Mahsa8289 wrote:

     is it possible to create a webserver with bluepill and w5500? 


    Certainly, it's possible - people were creating webservers on 8051s decades ago.

    Whether it's worthwhile is another question:

    • Why not choose an STM32 with Ethernet?
    • Why not use something like a Raspberry Pi?

     

    Mahsa8289Author
    Explorer
    February 29, 2024

    Thinking of using an external IC for Ethernet to let the MCU handle other tasks.I Want to control  currents of 8 devises, save data to an SD card, and control via a web server.

    Super User
    February 29, 2024

    @Mahsa8289 wrote:

    Thinking of using an external IC for Ethernet to let the MCU handle other tasks.I Want to control  currents of 8 devises, save data to an SD card, and control via a web server.


    That was a necessity a couple of decades ago with 8-bit processors when 64K of Flash was considered "huge".

    Not really an issue any more with chips like STM32, which could certainly manage all that - and more.

    But it does save you having to implement the TCP/IP stack in software ...

    Super User
    February 28, 2024

    Here's an example using a Nucleo-F103RB board and an Arduino WS5100 shield:

     

    AndrewNeil_2-1709129864958.png

    https://www.carminenoviello.com/2015/08/28/adding-ethernet-connectivity-stm32-nucleo/

     

    It's using plain Eclipse rather than the STM32CubeIDE - but that should be close enough to get you going...

    It uses the Wiznet ioLibrary - mentioned earlier - which also supports your WS5500...

    Graduate
    November 18, 2024

    I have made an example, you can find it here on GitHub

    https://github.com/avinash-gupta-in/stm32f051-w5500-simple-http-server