Scary Microbit Light Sensor

by Huntyo in Circuits > Electronics

337 Views, 1 Favorites, 0 Comments

Scary Microbit Light Sensor

DSC00802.JPG

Want to spook your friends? Well you have come to the right place. Today I will show you how to make a light sensing, noise making, spooky trick to do with your microbit!

What You Need

-Speaker

-microbit

-alligator wires

-power supply

-and the microbit coding website!

Step 1

DSC00800.JPG
DSC00801.JPG

First, you need to plug in the wires like this.

Closer Up

DSC00798.JPG

Here is a picture close up of the headphone jack.

Now for the Code

Screenshot 2020-10-12 at 6.47.12 PM.png
Screenshot 2020-10-12 at 7.05.07 PM.png

I used the night light code and modified it. In the modified picture you may need to change the light setting.

BONUS!

DSC00802.JPG

Now you are done. But are you though? If you have a carved pumpkin you can put it inside if it and make it even more spooky! Again, you may need to mess with the code, especially if you use a pumpkin.

Done!

DSC00802.JPG

Great! You are all done! Have fun spooking your friends!

Also, this is going to be entered in the Halloween contest. Please vote! It helps!