READING NOTES #6
DUE: Thursday February 12th

Read:
Getting Started with Arduino, 1st Edition
Chapters ” The Arduino Way” , “Really Getting Started With Arduino”

(This is free using a UCLA IP at O’Reilly Safari - or you can buy it…)

Questions:
1) Explain what is a pull up resistor
2) Explain how a bread board works
3) How many Digital I/O Pins and How many Analog I/O Pins does the Arduino have
4) What language age is Arduino (Wiring) based on
5.) Why should you write comments in your code?
6.) What is open source hardware?

ASSIGNMENT #6 (REVISED)
Cool Board Game Electronic Gadgets

PART 1 DUE : In class Tuesday February 17th

As we are a day and a half behind where we wanted to be we will split this assignment in to parts - this will give you more time to ramp up to the electronics section of our class - So here is what I would like you to have ready for class on Tuesday:

Do this At Home:

Step 1:
Have your arduino software installed and running on your laptop or on your home computer

You should read “The Arduino Platform” chapter In Getting Started with Arduino, 1st Edition to stepyou through the install (getting your serial/usb ports working etc)

Step 2:
Re-Read the “Really Getting Started With Arduino” chapter In Getting Started with Arduino, 1st Edition

Tinker with your kit and follow the instructions in the book to Complete the following Examples:

In the Online ProQuest Book they are called:

  • Example 4-1. Blinking LED
  • Example 4-2. Turn on LED while the button is pressed
  • Example 4-3. Turn on LED when the button is pressed and keep it on after it is released
  • Example 4-4. Turn on LED when the button is pressed and keep it on after it is released Now with a new and improved formula!
  • Example 4-5. Turn on LED when the button is pressed and keep it on after it is released including simple de-bouncing Now with another new and improved formula!!

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

  • Example 01
  • Example 02,
  • Example 03A
  • Example 03b
  • Example 03c

Step 3:
Follow the links at the bottom of this page to review more details about Resitors, LEDs, Buttons, Switches, and Some basic Arduino Synax

Step 4:
Decide which of the gadgets listed blow you want to build and select which of your boardgames you want to add them to - On tuesday we will go through sample code and circuits for all of the gadgets listed.

Step 5:
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 6: Bring to class
Bring $5.00 to class - we have some new goodies for you from All Electronics
Bring your kits + laptops to class

——

PART 2: DUE In class Tuesday February 24th

Build one of the following circuits/ devices to add to and enhance one of your previous assignments (games):

  1. A simple electronic timer for your game - a start button, a reset button, a timer running indicator, a timer done indication (light or sound)
    (If you want sound you will need a piezoelectric element or a buzzer)
  2. A simple who’s turn is it indicator for your game - button for next turn, indicator for each player , automatic incremental when turn is done, clockwise direction switch
    (You will need :1 switch,  1 button , and for each player  1 LED )
  3. A simple binary math score keeper for your 2 player game - 4 LEDs for each player - counts from (1-15)
    (You will need 1 button and 4 LEDs per player to count to 15, )
  4. A “gameshow buzzer button thingy” - to determine who pushed the button first (good for the dice boxing game for instance)
    (You will need 1 button, one LED/buzzer , and for each player an additional button)

Deliverables:
Posted to the class site

  1. Statement of intent of what the purpose of your device is
  2. English description of your program structure
  3. Drawing / Diagram of your circuit
  4. Exact parts list w/price
  5. Your program code

Due In class:

  1. The Original game you made that you are adding your gadget to
  2. Built and functioning device that doesn’t fall apart and is mounted properly and integrated into your game
  3. Fix your old game : any rules/ game bits improvement to your game addressing the weakest part according to the feedback forms

LINKS WITH MORE INFO FOR THIS WEEK:

  1. Resistor lookup table 1
  2. Resistor lookup table 2
  3. Info on LEDs
  4. More info on Pull up / Pull down resistors
  5. Arduino : If then statement
  6. Arduino : Variables (scope , declaration , usage)
  7. Info on switches and buttons
  8. Lots of info on buttons and switches
  9. Even more info on switches/buttons (helps with buying)