Thingiverse
Useless Box - Multi Switch
di coffeman500
49
Download
41
Likes
0
Makes
This is a Useless Box that flips multiple switches instead of just one. It uses a stepper motor & A4988 driver to move the arm, and two servos - one for the arm, and one for the lid.
The box is controlled by an ATMEGA328P.
In Action:
https://i.imgur.com/oVlNI0r.mp4
Code:
https://github.com/coffeman500/UselessBox/blob/master/useless_box_arduino.ino
Schematic:
https://easyeda.com/coffeman500/useless-box
Parts:
Arduino Uno
L7805 & L7806
Arm Servo
Door (Lid) Servo
Stepper Motor Belt
A4988 Stepper Motor Controller
Stepper Motor
5cm x 7cm Protoboard
Pulley Wheel
Female Power Plug
Power Adapter
Home Switch
Switches
Box Hinges
Assorted m3 & m4 nuts & bolts
Summary:
The program uses switch interrupts to watch the 3 switches. When flipped the interrupt fires (Line 62-117) and adds any switched pins to the linked list (Line 37-44).
The main loop then watches the linked list, and goes to turn off any nodes added as they appear, moving down the list as n
The box is controlled by an ATMEGA328P.
In Action:
https://i.imgur.com/oVlNI0r.mp4
Code:
https://github.com/coffeman500/UselessBox/blob/master/useless_box_arduino.ino
Schematic:
https://easyeda.com/coffeman500/useless-box
Parts:
Arduino Uno
L7805 & L7806
Arm Servo
Door (Lid) Servo
Stepper Motor Belt
A4988 Stepper Motor Controller
Stepper Motor
5cm x 7cm Protoboard
Pulley Wheel
Female Power Plug
Power Adapter
Home Switch
Switches
Box Hinges
Assorted m3 & m4 nuts & bolts
Summary:
The program uses switch interrupts to watch the 3 switches. When flipped the interrupt fires (Line 62-117) and adds any switched pins to the linked list (Line 37-44).
The main loop then watches the linked list, and goes to turn off any nodes added as they appear, moving down the list as n
Hai stampato questo modello? Accedi e condividi il tuo make!
Accedi per lasciare un commento
AccediAncora nessun commento – sii il primo!