Introduction: Lab 1
Lab 1 focuses on 2 main functions - Input and Output. Buttons are inputs that create outputs by LED's.
Step 1: Step 1: Add an Led
1. Place an LED (any color) into the breadboard
2. Connect one end of a 220 Ω (ohm) resistor to the top lead (+) and the other end into the breadboard.
3. Connect a Jumper Wire to the bottom lead (-) and to the same row as the LED.
4. Connect a jumper wire from the same row as the resistor to Pin 9 on your Arduino Board.
Step 2: Step 2: Add a Push Button
1. Place a push button into the breadboard.
2. Connect one end of a jumper wire to the top lead (+), and the other end to 5V on the Arduino board.
3.. Connect one end of a 220 Ω (ohm) resistor to the bottom lead (-), and the other end into the breadboard in the same row as the button.
4. Connect one end of a jumper wire to the top lead (+) and the other end to the same row as the button.
5. Connect one end of a jumper wire to the same row as the button and the other end to to Pin 8 on your Arduino Board.
Step 3: Step 3: Add Another LED
1. Place an LED (any color) into the breadboard
2. Connect one end of a 220 Ω (ohm) resistor to the top lead (+), and the other end into the breadboard.
3. Connect a Jumper Wire to the bottom lead (-) and to the same row as the LED.
4. Connect a jumper wire from the same row as the resistor to Pin 11 on your Arduino Board.
Step 4: Step 4: Add Another Push Button
1. Place a push button into the breadboard.
2.. Connect one end of a 220 Ω (ohm) resistor to the bottom lead (-), and the other end into the breadboard in the same row as the button.
3. Connect one end of a jumper wire to the top lead (+) and the other end to the same row as the button. 4. Connect one end of a jumper wire to the same row as the button and the other end to to Pin 10 on your Arduino Board.
Step 5: Step 5: Lab 1 Code
Attached is the Lab1.ino which contains all of the code for running Lab 1 on an Arduino Uno.






