In order to apply the learnings from the Prototyping & Scripting course by Clifford Choy, we were to realize a mini-project utilizing an Arduino ESP8266 wifi-module, sensors and actuators, a PureData TCP server and an Android App built using MIT AppInventor2.
My group came up with the concept of a see-saw moved by a servo and controlled by an ultrasonic sensor.
The HC-SR04 sensor measures the time between sending and receiving the ultrasonic waves, which we can convert to the distance as we know the speed of sound. This distance is then mapped to the degree of rotation of the servo and the NeoPixel led-stripe on the see-saw.
Using MIT AppInventor2 we then use the value to give some visual feedback (a digital depiction of the physical see-saw) and start a countdown when the see-saw is in balance, resulting in additional visual and acoustic feedback.
Tania Jocelynn Trisnadi
Prof. Dr. Clifford Choy
Special Thanks to:
Victor Cheung (/Zhang)