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.

Project details
Like it?
More sharing options

In this example of Internet-of-Things (IoT) application the Mega 2560 CPU drives a led and is interfaced to the popular DHT22 humidity and temperature sensor.

Leave a Reply

Your email address will not be published. Required fields are marked *

+ 63 = 68