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

Smart security alarm

MoonCampaign by Matei (9 years)

I am presenting my Smart Security Alarm Project. I used a Micro:bit connected to a PIR motion sensor and an RGB LED. The Micro:bit detects motion through the sensor. When motion is sensed, the RGB LED lights up at maximum brightness in white, and a sound plays using the music module. The program uses a custom RGB function to control the LED, while a loop continuously checks the sensor.

👍

Views:

Your rating and comment will go a long way in encouraging Matei and taking their innovation Smart security alarm to new heights.

terms and conditions

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

I am excited to share my Smart Security Alarm Project. This project uses a Micro:bit connected to a PIR motion sensor and an RGB LED to detect movement and alert users.

I started by importing the music module to play a sound when motion is detected. I connected the RGB LED to pins 0, 1, and 2 on the Micro:bit for blue, green, and red, and I wrote a custom RGB function to control the brightness of each color using analog values. This allows the LED to show maximum brightness or turn off completely depending on sensor input.

Launch your child's
success today

What people
have to say

See what people around the world are saying about Matei 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