Due on Sunday, December 14, 2008 @ midnight
First, work through all Digital I/O tutorials on arduino.cc. Either show us your results during the lab or take a picture of what you built and send it to us with your final submission.
Your task will be to build a very simple game. Use 4 LEDs and 4 buttons. The LEDs should light up at random. Then the player has a certain time to push the corresponding button.
The basic setup should look something like this:
Some information about the basic components you will need to use:
Put a 220 Ohm resistor on the plus side of the LED.
More tutorials on EE can be found on www.allaboutcircuits.com.
Some ideas for extra credit in this assignment:
- somehow involve multiple player. You can also come up with a different game, but make sure to use similar components. Ask if you're not sure whether it is similar enough.
- measure and display the score in some way
- use the speaker to make game sounds
Email an archive of your assignment to
Your assignment archive should include a picture of your breadboard and the Arduino and the program code you wrote. Include a short plain text
READMEfile that contains:
- the names and email addresses of all group members
- a short description of what your program does
- non-obvious things you did (if any)
- if you did any extra credit work, be sure to tell us what you did
Be prepared to discuss your solution in the next lab.
The assignment will be graded on the following rough scale:
- 1.0 - exceptional work that clearly went above and beyond what was given on the exercise
- 2.0 - exercise was completed satisfactorily as per the assignment specification
- 3.0 - exercise was completed, but has some problems
- 4.0 - incomplete exercise
- 5.0 - little or no effort was put into the exercise
Late assignments will be graded with a penalty of 0.5 per 24 hour period after the due date.