Drumbot
![Drumbot.jpg](/proxy/?url=https://content.instructables.com/FK5/K8HQ/LQ0XCIWM/FK5K8HQLQ0XCIWM.jpg&filename=Drumbot.jpg)
Drumbot is an Arduino Uno controlled servo with arm that bangs on some surface like an empty cardboard box to simulate drum machine or metronome.
How to Build a Drumbot
![Drumbot](/proxy/?url=https://content.instructables.com/FEQ/LR8O/LQ0XCIPZ/FEQLR8OLQ0XCIPZ.jpg&filename=Drumbot)
![Drumbot.jpg](/proxy/?url=https://content.instructables.com/FA0/83XZ/LQ0XCIU5/FA083XZLQ0XCIU5.jpg&filename=Drumbot.jpg)
![Wokwi Arduino Drumbot Code.png](/proxy/?url=https://content.instructables.com/FHZ/KUEE/LQ0XCIU6/FHZKUEELQ0XCIU6.png&filename=Wokwi Arduino Drumbot Code.png)
The drumbot or drum machine or metronome is simply a microservo arm that bangs on some surface and is controlled by an Arduino Uno and two 10k potentiometers that control the servo arm angle and speed.
The program I used was first programmed online in Wokwi and includes a working ciruit with wiring diagram. Link to my software and wiring circuit is here: https://wokwi.com/projects/381508100050892801
The software can be easily modified to provide more of a rhythm with stronger downbeats on different beats in a measure but I left it in metronome mode so that it can be used with any time signature.
I added a round pencil erasure to the drum stick to provide a heavier beat on the drum surface. It even allows the drumstick to bounce if you want it to.