Categorías

Ref. AKC-108.KY0037

Modulo detector de sonido para arduino

Stock: 262  
Ref. AKC-108.KY0037
Precio (IVA inc.) 1,25 €
Unidades ≥ 20 ≥ 40 ≥ 60 ≥ 80
DescuentoDescuentoprecio-3%-0,041,21-5%-0,061,18-8%-0,101,15-10%-0,121,12
whatsappSi tienes dudas envíanos un WhatsApp
Pago Seguro

Envío Rápido
en 14h o 24/48h

Pago Seguro
Tarjeta, Bizum...

Garantía
Calidad asegurada

Especialistas
Consulta tus dudas

Especificaciones

Para la detección de sonido módulo tiene dos salidas:
1. AO, salida analógica, la señal de tensión de salida en tiempo real del micrófono
2. DO, cuando la intensidad del sonido alcanza un cierto umbral, la señal de alto y bajo gasto

Montaje de tornillo del orificio de 3 mm

Fuente de alimentación de 5V DC

Salida analógica

Indicador LED de umbral de salida

Micrófono de alta sensibilidad

Luz indicadora de encendido

Salida del comparador digital

Código de ejemplo: Salida digital

int Led = 13 ;// define LED Interface
int buttonpin = 3; // define D0 Sensor Interface
int val = 0;// define numeric variables val

void setup ()
{
pinMode (Led, OUTPUT) ;// define LED as output interface
pinMode (buttonpin, INPUT) ;// output interface D0 is defined sensor
}

void loop ()
{
val = digitalRead(buttonpin);// digital interface will be assigned a value of pin 3 to read val
if (val == HIGH) // When the sound detection module detects a signal, LED flashes
{
digitalWrite (Led, HIGH);
}
else
{
digitalWrite (Led, LOW);
}
}

Código de ejemplo: Salidas analógicas

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

void setup ()
{
pinMode (ledPin, OUTPUT);
Serial.begin (9600);
}
void loop ()
{
sensorValue = analogRead (sensorPin);
digitalWrite (ledPin, HIGH);
delay (sensorValue);
digitalWrite (ledPin, LOW);
delay (sensorValue);
Serial.println (sensorValue, DEC);
}
OTROS PRODUCTOS RELACIONADOS