Assignment 7 - Arduino
Due on Sunday, December 14, 2008 @ midnight
Due on Sunday, December 14, 2008 @ midnight
Description
This week, you are going to take a look at hardware prototyping with Arduinos. An Arduino is a microcontroller board with integrated bootloader. At our chair we use it for various projects. Take a look at Twend if you want to know more.
Task
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
Submission
Email an archive of your assignment to
This email address is being protected from spambots. You need JavaScript enabled to view it.
before the due date. The subject of your email should be "M3 Submission 7"; be sure to use this exact subject line as it will be used to filter assignment submissions for grading.
Your assignment archive should include a picture of your breadboard and the Arduino and the program code you wrote. Include a short plain text
README
file 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.
Grading
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.