Beruflich Dokumente
Kultur Dokumente
RESISTORS
(3)
WIRES
(5)
LEDs
(3)
2. STEPS
STEP
1
Use a Sharpie to
label your
breadboard:
+ = positive
- = negative
(Label should be
on the outside
rows)
VIEW 1
Take RESISTOR 1.
Put one resistor leg in NEGATIVE ROW.
Put other resistor leg in POSITIVE box.
STEP
(Order doesn’t matter: resistor legs aren’t positive or negative
like LEDs) 2
NEGATIVE ROW
VIEW 1 VIEW 2
STEP
3
LONG LEG
Take out all of your
LEDs.
SHORT LEG
different kinds of
legs: positive and
negative.
The order IS
IMPORTANT.
Use Sharpie to
color all short legs
for all LEDs black.
Black will =
VIEW 1 negative.
Take one LED. (The color doesn’t matter).
1
2
3
4
VIEW 1 VIEW 2
Put Resistor #2 into negative row. (To be organized,
used a new set of pinholes like in the picture).
STEP
Then put second leg into positive box, just like in
step 2.
5
NEGATIVE ROW
VIEW 1 VIEW 2
STEP
6
VIEW 1
STEP
7
VIEW 1
STEP
8
VIEW 1
STEP
10
VIEW 1
Put one end of WIRE #3 in
pinhole in row next to LED #3.
VIEW 1 VIEW 2
3. PRETEST
TEST
STEP
1
VIEW 1
VIEW 1 TO TEST:
IF:
3 LEDs TURN ON,
THEN:
SUCCESS! FINISH STEP 12.
IF:
3 LEDs DON’T TURN ON,
THEN:
TROUBLESHOOT
STEP
12
5V->POSITIVE ROW
PIN 11->
POSITIVE LEG (LONG LEG) OF LED 3 FINAL SETUP GND->NEGATIVE
ROW
4. PROVE YOUR
UNDERSTANDING
2 Now take everything apart.
This challenge will help make sure you have understood the basics of
WIRING for your robot! So…do you really understand? PROVE IT!
5. INTRO TO
CODING
CODING IS A LANGUAGE.
1. SECTION 1:
2. SECTION 2:
3. SECTION 3:
LET’S LOOK AT THE
ORGANIZATION:
SECTION 2:
What does it say?
1. There are 3 things connected to the Arduino:
1 in pinhole 13, 2 in pinhole 12, 3 in pinhole
11.
2. Each connected item should let electricity go
out from that pinhole.
• OUTPUT = “let electricity go out”
LET’S LOOK AT THE
ORGANIZATION:
SECTION 2:
HOW do you say it?
1. First, notice that we have a SECTION TITLE:
“void setup ()”.
2. Second, notice how we create a space to add
information for that section title:
• { = Beginning of space
• } = End of space
3. Third, notice that we have that same pattern
in SECTION 3: “void loop()”
• { = Beginning of space
• } = End of space
LET’S LOOK AT THE
ORGANIZATION:
SECTION 2:
HOW do you say it?
3. Third, notice that we have that same pattern
in SECTION 3: “void loop()”
• { = Beginning of space
• } = End of space