READING ASSIGNMENT #7
DUE: Thursday February 26th

Read:
Getting Started with Arduino, 1st Edition
Chapters ” Advanced Input and Output”

Do this At Home:

Step 1:
If for some reason you did not do the previous exercises from the book for last week (laziness, didn’t have your kit, coudn’t find the book…) then do all the arduino excercises (involving Buttons and LEDs)  in the “Really Getting Started With Arduino” chapter In Getting Started with Arduino, 1st Edition


Step 2:

Read the entire Chapter ” Advanced Input and Output” and do the following exercises (below) at home -  bring your arduino to class with the final analog in/analog out circuit assembled.

In the Online ProQuest Book they are called:

  • Example 5-1. Fade an LED in and out like on a sleeping Apple computer
  • Example 5-2. Turn on
    LED when the button is pressed and keep it on after it is released
    including simple de-bouncing. If the button is held, brightness changes.
  • Example 5-3. Blink LED at a rate specified by the value of the analogue input
  • Example 5-4. Set the brightness of LED to a brightness specified by the value of the analogue input
  • Example 5-5. Send to the computer the values read from analogue input 0 Make sure you click on “Serial Monitor” after you upload

In the Printed /PDF  version of the book they are called:

  • Example 04
  • Example 05,
  • Example 06A
  • Example 06b
  • Example 07

Step 3:
Post the answers to these review questions:

1. What does Normally Closed Button and Normally Open Button mean ?
2. What does PWM mean? WHat is it used for in electronics?
3. What does Vcc mean on the arduino?
4. What is an LDR?
5. What is the maximum current in milliamps that an Arduino pin can source? What happens if you connect a component that draws more current than the limit?
6. What is the serial monitor used for?
7. What is a MOSFET TRANSISTOR used for?

Step 4:
I strongly recommend buying the printed version of the book! It has anice reference in the back and is much easier to follow then the free web version - its $12 here Banzi, Massimo, “Getting Started With Arduino”, Orielly Press, 2008 (ISBN 10: 0-596-15551-4 | ISBN 13: 9780596155513)

Step 5: Bring to class
Bring another $5.00 to class - we have some new goodies for you from All Electronics (Motor/Solenoid, Ball Bearing, Tip120 Transistor)
Bring your kits + laptops to class

——

ASSIGNMENT #7
Simple Playfield Game 1
Due In class Tuesday March 3rd

Design a simple fun game using these elements:

  1. A metal ball bearing
  2. A wood/ Foamcore / Plexi Playfield
  3. A Photoresistor (at least one)
  4. Gravity
  5. LEDs
  6. Arduino..
  7. Optional: Buttons, Buzzers

Post to the class website:

  1. Circuit Diagram
  2. Game Rules+Description
  3. Your Code

Bring to Class:

  1. Your game Ready To play (made robustly! so it don’t fall apart while playing)