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.
/media/uploads/hudakz/webswitch_wiz.jpg/media/uploads/hudakz/webswitch_mobile01.jpg

The project was inspired by the Tuxgraphics Web Switch. Thank you Guido!

NOTE:

History

Button added. default tip

2017-05-01, by hudakz [Mon, 01 May 2017 20:04:30 +0000] rev 6

Button added.


Updated.

2016-02-08, by hudakz [Mon, 08 Feb 2016 22:52:27 +0000] rev 5

Updated.


Fixed bug + added support for W5500 without built-in MAC + added support for mbed boards equipped with Arduino header

2016-02-06, by hudakz [Sat, 06 Feb 2016 10:34:47 +0000] rev 4

Fixed bug + added support for W5500 without built-in MAC + added support for mbed boards equipped with Arduino header


Fixed bug + added support for WIZ5500 boards and mbed boards equipped with Arduino header.

2016-02-06, by hudakz [Sat, 06 Feb 2016 09:34:36 +0000] rev 3

Fixed bug + added support for WIZ5500 boards and mbed boards equipped with Arduino header.


Updated

2015-03-16, by hudakz [Mon, 16 Mar 2015 09:30:02 +0000] rev 2

Updated


Updated

2015-03-16, by hudakz [Mon, 16 Mar 2015 09:24:23 +0000] rev 1

Updated


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.

2015-03-15, by hudakz [Sun, 15 Mar 2015 22:47:37 +0000] rev 0

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.