The Trash Save
The trash save is an improvised art project from the Austrian Guy Max.
Supplies
Circuit Python
Servo
Lightstrip
Box
Wires
Tape
Knive
Toothpicks
Chopsticks
Prepare Box and Servo
First, I glued some toothpicks at the servo, so that it has a longer angle. Then we glue a lid to the bottom of the box. Third, cut a door into the box and tape the servo to that door, so that it can open and close itself with the rotation. Then tape the light-strip around the box. Fifth, tape the battery pack into the box, and cut a little hole so that you can switch it off and on from the outside.
Then separate the box into two parts. (One part with servo and door, the other part with the wires and bluefruit.
Connect the Wires
Connect Lightstrip: (Signal = A1, Power=VOUT)
Connect Servo: (Signal = A2, Power= VOUT)
Connect wires to the Tap: (A3 for number 0, A4 for 1, A5 for 2, A6 for 3, TX for 4)
Close the Box, Make It Nicer, Create Extension for Button a & B
1.) Put a lid on the box
2.) make holes into the lid for the five wires and label them
3.) use some extensions (e.g. chopsticks) for buttons A & B
Circuit Python Code
The code is in the attached file (Make save art.py)