“Sound Detection Sensor”的版本间的差异
(Created page with "{| style="width: 800px;" |- | ==Purpose== This tutorial will show you how to use Microduino Microphone sound sensor. ==Equipment== *'''Microduino-CoreUSB''' *'''Micro...") |
(→Debugging) |
||
| (未显示同一用户的4个中间版本) | |||
| 第7行: | 第7行: | ||
==Equipment== | ==Equipment== | ||
*'''[[Microduino-CoreUSB]]''' | *'''[[Microduino-CoreUSB]]''' | ||
| + | *'''[[Microduino-Buzzer]]''' | ||
*'''[[Microduino-MIC]]''' | *'''[[Microduino-MIC]]''' | ||
*'''[[Microduino-Sensorhub]]''' | *'''[[Microduino-Sensorhub]]''' | ||
| − | *Other | + | *Other hardware equipment |
| − | **USB cable | + | **1x USB cable |
| 第25行: | 第26行: | ||
==Debugging== | ==Debugging== | ||
| − | Step 1: | + | Step 1: Plug Microduino microphone to the A2 pin of Microduino-Sensorhub and Microduino buzzer to D6. |
| − | Plug Microduino microphone to the A2 pin of Microduino-Sensorhub and Microduino buzzer to D6. | ||
[[File:MicroduinoMicphoneSensor.png|600px|center|thumb]] | [[File:MicroduinoMicphoneSensor.png|600px|center|thumb]] | ||
| − | Step 2: | + | Step 2: Connect the Microduino-CoreUSB to your PC with the USB cable and upload the code. [[File:MicroduinoMicphoneSensor1.png|600px|center|thumb]] |
| − | Connect your PC with USB cable | ||
| − | Step 3: | + | Step 3: Speak towards the microphone. |
| − | Speak towards the microphone | ||
[[File:MicroduinoMicphoneSensor2V1.png|600px|center|thumb]] | [[File:MicroduinoMicphoneSensor2V1.png|600px|center|thumb]] | ||
| − | Step 4: | + | Step 4: You’ll hear the same sound from the buzzer. |
| − | You’ll hear the | ||
[[File:MicroduinoMicphoneSensor3.png|600px|center|thumb]] | [[File:MicroduinoMicphoneSensor3.png|600px|center|thumb]] | ||
==Result== | ==Result== | ||
| − | You | + | You will hear the sound analog value through the microphone. |
| − | == | + | ==Video== |
|} | |} | ||
2015年9月6日 (日) 05:59的最新版本
PurposeThis tutorial will show you how to use Microduino Microphone sound sensor. Equipment
ProgramProgram: [MicroduinoMIC] Function Description: tone(buzzer_pin,value) //Output frequency in the specified port. DebuggingStep 1: Plug Microduino microphone to the A2 pin of Microduino-Sensorhub and Microduino buzzer to D6.
ResultYou will hear the sound analog value through the microphone. Video |