IDEATION
We tend to set in bad posture for long periods of time without realizing, so the goal was to create a device that alerts by the users when leaning forward as a reminder to fix their posture by emitting a sound and light.
It can also be used to reduce road accidents caused by sleeping drivers.
Tools and Components Needed:
Autodesk Tinkercad for simulation of the circuit.
Buzzer
LED
Arduino Uno
Breadboard
Jumper wires
Switch
Mercury tilt sensor
Crocodile wires
Started by connecting the components on tinkercad for simulation.
Tilt sensor & switch: pin 7 INPUTS
LED: pin 8 OUTPUT
Buzzer: pin 5 OUTPUT
Code to test the circuit.
Sensor (INPUT):
S pin to 7 pin
middle pin to 5V
-Ve pin to GND
Switch (INPUT) to pin 7 and GND
LED: pin 8 OUTPUT
Buzzer: pin 5 OUTPUT
Cardboard enclosure
By replacing Arduino UNO with mini the enclosure can be more convenient for user prototype testing as it's not yet suitable to be used due to the size.