Randomisés Arduino Tambour De La Machine

I like drum machines. However they are not always the easiest to build. I wanted one that is:

A. Simple, Yet Powerful-If it uses lots of components then it is too complicated
B. Sound-It’s not a a drum machine if it “beeps”
C. Easily Modifiable-If I can’t change stuff for improvement it is kind of annoying.

Arduino Drum Machine

A meticulous internet search wasn’t so successful.

Finally, I found cette but, even that was a bit un-editable although it was cool. I thought that the samples were a bit small and I for one was not going to rewrite a bunch of samples.

Therefore, I decided to play around with the code and rewrote my own version of it and tweaked it around until I got a sound I liked.

Remember: Make sure you have the Potentiometer on Analog Pin 1 and not Analog Pin Zero. The True Random library uses this wobbly voltage to pick random numbers! MAKE SURE TO FREE UP ANALOG PIN 0!

I drew up a schematic from the code and then made it real.

I know this uses the TX (Digital Pin 1) and RX (Digital Pin Zero) but I had already built a Digital to Analog Converter shield for those pins and was too lazy too build it again.

Step 1: Parts and Stuff.

You Will Need:

8 1K Resistors
8 2K Resistors
1 Potentiometer
1 3-Pin Terminal Block
Male Headers
Arduino Uno
Perf Board/Breadboard

Step 2: Program.

Here is the source code so far:

 

Arduino Drum Machine circuit

Here is some more code you can try:

DrumMachinemkI.pde7 KB

Major Components in Project
8 1K Resistors
8 2K Resistors
1 Potentiometer
1 3-Pin Terminal Block
Male Headers
Arduino Uno
Perf Board/Breadboard

 

For more detail: Randomisés Arduino Tambour De La Machine


A Propos De L'Auteur

Ibrar Ayyub

Je suis expérimenté, rédacteur technique, titulaire d'une Maîtrise en informatique de BZU Multan, Pakistan à l'Université. Avec un arrière-plan couvrant diverses industries, notamment en matière de domotique et de l'ingénierie, j'ai perfectionné mes compétences dans la rédaction claire et concise du contenu. Compétent en tirant parti de l'infographie et des diagrammes, je m'efforce de simplifier des concepts complexes pour les lecteurs. Ma force réside dans une recherche approfondie et de présenter l'information de façon structurée et logique format.

Suivez-Nous:
LinkedinTwitter

Laisser un Commentaire

Votre adresse e-mail ne sera pas publiée. Les champs obligatoires sont indiqués avec *

fr_FRFrench
Faire défiler vers le Haut