For my project I decided to do something seasonal, so I settled on an idea I call the Microcontroller Jack-O-Lantern. It is a cardboard cutout jack-o-lantern standee that is adhered to a box and has a microcontroller behind it to use LEDs to emulate a candle. It's utility is mostly decorative but can also function as a rudimentary light. It has one toggle to tell it to execute the code and a potentiometer to change the brightness of the lights.
To make it I started by sketching the jack-o-lantern on a large piece of scrap cardboard, carving it out with a utility blade, carving out wedges and making notches for the wedges, painting it, and then adhering it all together with super glue. I glued the flat piece of cardboard the jack-o-lantern was glued to a shoe box as a housing for the wires, then cut out two holes for the switch and knob to be secured. For the code it initializes with given values for the potentiometer and the toggle, then a forever loop is triggered then the toggle is flipped, the code then randomizes which pixels light up, randomizes their hue (from red to yellow), randomizes the value, and then brightness is controlled by the potentiometer. After that the board is placed and the excess wirelength is secured under the cardboard shelf and a small foiled lined box is placed over the microcontroller to help focus the light.
Comments
Please log in or sign up to comment.