HW3: Part 4, More Arduino

For this project we were tasked with assembling an Arduino circuit capable of recording how long someone has been sitting.  We wrote a code that both recorded how long the light sensor was covered, and consecutively lit four LED lights.  The interval of time in between the lights could be set as long as desired.  For the sake of the video demonstration we chose 10 seconds.  We also programmed a tone to sound on the buzzer after the fourth light came on.  After the code was written we assembled the circuit by attaching the four LED’s, the buzzer, and the light sensor to the Arduino Lilypad.  In the future, a similar code and configuration will be used for our final project.

Link to group portfolio

Author: Harrison Sweeney

Sophomore Economics major at DePauw University

Leave a comment