INTERNET OF THINGS
Deep-dive into the use of MATLAB and Node.js to power the Internet of Things
Arduino Ethernet Web Server based LED control and sensor logging
This video demonstrates how to set up a web server using the Arduino UNO board and an Arudino Ethernet shield. The Ethernet shield houses a Wiznet W5100 Ethernet chip. The UNO board is connected to a LED and a TI TMP 102 temperature sensor. A browser is used to control the on and off states of the LED and log temperature sensor data in real time.
|
Xbee based Wireless communication between Raspberry Pi and Arduino
This video demonstrates how to use Xbee communication to establish wireless communication between a Raspberry Pi and an Arudino UNO board. A TI TMP 102 temperature sensor is connected to the Arduino UNO board that also houses a XBee Series 1 (2.4 Ghz, IEEE 802.15.4) radio that is interfaced using an XBee Explorer USB and XBee Shield for Arduino UNO. Another XBee Series 1 (2.4 Ghz, IEEE 802.15.4) is connected to the Raspberry PI that runs the Raspbian Linux distro using the XBee Explorer USB. Using this configuration, a Python script is used to collect readings of the TI TMP 102 temperature sensor serially via the wireless communication link.
|
Arduino based sensor data logging to a node.js server via a Raspberry Pi using socket.IO
This advanced tutorial video demonstrates how to realize the architecture of the Internet of Things.
- A TI TMP 102 temperature sensor is connected to the Arduino UNO board. The Arduino UNO board is connected to a Raspberry Pi via USB. - The Raspberry PI runs the Raspbian Linux distro. Additionally, it runs a node.js client script. This client script communicates with the Arduino board using serial communication via USB. The client script also communicates with a node.js server script via socket.IO realtime WebSocket for cross-browser communication. - The server node.js script runs on a computer (it can be run in the cloud as well). It communicates with the Raspberry Pi and commands it to request temperature sensor data from the Arduino UNO. Once the Raspberry Pi receives the temperature data from the Arduino, it transmits it to the server via the Internet. The server logs this data on the console. |