Introduction: Real Useless Box
I made this Useless box for my computer project, and the information here is provided by Nerdykat, thanks.
In this project, I changed some of the codings to match the conditions of the height of my box and the length of the hand. Although the results weren't the same as Nerdykat's(the switch didn't work), I enjoyed the making process of it, and hopefully, you will too.
Step 1: Box
Any box can do, as long as you think it is able to fit everything in it. It is best if the box has a lid because you can save time and money to buy hinges for a box.
(Ignore the switch in the picture for this step)
Step 2: Toggle Switch
Cut a hole in the box that fits the size of the toggle switch and push the switch into the hole. After that, glue it up so it won't move. You can place the switch anywhere, but I recommend to locate it in the middle of the front of the box and close to the top of the box. After that, attach two wires onto the toggle switch.
Take the 2 servos and glue different Legos pieces onto each of them for different uses. On will be used for opening the box lid, the other will be used for flicking the switch. (you don't have to use legos as I did, you can use any material as long as it serves the same purpose)
Glue the servos onto a piece of cardboard on different sides. Position the whole thing into the box and glue them to the box.
The file and the link are the codes for the Useless Box to work. They both include the codes I changed. Upload the codes into your Arduino. Feel free to change the codes.
If the website does not show the codes, try refreshing the page again.
Solder the positive USB power line to the positive side of the breadboard, and the negative line to the negative.
Solder one of the toggle switch wires to the Arduino VCC. Join the end of the second wire with a 10K resistor and another wire going to the Arduino pin 2. Attach another wire to the end of the resistor and Arduino GND. Solder the positive wire of the servos to the VCC pin and negative to the GND pin. The arm servo signal wire is connected to the pin 10 and door servo to pin 9 on the Arduino.
Put everything into its place by gluing them onto the box, making sure it won't move out of position, and be free to decorate the box or the hand of the box the switch as you wish.