You are on page 1of 1

ROBOTICS (Arduino Programming)

Name: ______________________________________ Team: _______ Score: ___________


Section: _______________ Date Started: ____________ Date Accomplished: _______________

Arduino Traffic Light Activity


Activity 1 (4th Quarter)

Materials:
10 Kilo Ohms Resistor 3 pcs Light-emitting diode (RYG) Breadboard
Jumper wire 3 pcs 300 ohms Resistor Arduino board

Instructions:
1. Create a sketch that if pin 2 (switch) is high, then pin 4 is high, delay 10 seconds, pin 4 is low, delay 0.1 second,
pin 13 is high, delay 10 seconds, pin 13 is low, delay 0.1 second, pin 7 is high, delay 2 seconds, pin 7 is low, delay
0.1 second, pin 7 is high, delay 0.5 second, pin 7 is low, delay 0.1 second, , pin 7 is high, delay 0.5 second, pin 7 is
low, delay 0.1 second, , pin 7 is high, delay 0.5 second, pin 7 is low, delay 0.1 second, , pin 7 is high, delay 0.5
second, pin 7 is low, delay 0.1 second.

2. Connect the circuit using the Breadboard based on the connection diagram.

3. If we release the pushbutton switch (turn off) why is it that the LED’s will not turn off directly?

__________________________________________________________________________________________________
__________________________________________________________________________________________________
__________________________________________________________________________________________________

Criteria 6 4 2 0 Score
Materials Able to provide all the Able to provide the Able to provide the Not able to provide all the
materials needed materials with 2-3 materials with 4-5 materials needed
are lacking are lacking
Instructions Able to follow all the Able to follow Able to follow Not able to follow all the
instructions instructions with 2-3 instructions with 4-5 instructions
are lacking are lacking
Able to write Able to write Able to write Not Able to write
Observations observations based on observations based observations based observations based on
and the activity and answer on the activity and on the activity and the activity and not
Questions questions clearly. answer questions not answer questions in answer all questions
so clearly indirectly.
Performance Able to connect the Able to connect the Able to connect the Not Able to connect the
circuit and upload the circuit and upload circuit and upload circuit and upload the
sketch and test the the sketch and test the sketch and test sketch and test the circuit
circuit correctly the circuit with minor the circuit but not
modification in functional
sketch and circuit.
Submission Able to submit on or Able to submit a day Able to submit 2 or Not able to submit the
before the deadline. after the deadline more days after the activity
__________________ deadline

You might also like