Arduino Servo Robotic Drummer - Does Wipeout

  Переглядів 8,153

Xtian

Xtian

5 років тому

This is a two micro-servo Arduino drum robot playing the Wipeout drum solo.
Details here: www.instructables.com/id/Ardu...

КОМЕНТАРІ: 17
@lowfer6183
@lowfer6183 5 років тому
This is simple (yet, at the same time complex) but amazing
@demej00
@demej00 5 років тому
Thanks Lowfer. It was a simple and fun project to do and one of the few that I still keep around and use to accompany my uke and guitar. Couldn't have done it though if I hadn't found the rhythm drum score for Wipeout.
@cherylcox788
@cherylcox788 5 років тому
We really enjoyed that....
@demej00
@demej00 5 років тому
Thanks Cheryl. Hope you and Doug and family are well.
@samarth.r.kulkarni9082
@samarth.r.kulkarni9082 5 років тому
can we cahange the tune if yes how
@demej00
@demej00 4 роки тому
Here is the code for Arduino Uno and two servos: #include // servo drummer Jim Demello June 2018 int beatParms[2] [100]; const int buttonPin = 13; // the number of the pushbutton pin int buttonState = 0; int buttonOn = 0; Servo myservo1,myservo2; int servoPin6 = 6; //servo int servoPin7 = 7; void myServo(int servoPosition, int servoNumber) { if (servoNumber == 1) { myservo1.write(servoPosition); } if (servoNumber == 2) { myservo2.write(servoPosition); } } void doOneEighthNote(int servoNumber,int beat, int delayVal) { //int delayVal = 60; if (servoNumber == 1) { if (beat) {beat = 18; // if beat = 1 then add a little more servo down for stronger thump } myServo(150 + beat,servoNumber); //down delay(delayVal); myServo(100,servoNumber);//up delay(delayVal); } if (servoNumber == 2) { if (beat) beat = -18; myServo(60 + beat,servoNumber); //down delay(delayVal); myServo(80,servoNumber);//up delay(delayVal); } } void setup() { Serial.begin(9600); myservo1.attach(servoPin6, 1000, 2000); // attaches the servo on pin 9 to the servo object myservo1.write(100); myservo2.attach(servoPin7, 1000, 2000); // attaches the servo on pin 9 to the servo object myservo2.write(90); pinMode(buttonPin, INPUT_PULLUP); digitalWrite(buttonPin, HIGH); } ////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////// void loop() { buttonState = digitalRead(buttonPin); buttonState = HIGH; if (buttonState == HIGH && buttonOn == 0) { // if button high then start drum sequence // buttonOn = 1; //wipeout(); // wipeout drum routine if (random(1,3) == 1) fourQuarterTime2(); else fourQuarterTime(); //oneTime(); // delay(500); // delay some to give time to open button back up } } /////////////////////////////////////////////////////////////////////////////////////////////// ///////////////////////////////////////////////////////////////////////////////////////////// void oneTime() { while(1) { int beatParms[2][100] = {{1,2}, {0,0}}; // servo number and beat (1=beat,0=nobeat) for (int c=0;c
@Innertemplesounds
@Innertemplesounds 2 роки тому
Have you made these for purchase?
@demej00
@demej00 2 роки тому
No. It was just a oneoff. Besides I live in a foreign country with no shipping to USA. Would be a fun project for someone with a 3d printer.
@Jony8142
@Jony8142 3 роки тому
Hey at 1.5x speed they've really got it down
@demej00
@demej00 3 роки тому
Thanks Jonathan, tried that and it sounds much better, still missing a beat here and there but that's an Arduino for ya.
@rayenyazid1181
@rayenyazid1181 3 роки тому
Can you give me the python code of arduino ? Thank you
@demej00
@demej00 3 роки тому
Sorry, I don't do Python, just Arduino C++.
@rayenyazid1181
@rayenyazid1181 3 роки тому
Can you give me the c++ code and the pin connections of the servo controllers
@demej00
@demej00 3 роки тому
Details here: www.instructables.com/id/Arduino-Servo-Drum-Machine/
@rayenyazid1181
@rayenyazid1181 3 роки тому
Jimmy Demello thank you
@samarth.r.kulkarni9082
@samarth.r.kulkarni9082 5 років тому
email me circuit diagram and coding
@samarth.r.kulkarni9082
@samarth.r.kulkarni9082 5 років тому
please reply fast its urgent ok
Can Lego Play the Drums?
6:12
Brick Technology
Переглядів 7 млн
Top 10 best arduino music projects
4:55
Arduino Foum el hisn
Переглядів 4 млн
Ages 1 - 100 Decide Who Wins $250,000
40:02
MrBeast
Переглядів 110 млн
How to play Breakbeats Fast
5:02
John's Drums
Переглядів 72 тис.
10 заповедей по пайке. Учимся паять
12:05
Evolution of Boston Dynamic’s Robots [1992-2023]
16:00
Flatlife
Переглядів 4,3 млн
When you're overqualified for the job
2:41
AreYouNotEntertained?
Переглядів 19 млн
Designing a simple analog kick drum from scratch
39:11
Moritz Klein
Переглядів 579 тис.
Real Life Sentry Turret, that Protects your Room
6:36
GobbleMaster
Переглядів 898 тис.
15 Mind-Blowing Arduino projects to try this Weekend!
12:06
ToP Projects Compilation
Переглядів 489 тис.
MIDI Solenoid Drum Kit
2:44
Adafruit Industries
Переглядів 27 тис.
Building a Drum Robot with Ableton Connection Kit
7:28
Beat Lab
Переглядів 21 тис.
Интел подвинься, ARM уже в ПК!
14:06
PRO Hi-Tech
Переглядів 137 тис.
Опасная флешка 🤯
0:22
FATA MORGANA
Переглядів 277 тис.
Нужен ли робот пылесос?
0:54
Катя и Лайфхаки
Переглядів 781 тис.