Instruction video : Make an Arduino based game controller Arduino Script: // Monkey Game controller - By Jee Van Kur is not a Monkey ;) const int button[] = {10, 11, 12}; // pins int i = 0; void setup() { Serial.begin(9600); while(i<3) // define pins { pinMode(button[i], INPUT); digitalWrite(button[i], HIGH); i++; } } void loop(){ int sum = 0; for(i=0;i<3;i++) { if(digitalRead(button[i]) == LOW) sum += (i+1)*pow(2, i); // sum up the pressed button indexes } Serial.println(sum); // print value delay(50); } // I am of no use without proc...
Hey guys ! Wanna impress your friends by carrying a handy homemade amplifier to your guitar class or where ever you want to go. Also note that IT WILL MAKE YOUR ACOUSTIC GUITAR SOUND ELECTRIC plus you can CREATE A PULSATING EFFECT ! How It Works with Circuit Explanation :- Here’s how you make it :- Get Your Tools Ready And Make You Solder Iron Hot ! What you will Need – (1) LM 386 IC (2) NE 555 IC (3) BC 547 or BC 548 Transistor NPN ( BC 548 is better !) (4) Resistance - 4.7K, 470K , 220K (ohms) (5) Potentiometer – 20 k (ohms) (6) Capacitor electrolyte – 1000, 100, 47, 10, 3.3 (micro Farad) ...