LAB1 _ Wiki Report - aaackc/IOT GitHub Wiki

Module1(LAB)

Github:

• Github.com/AnthonyYos/IoT

• github.com/aaackc

• github.com/s0720bae

• github.com/Alshaikh1abbas

Video:

https://m.youtube.com/watch?v=zWbT75G9zaI

Introduction:

The goal of lab1 using all six sensors that we used in our module1 ICPs which are light sensor, temperature sensor, barometer sensor, UV sensor, dust sensor, and heartbeat sensor. Also, using node_ red and MIT App to interface with the arudino. Approaches/ Methods: We started going through all sensors’ ICPs in module1 and used circuit diagrams and added functions that would take inputs and output them. We started with connecting all sensors, LCD, and Arduino board to the circuit and checking their connection status. We used nod_ red that would output our input node into dashboard. Last we used MIT to initiate buttons for bluetooth and all sensors to control them by using a smart phone via bluetooth.

Workflow:

• Connected Arduino, LCD monitor, and all required sensors to the circuit. • Checked that each sensor is working properly and giving the right reading. • Created buttons for all sensors on MIT, so we would be able to see each sensor result by only clicking on the button of that sensor.
• Created a flow that would show outputs in order on dashboard; However, we faced adafruit WiFi connection issue so we couldn’t transfer data to the dashboard.

Flow Diagrams:

Parameters:

• Copied function from ICPs to take the temp, dust, humidity, UV, light, heartbeat, and barometer in their measurements and output them into LCD and dashboard.

• Created buttons on MIT for Bluetooth connection.

• Created a flow that would interact with the arduino and show the dashboard for output data.

Evaluation & Discussion:

Since we have all information and functions for all sensors from previous ICPs, LAB1 was so easy to start. Nevertheless, the most difficult part came from trying to figure out to do Adafruit and node MCU connection. This part took most of the time even though we have everything ready including the node_ red flow, so we just make the data shows on dashboard.

Conclusion:

Going through all modul1_ ICPs for all required resources that are available for this lab makes most of the work easier; especially, having the functions for the sensors. We experienced how to get all sensors output in order in one screen instead of having individual data for only one or two sensors. Also, We how we can interact with an Arduino without solely using its IDE, using node red.