![](/media/cache/profiles/7c39a5f991bef4a1e34187677a65871d.jpg.50x50_q85.jpg)
HTTP Server serving a simple webpage which enables to remotely turn LED1 on/off. Compile, download, run and type 'IP_address/secret/' (don't forget the last '/') into your web browser and hit ENTER.
Dependencies: W5500Interface mbed
Turn LED1, or other digital output, on/off using a web browser.
In this example we create a HTTP server that will serve a simple Web page to remotely turn LED1, or other digital output on the mbed board, on/off by using a web browser. A WIZ550io module or W5500 Network-Shielld is used to assure connection between the mbed module and the Ethernet network (Internet).
Needed parts:
- mbed board
- WIZ550io module or W5500 Network-Shield
- Wires
- Web browser (Internet Explorer, Safari, Firefox, Chrome ...) running on Windows, Mac, Linux, iPhone or Android device.
![]() | ![]() |
The project was inspired by the Tuxgraphics Web Switch. Thank you Guido!
NOTE:
- For a Web Switch using an ENC28J60 Ethernet module see WebSwitch_ENC28J60
- For a Web Switch using mbed's built in Ethernet PHY see WebSwitch_mbed-dev or WebSwitch_mbed-os
Changes
Revision | Date | Who | Commit message |
---|---|---|---|
6:3d74cb156c5c | 2017-05-01 | hudakz | Button added. |
5:458d9d7b5c1b | 2016-02-08 | hudakz | Updated. |
4:31010e482971 | 2016-02-06 | hudakz | Fixed bug + added support for W5500 without built-in MAC + added support for mbed boards equipped with Arduino header |
3:d0e3d1bd73e6 | 2016-02-06 | hudakz | Fixed bug + added support for WIZ5500 boards and mbed boards equipped with Arduino header. |
2:3803ea61daa1 | 2015-03-16 | hudakz | Updated |
1:343d3c7e13b8 | 2015-03-16 | hudakz | Updated |
0:5c8e08cf3b33 | 2015-03-15 | hudakz | Web Switch to turn on/off LED1 using the WIZ550io board. Compile, download, run and type 192.168.1.181/secret/ into your web browser. |