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

HW3: Part 3, Arduino

Unlike the first project we completed using Ardublock’s Psuedocode, this assignment required a button and a light sensor.  These were used to control the flashing of different LED’s that were linked to each respectively.  There were a few minor hiccups that we encountered along the way, especially when we were coding for the light sensor.  We had difficulty coding the sensor to turn the light on only when it sensed the room was dark.  After that problem was ironed out however, the wiring was simple to grasp.  Eventually we were able to faithfully recreate the machine that the assignment specified.

Group portfolio link

HW 3: Arduino Part 2

This project was my first time using Ardublock’s Psuedocode to interact with a fully disassembled Lilypad Arduino circuit.  Using Ardublock, my partner and I created a program that consecutively lit four of the LED’s and then sounded a tune out of the buzzer.  The program also sent messages to the terminal predicting the next LED in the sequence; as well as the tune at the end.  The buzzer and LED’s were connected to the Lilypad using wires with Alligator clips.  Although we encountered a number of setbacks while testing the code and assembling the circuit, we were eventually able to fully recreate the specifications of the assignment.

Link to group portfolio