TopTip
Inspired by a video on LinkedIn: https://www.linkedin.com/posts/interestingengineering_diy-money-saver-using-arduino-ugcPost-6778642933374586880-2k7G/
Bill of Material:
- 1 x Arduino Nano: https://de.aliexpress.com/item/32267271986.html
- 1 x Extension Board: https://de.aliexpress.com/item/32933662259.html
- 1 x Servo: https://de.aliexpress.com/item/1005002485404471.html
- 1 x Mini USB-Kabel 0.3m: https://de.aliexpress.com/item/32918461237.html
Variant with Battery
- 1 x Batteryholder 4 AA: https://de.aliexpress.com/item/32818907820.html
- 1 x Switch MTS-101: https://de.aliexpress.com/item/33012530737.html
- 4 x AA Battery...
Variant with Accumulator
- 1 x USB Powerbank…
General Stuff:
- Two core wire…
- 10 kΩ Resistor: https://de.aliexpress.com/item/33013181098.html
- Copper Tape: https://de.aliexpress.com/item/33047300537.html
Assembly
- Cut box with a Lasercutter (use SVG)
- Fold and glue the parts
- Attach the servo to the lid with a glue gun (make sure it is well placed) and
- Solder the wires to the Nano
- Attach the copper tape to the lever
- "Connect" each copper area with one wire (so it acts as a switch) and solder it to the Nano.
- Solder wires to the switch
- Connect the battery via switch to the Nano (to save power)
Arduino Script and Wiring
Script, wiring and simulation for Uno and Nano: https://www.tinkercad.com/things/kTMsd98OjVl
Make sure you select the correct Board:
https://www.instructables.com/Arduino-Nano-USB-Not-Recognizing-Fix/
More
- Images: https://photos.app.goo.gl/CcD6KL7wpT6TgmU89
- Basic Arduino Script: https://www.tinkercad.com/things/cO0QsEEKBYH