top of page

Tutorial: How to connect a sound sensor to arduino uno

  • BY ARPIT BATRA
  • Mar 20, 2018
  • 1 min read

This is the circuit diagram of connecting Sound Sensor to Arduino uno .

This is a Tutorial on How to connect a sound sensor to arduino uno and on this sensor we would me making other projects too.

Materials Required are

1. Arduino Uno

2. Sound Sensor

3. Jumper Wires

4. 220ohm resister

Code for this project is

int soundSensor = 2;

int LED = 3;

void setup() {

pinMode (soundSensor, INPUT);

pinMode (LED, OUTPUT);

}

void loop() {

int statusSensor = digitalRead (soundSensor);

if (statusSensor == 1) {

digitalWrite(LED, HIGH);

}

else { digitalWrite(LED, LOW); }

}

See this video with full instructions

 
 
 

Comments


9810461844

h.no. 145 sector 17 ,faridabad,haryana,india

  • Facebook
  • YouTube

©2017 by easyarduinoprojects. Proudly created with Wix.com

bottom of page