Monday 26 June 2017

Interfacing of Sound Sensor with Arduino:

Interfacing of Sound Sensor with Arduino: 


const int analogIn = A0;
int analogVal = 0;

void setup() {
  Serial.begin(19200);
}

void loop() {

  analogVal = analogRead(analogIn);
  Serial.println(analogVal);
  delay(1000);
}


Circuit Diagram:




0 comments:

Post a Comment

if you have any doubt please let me know