A simple nightlight that uses an empty water bottle to distribute light on top of a small box to house the hardware.
How it was made:I started by setting up the connections between my Circuit Playground Express and my toggle switch and potentiometer. I used blue alligator clips to connect the potentiometer to pin A1, and the toggle switch to pin A7.
Then I took an empty water bottle, cut off it's top, and dried it out. I traced a circle on top of a small box using the water bottle and cut it out. With the right size hole, I was able to squeeze part of the water bottle through and have it catch on one of it's ridges to hold it in place. Then I cut out a small hole on top of the box for the toggle switch and another small hole on the side for the potentiometer.
With that, all I needed to do was insert the hardware into the box. I centered the Circuit Playground Express in the middle of the box, just underneath the water bottle, pushed the toggle switch and potentiometer through their respective holes, and closed the the box.
It works by utilizing a toggle switch and a potentiometer wired into a Circuit Playground Express that is placed just underneath the empty water bottle. The toggle switch turns the lights of the Circuit Playground Express on or off and the potentiometer allows you to cycle through the different color variations.
Red <-> Orange <-> Yellow <-> Green <-> Blue <-> Purple <-> Rainbow
Demonstration:
Comments
Please log in or sign up to comment.