DrumCube, an Arduino Robot Drummer

An Arduino-based robot drummer. It works with a transistor noise-generator and an arrangement of servos hitting a can and a pair of piezos.

May 14, 2019

25252 views

45 respects

Components and supplies

1

Arduino UNO

1

SparkFun Electret Microphone Breakout

3

Rotary potentiometer (generic)

2

Piezo Element

5

Transistor - NPN, 60V 200mA (2N3904)

1

Slide Switch

1

Ultra-small LM2596 Power Supply Module DC / DC BUCK 3A adjustable buck Module Regulator Ultra LM2596S Compatible With Arduino by Atomic Market

3

SG90 Micro-servo motor

1

Tactile Switch, Top Actuated

1

Breadboard (generic)

1

LAOMAO DC-DC Step-up Boost Power Supply Module Adjustable Power Apply 3V-32V to 5V-35V XL6009 400KHz 4A Max

Tools and machines

1

Soldering iron (generic)

1

Mastech MS8217 Autorange Digital Multimeter

Apps and platforms

1

Arduino IDE

Project description

Code

DrumCube, a robot drummer

arduino

Downloadable files

Kick Schematic

Amplifier circuit for the piezos in the kick system

Kick Schematic

Snare Schematic

Amplifier circuit for the electret microphone in the Snare system

Snare Schematic

Full Diagram

Full diagram of the project

Full Diagram

Audio signal mixer

Audio signal mixer

Kick Schematic

Amplifier circuit for the piezos in the kick system

Kick Schematic

Snare Schematic

Amplifier circuit for the electret microphone in the Snare system

Snare Schematic

HiHat Generator Schematic

White noise generator and high-pass filter to replicate the cymbals sound.

HiHat Generator Schematic

Full Diagram

Full diagram of the project

Full Diagram

Audio signal mixer

Audio signal mixer

HiHat Generator Schematic

White noise generator and high-pass filter to replicate the cymbals sound.

HiHat Generator Schematic

Comments

Only logged in users can leave comments

Anonymous user

2 years ago

Good job! Love the idea

FrancoMolina

2 years ago

Thank you (:

ericBcreator

2 years ago

Great project, terrific job! So I guess, being a musician and a maker as wel, my next project should involve (making) music too...

FrancoMolina

2 years ago

Yes! I just checked the projects you've posted, it'll be awesome to see what musical stuff you will make...

Anonymous user

2 years ago

Really love this, this is some fun thinking outside the box (or inside the box literally :-) )... To me, the snare sound is a bit odd but the high hat and the bass drum are pretty spot on, I could see using this for some fun busking, it seriously an attention getter. Very very nice work!

FrancoMolina

2 years ago

Actually, my initial intention for this, was to make a busking companion, but i haven't been able to figure out the rechargeable battery part. I've tried a few things but all failed. I guess I'll have to keep trying. Thanks for your comment (:

Anonymous user

2 years ago

Great idea, nice execution. I love the attention to detail and the breadth, depth and quality of your post. Great work!

FrancoMolina

2 years ago

Thank you (:

Anonymous user

2 years ago

Excellent project and write up, many thanks for sharing!

FrancoMolina

2 years ago

Thank you, Steve!

Anonymous user

2 years ago

Wow, that's a nice project, you have done a really great job. I like the ideas behind and the solution. It's great do see you using it real on gigs.

FrancoMolina

2 years ago

Thanks, mate! :D

Anonymous user

2 years ago

Love the idea and implementation. great work!

FrancoMolina

2 years ago

Thanks!!

Anonymous user

2 years ago

amazing project!

Anonymous user

2 years ago

Wow!

Anonymous user

2 years ago

Very good project!

Anonymous user

2 years ago

your idea is great man thank you

FrancoMolina

2 years ago

Thanks!

Anonymous user

2 years ago

Felicidades!

FrancoMolina

2 years ago

Gracias Carlos!

Anonymous user

2 years ago

_Hello there is something that I still do not know, so that the sticks hit the drum, in a certain rhythm, I press the button three times so that I know that the sequence will start with a three?_

FrancoMolina

2 years ago

When you press the button you're selecting which array or sequence of elements (kick,snare,hihat) you're going to play, not the specific element, those will be stored in each number inside said arrays. Example, if pressing the button you select array 3 (drumbeatID == 3), you'll be playing the following array or sequence of numbers: 600605600605. Now, each of THOSE numbers are the numbers that represent what element will be hit, in this case the first one is 6, so kick(1) and hihat(5) will be hit (1+5=6). I hope this helps. I know it might get a bit confusing, I myself had a lot of trouble making sense of my own code-mess. Thanks for reading!

unclenoobz

2 years ago

Good Job

Anonymous user

6 years ago

Excellent project and write up, many thanks for sharing!

FrancoMolina

2 years ago

Thank you, Steve!

ericBcreator

6 years ago

Great project, terrific job! So I guess, being a musician and a maker as wel, my next project should involve (making) music too...

FrancoMolina

2 years ago

Yes! I just checked the projects you've posted, it'll be awesome to see what musical stuff you will make...

Anonymous user

6 years ago

Very good project!

Anonymous user

6 years ago

Wow, that's a nice project, you have done a really great job. I like the ideas behind and the solution. It's great do see you using it real on gigs.

FrancoMolina

2 years ago

Thanks, mate! :D

unclenoobz

6 years ago

Good Job

Anonymous user

6 years ago

Good job! Love the idea

FrancoMolina

2 years ago

Thank you (:

Anonymous user

6 years ago

Really love this, this is some fun thinking outside the box (or inside the box literally :-) )... To me, the snare sound is a bit odd but the high hat and the bass drum are pretty spot on, I could see using this for some fun busking, it seriously an attention getter. Very very nice work!

FrancoMolina

2 years ago

Actually, my initial intention for this, was to make a busking companion, but i haven't been able to figure out the rechargeable battery part. I've tried a few things but all failed. I guess I'll have to keep trying. Thanks for your comment (:

Anonymous user

6 years ago

your idea is great man thank you

FrancoMolina

2 years ago

Thanks!

Anonymous user

6 years ago

_Hello there is something that I still do not know, so that the sticks hit the drum, in a certain rhythm, I press the button three times so that I know that the sequence will start with a three?_

FrancoMolina

2 years ago

When you press the button you're selecting which array or sequence of elements (kick,snare,hihat) you're going to play, not the specific element, those will be stored in each number inside said arrays. Example, if pressing the button you select array 3 (drumbeatID == 3), you'll be playing the following array or sequence of numbers: 600605600605. Now, each of THOSE numbers are the numbers that represent what element will be hit, in this case the first one is 6, so kick(1) and hihat(5) will be hit (1+5=6). I hope this helps. I know it might get a bit confusing, I myself had a lot of trouble making sense of my own code-mess. Thanks for reading!

m1llipede

6 years ago

This is really inspiring. Thanks for sharing. Really great description of the project.

FrancoMolina

2 years ago

Thanks mate!

Anonymous user

6 years ago

Felicidades!

FrancoMolina

2 years ago

Gracias Carlos!

Anonymous user

6 years ago

Wow!

Anonymous user

6 years ago

amazing project!

Anonymous user

6 years ago

Great idea, nice execution. I love the attention to detail and the breadth, depth and quality of your post. Great work!

FrancoMolina

2 years ago

Thank you (:

Anonymous user

6 years ago

Love the idea and implementation. great work!

FrancoMolina

2 years ago

Thanks!!