Difference between revisions of "Week 2 Lab"

From Robert-Depot
Jump to: navigation, search
(Simple Digital Out)
(Simple Digital Out)
Line 10: Line 10:
 
=== Simple Digital Out ===
 
=== Simple Digital Out ===
 
# Set up LED on external board, check that it works
 
# Set up LED on external board, check that it works
[[Image:LED_on_board.png]]
+
[[Image:Led_on_board.png]]
 
[[Image:D_out_2.png]]
 
[[Image:D_out_2.png]]
 
# change Blink program (from Sketchbook->Examples->Digital) to run off of one of the external digital pins
 
# change Blink program (from Sketchbook->Examples->Digital) to run off of one of the external digital pins

Revision as of 07:06, 7 April 2009

Set up Breadboard

  1. Power from arduino to breadboard:
    1. connect positive and negative power buses on proto board
    2. run power, "5V" and "GND" from arduino to breadboard.

Power hookup.png

    1. verify that this worked (with multimeter, or LED test).

Verify power.jpg

Simple Digital Out

  1. Set up LED on external board, check that it works

Led on board.png D out 2.png

  1. change Blink program (from Sketchbook->Examples->Digital) to run off of one of the external digital pins
    1. Pins 0-13 on the "Digital" side of your board. By the power light.
  2. connect the LED to that pin.
  3. Does it work?

Simple Digital In