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

Smart Security Alarm

MoonCampaign by Riyaan (9 years)

Hi, Im Riyaan, and I built a smart security alarm using a micro:bit, RGB LED, PIR motion sensor, and basic electronics. This affordable alarm detects human movement by sensing heatif it detects motion, the RGB LED turns red and an alarm sound plays; if not, the LED stays green, signaling safety. The system uses simple code to control the lights and sounds based on sensor input. Powered by a 9V battery, its portable and easy to install on doors. My project shows how you can make home security smarter and more accessible with basic coding and electronics skills.

👍

Views:

Your rating and comment will go a long way in encouraging Riyaan and taking their innovation Smart Security Alarm to new heights.

terms and conditions

Riyaan 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 Riyaan project

My name is Riyaan, and I love making life easier with machines. After learning coding and electronics from Moon Preneer, I decided to create a smart security alarm that anyone could build at home for a fraction of the usual cost. The idea came to me when I realized how expensive commercial alarms can be. I wanted to make something simple, effective, and affordable. My alarm uses a micro:bit, an RGB LED, a PIR motion sensor, jumper wires, and a 9V battery for portability. The PIR sensor detects movement by sensing the heat given off by people or animals. If it detects motion, it tells the micro:bit, which then turns the RGB LED red and plays an alarm sound. If theres no motion, the LED stays green, showing everything is safe. Setting up the components was like solving a puzzle. I assigned each pin on the micro:bit to a different color on the LED and to the motion sensor. The code uses variables to define which pin does what, and a loop to constantly check for movement. If the sensor detects someone, the alarm goes off; if not, it stays quiet and green. I even learned how to connect the system to a door using screws, making it practical for real home use. The alarm works without an outlet, thanks to the 9V battery, and is easy to move around. Building this project taught me about sensors, coding, and how simple electronics can make a big difference in everyday safety. Now, my family feels safer, and I know I can use my skills to solve real problems. My smart security alarm proves that with a bit of creativity and coding, anyone can make their home smarter and more secure.

Launch your child's
success today

What people
have to say

See what people around the world are saying about Riyaan Smart Security Alarm 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