is it possible to control the brightness of an LED with arduino audio sensor or the sensor just make the LED goes on and off when it detect sounds ?
and i wonder why is there a digital D0 pin ?
2, DO, when the sound intensity reaches a certain threshold, the output high and low signal, [threshold -adjustment by potentiometer]
Well that's what an analog output would be for: output voltage depends on the volume of sound, use that to set the led brightness
Did you read the datasheet?
Connect the LED to PWM digital pins, then you can use analogWrite() to give the LED a brightness between 0 and 255, with the brigtness being based on your analog input. Have a look at this.
Please enter a valid email to subscribe
We need to confirm your email address.
To complete the subscription, please click the link in the
email we just sent you.
Thank you for subscribing!
via Egeo 16