Sensores Som Arduino

Produtos visualizados

Electronic Brick - Sound Sensor/Microphone Brick

BE15000610

Novo produto

Electronic brick of microphone can be connected to the analog I / O port, when speaking to the microphone, the analog value will be changed. A recorder can be made by reading and saving the analog value.

Mais detalhes

2,78 € com IVA

Adicionar à Lista de desejos

Mais informação

Overview

What is an electronic brick? An electronic brick is an electronic module which can be assembled like Lego bricks simply by plugging in and pulling out. Compared to traditional universal boards and circuit modules assembled with various electronic components, electronic brick has standardized interfaces, plug and play, simplifying construction of prototype circuit on one’s own. There are many types of electronic bricks, and we provide more than twenty types with different functions including buttons, sensors, Bluetooth modules, etc, whose functions cover from sensor to motor drive, from Ethernet to wireless communication via Bluetooth, and so on. We will continue to add more types to meet the various needs of different projects.

Electronic brick of microphone can be connected to the analog I / O port, when speaking to the microphone, the analog value will be changed. A recorder can be made by reading and saving the analog value.

 

Documents

Please visit our wiki page for more info about this product. It will be appreciated if you can help us improve the documents by correcting the errors, adding more demo codes or tutorials.

 

Technical support

For technical support, please open a ticket on Itead Support System.

 

Additional Information

Link Wiki

N/A

Brick Interface

3PIN

Brick Power Supply

5V

Board Size

33 × 14 × 1.6mm

LED Color

No

Weight

15.0000

 

Code:

Connect S port of electronic brick of microphone to A0 port of Arduino, and we will use the following program to read the analog value. When the value exceeds the threshold, the LED indicator will flash.

 

 const int ledPin =  13;      // the number of the LED pin
 const int thresholdvalue=400; //The threshold to turn the led on
 void setup() {
    pinMode(ledPin, OUTPUT); 
 }
 void loop() {
 int sensorValue = analogRead(A0); //use A0 to read the electrical signal
 if(sensorValue>thresholdvalue)
 digitalWrite(ledPin,HIGH); //if the value read from A0 is larger than 400,then light the LED
 delay(200);
 digitalWrite(ledPin,LOW);
 }

Acessórios

Clientes que compraram este produto também compraram: