With the Cosino Linux board and its Mega 2560 extension (which mounts an Arduino Mega 2560) it’s possible to build, in a short time, even simple prototypes for the Internet-of-Things (IoT).
In this example the Arduino board is used to control a LED and to interface to the popular DHT22 temperature and humidity sensor. On the Linux side a software communicates with Arduino, receiving the status of sensors and forwarding this data to the public http://www.mqtt.io/ broker through the MQTT protocol.
In this way collected data can be accessed anywhere from a common web browser. Therefore, it is possible, through a convenient web-based panel, turn on or turn off the LED and display the status of the DHT22 sensor.



Leave a Reply