Sound Detection Sensor

来自Microduino Wikipedia
1304410487@qq.com讨论 | 贡献2015年6月12日 (五) 02:39的版本 (Created page with "{| style="width: 800px;" |- | ==Purpose== This tutorial will show you how to use Microduino Microphone sound sensor. ==Equipment== *'''Microduino-CoreUSB''' *'''Micro...")
(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航搜索

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.


Step 2:

Connect your PC with USB cable, download code and program it to Microduino-CoreUSB.


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


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

Result

You can get sound analog value through microphone.

Vedio