This content explains the example project to implement Web Switch to control a certain device through the internet in mbed platform environment. This project uses mbed platform board and Wiz550io module for the main function.
To act as a desk and project lamp, where the color temperature can be adjusted ranging from a very cool white, to very warm white, and the brightness can be varied. It will be controlled by an Espruino ( www.espruino.com ) board, and capable of loading “preset” colors, as well as adjusting the color channels individually. The controller will be connected to the network, and can be controlled remotely over the network, and, in turn, can control the relays in a Fargo ( www.linortek.com ) unit over the network. The author used WIZ550io from WIZnet for ethernet networking.
This article is the example to how to implement MQTT by using the compiler, named Swordfish. In case of user who is using PIC, he can follow up this example easily by programming with BASIC language in Swordfish enviroment.