Sound Detection Sensor

From Microduino Wiki
Revision as of 02:39, 12 June 2015 by 1304410487@qq.com (talk) (Created page with "{| style="width: 800px;" |- | ==Purpose== This tutorial will show you how to use Microduino Microphone sound sensor. ==Equipment== *'''Microduino-CoreUSB''' *'''Micro...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Purpose

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

Equipment


  • Other Hardware Equipment
    • USB cable One


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 your PC with USB cable, download code and program it to Microduino-CoreUSB.
MicroduinoMicphoneSensor1.png


Step 3: : Speak towards the microphone and powe on:

MicroduinoMicphoneSensor2V1.png


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

MicroduinoMicphoneSensor3.png

Result

You can get sound analog value through microphone.

Vedio