November 24, 2007
Reading for November 27th, are now posted. Enjoy!

October 2, 2007
To upload your thoughtless acts, create a new assignment page like any other lab. You'll see "Thoughtless Acts" listed as one of the assignment options.

May 24, 2008
This site has been archived and is no longer editable. Stay tuned for the next version, coming in the fall!

Lab 2 - Digital Input and Output with Arduino boards

Start Date: 
Thursday, September 6, 2007
Due Date: 
Thursday, September 13, 2007


1) Find a good diffuser for your RGB LEDs (e.g. ping pong ball, Styrofoam, etc).
2) Change the code so that you can control the RGB values with multiple key presses. For example, pressing ‘r’ 5 times will set the brightness to 50% (or brightness = 127) and pressing ‘r’ 10 times will set it to 100% (or brightness = 255).
3) (Optional) Come up with other ways of controlling the colors of the LEDs using the keyboard. Here’s your chance to be creative. You can show off to your friends next week. Example: Read colors and set the appropriate RGB values like “orange” might set r=70%, g=50%, and b=0%.


Lab instructions will be passed out during lab and also available as a pdf attached to this page.

DimmingLEDs.txt2.66 KB
serial_led_rgb.txt2.33 KB
serial_led_rgb_enhanced.txt6.11 KB
Lab2 - Digital Input and Output with Arduino.pdf238.47 KB

Powered by Drupal - Design by Artinet