This project may be thought as a Pommodoro-technique variant of the project n. 8 of the starter kit. Both the circuit and the code are quite straightforward, and since I am still experimenting with the basics I wanted to propose a slightly more challenging variant of the original project.
The LEDs require a 220 Ohm resistor, while the tilt sensor is going in series with a 10k Ohm in order to force the current towards the 8th pin.
This has a similar result to the original starter project, with the difference that this is going to count both minutes and seconds (ten by ten). The end of the 5 minutes is going to be signaled by a Christmas-light kind of LED choreography, which is going to end triggering the tilt sensor and start from the beginning (for the purpose of making a video that would last less than 5 minutes I made the code wait 100x less)
Comments
Please log in or sign up to comment.