IoT with Arduino and Raspberry Pi By, Team Members Project Mentor: Abhishek Kumar – NIT Durgapur Manas Ranjan Das Aman Agarwal – NIT Durgapur Mayank Dixit – NIT Patna Project Manager: Riya Kaur Labana – BITS Goa Rajesh Kushalkar Savita Burnwal – NIT Rourkela Shivam Saxena - NIT Durgapur
What is IoT? Why we need it?
Overview of Project Raspberry Pi(Server) Arduino Dashboard Sensor Node Visualization XBee XBee Raspberry Pi(Server) Arduino Dashboard Actuation Analysis Sensor Node ESP-8266
Introduction to Sensors Used
Serial Communication Using XBee Xbee : Xbees are the tiny modules that are used to provide serial communication and end point connectivity to the devices.
Configuring Xbee as END/ Router and Coordinator Using XCTU Software Configuration Using Arduino UNO Configuration Using USB Port
Set up Sending data from Arduino to Raspberry Pi
Set up sending Pulse sensor data The set up is shown below:
Output obtained on Thingspeak:
ESP 8266 ESP-8266 is a Wi-Fi module that comes equipped with either hosting an application or offloading Wi-Fi networking Functions.
ESP-8266 can be programmed using: Arduino IDE Node LUA Firmware
Set up to send sensor data to Raspberry Pi using AT commands The Set up is shown below:
The output on our Dashboard:
ESP-NodeMCU To program in NodeMCU , Lua firmware needs to be uploaded to the ESP-12E development Board. It can also be programmed using Arduino IDE.
Actuation Set up using ESP-NodeMCU
Actuation using Dashboard
Client Side(Dashboard) Flow of Data: Database Data from sensors NodeJs Server Client Side(Dashboard) Actuation Data Analysis Data Visualization
Technologies Used MySQL Node.JS Express Framework Socket.IO
4. Chart Libraries for Data Visualization EON Charts- For rendering real time charts. High Charts – For rendering static charts.
Why IoT needs Hadoop ? Traditional systems fail to process large amount of data(BIG data). Large Amount of data needs high processing power. RDBMS do not support unstructured data and not suitable for data analysis.
Working of Hadoop Module Data is collected in MySQL for a period of 1 day. Data received is processed by using Mapper-Reducer Scripts Csv file is sent to client of cluster Hadoop Cluster Data is converted to csv format file Output data is sent back to IOT server DashBoard Collected data in MySQL is deleted. IOT Server Output data is used by Chart Libraries
Conclusion : Transferred Sensor data to Dashboard using both Xbee and ESP-8266 ( using both AT commands and NodeMCU). Rendered real time charts on the dashboard using different chart libraries. Data Analyzed using Hadoop. Actuated the devices through Dashboard.
Demo