Lab 3 - Gnkhakimova/CS5590-IoT GitHub Wiki

Video

https://www.youtube.com/watch?v=ZC8c77nUO6s&feature=youtu.be

Gulnoza Khakimova - ID 3 -- WIKI

Sang Minh Ly - ID 5 -- WIKI

Murali Krishna Sai Chukka - ID 2 -- WIKI

Sources Code

Arduino Source Code
MIT App Inventor Source Code
APK File

Introduction

Create an in class project (Lab 3) that integrate the following parts any sensor (Light), WiFi sensor, Arduino, MIT App Inventor, and visualization on mobile phone using Thingspeak. Using the Light Sensor to display the light data in a form of a graph to the user over WiFi connection. Also, allow the user to be able to turn on and off the data transferring from the Light Sensor.

Objective

The objective of our Lab 3 was to create a useful case where the user are able to receive data from any sensor and showing the data in a graphical form, and allow the user to turn on and off the data transmitting. We had to integrate a WiFi sensor to be able to transfer data without hard wiring the user's mobile phone with our Arduino. On top of that, we integrated MIT App Inventor which allow us to transfer data from our Arduino to the mobile phone and display a graph to the user.

Approach/Method

The approach we took to complete this in class project (Lab 3) were to fully setup the WiFi sensor. We had to wire our WiFi Sensor to our Arduino and upload the WiFi codes so we can connect to our mobile device. After we successfully accomplish that task, we moved onto integrating the Light Sensor to our Arduino. We than updated our Arduino code, so that the new code can integrate and activate our Light Sensor and begin collecting light data. We than created a new MIT App Inventor file, so that we can create the flow to start integrating our data from our sensor to Thingspeak. So that we can display our light data in a graphical form for the user. Therefore, once we created our graphical form on Thingspeak we transfer the graph to the user's mobile phone for visual.

Workflow

The workflow for our Lab 3 were, we had to integrate many component together to provide a meaningful use case. We had to integrate a Wifi Sensor, Light Sensor, Arduino, MIT App Inventor, and display the light data in a graphical form to the user's mobile application. And we used Thingspeak to create the visual effect before we transfer the graph to the user. All of the component combine together we created a mobile application where the user can turn on and off data transferring from a Light Sensor to their mobile phone.

Circuit Diagram


We used this diagram to connect our WiFi Sensor to our Arduino. We used this diagram to connect our Light Sensor to our Arduino. This is our MIT App Inventor flow chart that we used.

Parameter

The parameter we used to complete this Lab 3 assignment consist of the following WiFi Sensor, so that we can connect our mobile device over wireless connection. The next parameter is Light Sensor, which is used to generate light data and we collect those data using Arduino. The next parameter is Thingspeak, we used Thingspeak to display the collected data into a visual graph and from there we transfer the graph to the mobile device for the user.

Conclusion

Conclusion for our class project (Lab 3) we were successfully able to complete the assigned task. As a team we integrated multiple components together to create a functional use case application. Our application allow the user to receive light data with a click of a button, and the user can stop receiving data with a simple click of a button as well. The data that the user will see are in a graphical form.

Contribution

  1. Sang Minh Ly - Configured circuit diagram and helped with Arduino

  2. Murali Krishna Sai Chukka - implemented Arduino and mobile application

  3. Gulnoza Khakimova - implemented MIT App Inventor and helped with Arduino

In overall, as a team we collectively helped each other to accomplish the task.