For my project, I used a Circuit Playground Express and a Lithium Ion Battery to create a watch that is made out of cardboard. The circuit playground express is coded, using Adafruit Makecode, to play a siren when the user shakes the watch, the lights change to red and a siren sounds. This is a protest object that is in response to the Time's Up movement about harassment. The watch is used as a disguise and when the user is in an uncomfortable situation, they can shake their watch and the siren will play.
The first line of code that is written for this project is a gesture code with an accelerator set to 1g. This is the lowest the accelerator can be set so, therefore, the circuit board is very sensitive. When the board is shaken, all the neopixels will turn red with a brightness of 230 and a siren will be played at a volume of 170. The lights stay on but the siren plays only one time through until the watch is shaken again.
Comments
Please log in or sign up to comment.