Go Down

Topic: [solved] Problem with Sound sensor HOT UK05 on leonardo (Read 1 time) previous topic - next topic


Mar 13, 2014, 11:13 am Last Edit: Mar 13, 2014, 12:35 pm by imajon Reason: 1
Hi everybody,

I just buy this sensor :

i just wire this on most simple way and listening on serial port the A0 pin and i have only maxvalue (1023) or 35 when i adjust the sensibility .
I buy two of this, and both make same thing, i have a value of 35 whatever the sound there on proximity of the sensor.
An idea oh what is wrong ?

int sensorPin = A0;    // select the input pin for the potentiometer
int sensorValue = 0;  // variable to store the value coming from the sensor

void setup() {
 // declare the ledPin as an OUTPUT:

void loop() {
 // read the value from the sensor:
 sensorValue = analogRead(sensorPin);  


I'm sorry to find the answer so fastly but it was very subtle…  :smiley-eek:
You have to move the sensibility very slowly to find your sensibility…

Thanks anyway… for witch…a little

Go Up