MoonCampaign by Siddharth (11 years)
Our Social Impact - We're transforming education globally with free robotics and math workshops in the US, UK,
Canada, and Australia.
Our workshops have helped 66,000 students alone in the US plus 14,000 students benefit from our four-week sessions.
traffic light system
Siddharth
Show and Tell
Show n Tell
Coming Soon
Siddharth’s Traffic Light System project smartly employs an Arduino Uno with red, yellow, and green LEDs to simulate a real-world traffic light sequence for young learners. The green LED shines for 10 seconds, followed by yellow for 5 seconds, then red for 10 seconds, repeating in a loop powered by simple code, offering a practical and engaging way to learn about coding and electronics.
Thinking about how traffic lights keep cars moving smoothly inspired me to create my Traffic Light System project with an Arduino Uno. I wanted to build a mini version that shows how lights change in order, just like the ones I see every day. It’s been fun learning how to use code and wires to make something so useful!
I used my Arduino Uno to connect three LEDs—green, yellow, and red—and wrote some code to make them light up one at a time. The green LED stays on for 10 seconds to let cars go, then the yellow LED turns on for 5 seconds to warn them to slow down, and the red LED lights up for 10 seconds to stop everything. After that, it starts over automatically because I put it in a loop in my code. I used digitalWrite and delay commands to control the timing, and the Arduino powers it all through a few wires.
I’m excited to make this project even better later! Maybe I can add a little buzzer that beeps when the lights change, or use a button to pause the cycle. I could also try making the yellow light shorter or longer to see how it feels. I’m happy I’m learning how coding and lights work together with my Arduino Uno, and I can’t wait to show my friends how my traffic lights keep tiny cars in line!
©️ Copyright, Moonpreneur Inc.
3031 Tisch Way, 110 Plaza West PMB # 138, San Jose, CA 95128, USA
Likes
Rating
42 days left
traffic light system