Moonpreneur Icon
Student engaged in interactive online math learning session with headphones

Red Light Green Light Simulator

MoonCampaign by Alex (9 years)

My name is Alex, and my project is called the Red Light Green Light Simulator. It uses a micro:bit with an RGB LED and a PIR motion sensor to recreate the traffic light game from Squid Game. The motion sensor detects movement, and the LED changes color—green for “go” and red for “stop.” If motion is detected during the red light, the program displays “You are out.” The project uses conditionals, loops, and digital pin controls to make it interactive. This project taught me about light control, sensors, and safety systems inspired by real-world traffic technology.

👍

Views:

Your rating and comment will go a long way in encouraging Alex and taking their innovation Red Light Green Light Simulator to new heights.

terms and conditions

Alex is already a part of this story

MoonCampaigns highlight student's creativity, public speaking, presentation skills, and teamwork, with an impressive track record that speaks volumes. MoonCampaigns, through quarterly Show & Tell, highlight thousands of inspiring learning stories from Moonpreneur students worldwide.

5000+

Innovative MoonCampaigns

20,000+

Minutes of Visual Content

1M+

Unique Video Views

40,000+

Unique Feedbacks and appreciation to kids from community

80%

parents observed transformational changes in their ward's STEM knowledge and leadership skills

95%

Parents Reported Increased Confidence in their child

All about Alex project

Alex had always been fascinated by how sensors could bring games to life. One day, after watching the famous Red Light Green Light game from Squid Game, he thought, “What if I make my own version—but safer?” That’s how his Red Light Green Light Simulator began.

He started by connecting the RGB LED to his micro:bit, programming the colors red and green. Then, he added a PIR motion sensor. “This sensor will act like the doll’s eyes,” he explained, “detecting when players move.” In his code, he set pin numbers carefully—green on pin 1, red on pin 2, and the sensor on pin 8. His logic was simple: when the sensor detects motion during a red light, the system shows the message “Stop! You are out!”

Launch your child's
success today

What people
have to say

See what people around the world are saying about Alex Red Light Green Light Simulator project

Preparing Kids for the AI-Driven Future

Everything parents need to know about building future-ready skills in an AI-powered world.

Why is preparing children for an AI-driven future more important than ever?
What are the key skills AI can never replace?
How does MoonCampaign help children build these future-ready skills?
How does project-based learning prepare kids better than traditional learning?

You Might Also Like

Every child is gifted. Discover how yours can innovate and lead