Difference between revisions of "Sound Detection Sensor"

From Microduino Wiki
Jump to: navigation, search
(Debugging)
(Result)
Line 42: Line 42:
 
==Result==
 
==Result==
  
You will hear the sound analog value through microphone.  
+
You will hear the sound analog value through the microphone.
  
 
==Video==
 
==Video==
  
 
|}
 
|}

Revision as of 05:39, 6 September 2015

Purpose

This tutorial will show you how to use Microduino Microphone sound sensor.

Equipment


  • Other hardware equipment
    • 1x USB cable


Program

Program: [MicroduinoMIC]

Function Description: tone(buzzer_pin,value) //Output frequency in the specified port.

Debugging

Step 1: Plug Microduino microphone to the A2 pin of Microduino-Sensorhub and Microduino buzzer to D6.

MicroduinoMicphoneSensor.png


Step 2: Connect the Microduino-CoreUSB to your PC with the USB cable and upload the code.
MicroduinoMicphoneSensor1.png


Step 3: Speak towards the microphone:

MicroduinoMicphoneSensor2V1.png


Step 4: You’ll hear the same sound from the buzzer.

MicroduinoMicphoneSensor3.png

Result

You will hear the sound analog value through the microphone.

Video