Moonpreneur Icon

Shape Changer With Light

MoonCampaign by Punarvith (7 years)

Likes

Rating

47 days left

Your support will go a long way in encouraging Punarvith and taking their innovation Shape Changer With Light to new heights.
Shape Changer With Light
terms and conditions
:

Shape Changer With Light

:

Punarvith

:

Show and Tell

:

Show n Tell

:

Coming Soon

About the Innovator

My project is called Shape Changer with Light. Using a Micro:bit, my project changes the shape displayed on the screen depending on the surrounding light level. If the light is below 100, it shows a square. If it’s 101 or higher, it shows a triangle, and if it’s over 200, it shows a right-angle triangle. I used a forever loop, variables, and if-then-else logic blocks to check light levels and update the display continuously. It’s a simple, interactive way to connect coding, electronics, and sensors!

Want your child to be part of an innovative and creative competition?

STORY

Total Views:

I’m presenting my Shape Changer with Light project. It’s a Micro:bit program that changes the shape displayed on the screen depending on the light level in the room. I thought it would be fun to combine coding, sensors, and visuals to make something interactive.

Here’s how it works: if the surrounding light level is below 100, the Micro:bit shows a square. When the light level is 101 or higher, it changes to a triangle, and if the light level goes over 200, it displays a right-angle triangle. This makes it a dynamic project that reacts to real-world changes, like turning on lights or moving the Micro:bit to a brighter spot.

To make this, I used a forever loop to keep the program running continuously. I used variables to store the current light level from the Micro:bit’s light sensor. Then, I applied if-then-else blocks to set conditions for which shape to display depending on the light value. This way, the program automatically detects the light and updates the screen with the correct shape in real time.

During the demonstration, I placed the Micro:bit in different lighting conditions. When the room was dim, it showed a square. When the light was brighter, it switched to a triangle, and in very bright light, it showed a right-angle triangle.

This project is a fun and easy way to learn about sensors, logic, and coding, while making something visually interesting. It shows how coding can respond to the environment, turning a simple Micro:bit into a dynamic, interactive display.

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

Comments

You Might Also Like

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