Crowtail- Sound Sensor
352,500 تومان
Sound Sensor
| وزن | 10 گرم |
|---|
موجود
توضیحات
Crowtail- Sound Sensor can detect the sound loudness of the environment. The main component of the module is a simple microphone to receive the sound signal, with band pass filter and a LMV358 amplifier to make the output signal easy to be received by microprocessor.
This module outputs analog signal that shows the relative loudness. Besides, an on-board potentiometer can be used to adjust output voltage.
Features
- Connection Mode: A(Analog)
- Working Voltage:5v
Part List
- 1 X Crowtail- Sound Sensor
- 1 X Crowtail 3 Pin Cable
Wiki & External links

/*
Sound Sensor
A simple program demonstrate sound sensor senses a sound that is up to the threshold you set
in the code, the LED is on for 1s.
*/
const int SOUND_SENSOR=A0 ; /* sound sensor pin */
const int LED=5; /* LED pin D5*/
#define THRESHOLD_VALUE 300
#define ON HIGH /* led on */
#define OFF LOW /* led off */
#define handle_led(x) digitalWrite(LED, x) /* handle led */
/* Global Variables */
int sound_value = 0;
void setup() {
/* Initialize led pin */
pinMode(LED, OUTPUT);
digitalWrite(LED, LOW);
}
void loop() {
/* read the sound value */
sound_value = analogRead(SOUND_SENSOR);
/* if the value is larger than threshold, turn on led */
if(sound_value > THRESHOLD_VALUE) {
handle_led(ON);
delay(1000);
}
handle_led(OFF);
}
تجربه خریداران محصول
تجربه خریداران محصول
فقط خریداران این محصول میتوانند تجربهشان را ثبت کنند.
هنوز تجربهای ثبت نشده است
بعد از خرید این محصول، از حساب کاربری یا لینکی که برایتان پیامک میشود، میتوانید تجربهتان را با دیگران به اشتراک بگذارید.
حمل و نقل کالا
حمل و نقل کالا











نقد و بررسیها
هنوز بررسیای ثبت نشده است.