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
Diff: W5500Interface.lib
- Revision:
- 3:d0e3d1bd73e6
- Parent:
- 0:5c8e08cf3b33
--- a/W5500Interface.lib Mon Mar 16 09:30:02 2015 +0000 +++ b/W5500Interface.lib Sat Feb 06 09:34:36 2016 +0000 @@ -1,1 +1,1 @@ -http://developer.mbed.org/teams/EthernetInterfaceW5500-makers/code/W5500Interface/#713b6d2aaefb +http://developer.mbed.org/teams/EthernetInterfaceW5500-makers/code/W5500Interface/#5499fa2d8898