This is a simple project for my Physical Computing course at UCF working as an introduction to simple inputs and programming with the Circuit Playground Express. It's a simple device which illuminates two LEDs on the board under the paper, making it look as though the eyes on the box's are face glowing. I didn't design it with any practical application in mind and just wanted something which was simple to make and interesting to look at.
The design is fairly basic, a small lithium battery is plugged into the board, said board is taped on top of the battery with masking tape to keep it in place.
A second bit of masking tape holds the wiring from the battery to the board into place so it fits into the paper sleeve easily.
The switch is connected via three wires, a black ground wire (connected to the GND pin), a green input wire (connected to the A1 pin), and a red voltage wire (connected to the VOUT pin).
The code works by setting the A1 pin to down on start and checks for if the pin changes, if there is no change the LEDs remain off, if there is a change then two of the LEDs will turn on giving the face on the front glowing eyes.




Comments