Learning Traffic Light in LED
This project is about letting children know about different lights and know them quickly. Children that are small can also have this chance to know and memorize different colors. By using three light colors which are green, yellow, and red, children can get used to the lights of traffic lights. Also, by letting the LED light bulb shine randomly, students can refer to the question and answer which color is it. This can let children be familiar with colors and some basic colors that will be used in life.
Supplies
- Jumper Wire (3)
- Arduino Leonardo (1)
- LED Light Bulbs (Green, Yellow, Red) - Resistance (3)
- Bread Board (1)
- USB Cable for Arduino (1)
Prepare Materials
Prepare all the Materials here:
Jumper Wire (3)
- Arduino Leonardo (1)
- LED Light Bulbs (Green, Yellow, Red)
- Resistance (3)
- Bread Board (1)
- USB Cable for Arduino (1)
Type in the Code
void setup() {
pinMode(12, OUTPUT);
pinMode(11, OUTPUT);
pinMode(10, OUTPUT);
} void loop() {
delay(1500);
digitalWrite(12, HIGH);
digitalWrite(11, LOW);
digitalWrite(10, LOW);
delay(1500);
digitalWrite(12, LOW);
digitalWrite(11, LOW);
digitalWrite(10, HIGH);
delay(1500);
digitalWrite(12, HIGH);
digitalWrite(11, LOW);
digitalWrite(10, LOW);
delay(1500);
digitalWrite(12, LOW);
digitalWrite(11, HIGH);
digitalWrite(10, LOW);
delay(1500);
digitalWrite(12, LOW);
digitalWrite(11, HIGH);
digitalWrite(10, LOW);
delay(1500);
digitalWrite(12, LOW);
digitalWrite(11, LOW);
digitalWrite(10, HIGH);
delay(1500);
digitalWrite(12, LOW);
digitalWrite(11, HIGH);
digitalWrite(10, LOW);
}
Code: https://create.arduino.cc/editor/noyachen/f1e4d5e1-8a7c-4b03-80c3-fe310f297f57/preview
Complete the Circus
1. Connect a Jumper Wire to GND and negative
2. Connect d12 to the positive of a green LED light bulb by a jumper wire
3. Connect d11 to the positive of a yellow LED light bulb by a jumper wire
4. Connect d10 to the positive of a red LED light bulb by a jumper wire
5. Use resistance to connect the negative of the light bulb to the negative of the breadboard
6. Connect the computer and the board with a USB cable
Make the Covering Box
1. Prepare any paperboard or cardboard
2. Cut them into a size that can totally cover up the whole breadboard
3. Cut out three holes in the front
4. The three holes should be in referring to the three LED light bulbs
5. Cover up the three holes with glassine
Final Product
This is the final product video.