As a complete beginner, I was a bit intimated by the scope and aim of this course work, especially when it comes to electronics. But Professor Brian has pulled the abstract towards us in a concretizing manner. His explanations and hands-on method for both coding and building electronic components has enhanced much of my introduction to IoT.
Now to the actual electronic board (I still do not know what to call it): we were tasked with a project where we would be writing code that would flash a little LED light, and later, a LED ring. Both lights were external components that were connected to the board.
After writing codes to flash the LED lights, we added code that would have the board read both temperature and humidity in the room. The test code written for the temperature used a random number generator between 65 and 85 as data for temperature; this was utilized as a controlled experiment to understand how the data would appear on the Cloud in Adafruit.io. Next, we installed code on the electronic board that enabled the data recorded (humidity and temperature F) to be sent to the Cloud and transposed into a graph (for temp F) and a gauge (for humidity).
Next, we used an accelerometer/gyroscope (A/G). We coded a trigonometric equation to give us the degrees of altitude of the A/G with respect to its position, We then attached the coded A/G to a little plastic cut-out of an airplane. When we augmented the direction and angle of the physical airplane, we were able to received a number that represented the angle in degrees that the airplane was altered with respect to the level ground; parallel to ground was represented by a zero.
Lastly, we used a neat little component that measured the light in the room, a Grove Light Sensor (GLS). We transposed this data into a graph that showed the amount of light entering the little component, and this was seen in the cloud. Covering the GLS gave us a depression point on the graph, an indication that the device was working.
I enjoyed this experience very much. Thank you to all the people and organizations that made this possible. I will be pursuing more education in IoT as a result of taking this short introduction. Special thanks to Professor Brian for his help.
Comments