top of page

Tutorial: How to connect a sound sensor to arduino uno

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

bottom of page