How to make a potato piano using an Arduino


in this article, we are going to make a simple potato piano or we like to call it, the potatiano using an Arduino microcontroller.
there's nothing despicable about this projects. in no time you'll be making music with potato.you will need an Arduino, a breadboard, 6pice 1M ohm Resistor, some jumper wires,

circuit diagram

more videos

1 . Top 03 Awesome Electronic Projects With LED, Capacitor, Transistor bc547, Battery, Soldering iron

2 . How to make Heat & Fire sensor with diode.अब आग लगने पर जाने इस के मदद से पूरी जानकारी के साथ बनाए.

3 . 4in1 top electronics projects with relay, transistor, photodiode, resistor full details in Hindi

4 . How to make amazing selfie light at home

5. Top 05 super electronic projects with Transistor, USB, Resistor, LED, Relay, UV Light, DC Motor

6 . How to make powerful Air Conditioner air cooler at home, Diy homemade cooler or DIY Air Conditioner

7 . Homemade Super gadget for pubg & free fire gamer, mobile cooler

8 . How to make smart smoke detect alarm circuit using transistor bc 547, buzzer resistance sensor

9 . 4 in 1 super gadget अब घर पर बनाए आसानी से बहुत ही काम कि चीज़ हे homemade gadget

10 . Make a powerful audio amplifier using mosfet z44n . छोटा साउंड सिस्टम्स घर पर बनाए

11 . Make error less testing device with android mobile phones , मोबाइल से टेस्टिंग डिभाइस कैसे बनाए

12 . Clap switch using arduino & without sound sensor ( with coding & circuit diagram )

13 . How to make DJ Disco light at home with any electronic circuit , mini electronic projects

code


void setup() {
  pinMode(8, OUTPUT);
}

void loop() {
  if (analogRead(A0) < 1000) {
    tone(8, 261, 200);
    delay(10);
  }
  if (analogRead(A1) < 1000) {
    tone(8, 277, 200);
    delay(10);
  }
  if (analogRead(A2) < 1000) {
    tone(8, 294, 200);
    delay(10);
  }
  if (analogRead(A3) < 1000) {
    tone(8, 311, 200);
    delay(10);
  }
  if (analogRead(A4) < 1000) {
    tone(8, 330, 200);
    delay(10);
  }
  if (analogRead(A5 ) < 1000) {
    tone(8, 349, 200);
    delay(10);
  }
}

Comments

Popular posts from this blog

How to make talking Voltmeter at home

how to make taking distance measurement device using Arduino and ultrasonic sensor

How to make voltmeter using Arduino