“Sound Detection Sensor”的版本间的差异

来自Microduino Wikipedia
跳转至: 导航搜索
(Created page with "{| style="width: 800px;" |- | ==Purpose== This tutorial will show you how to use Microduino Microphone sound sensor. ==Equipment== *'''Microduino-CoreUSB''' *'''Micro...")
 
第11行: 第11行:
  
  
*Other Hardware Equipment  
+
*Other hardware equipment  
**USB cable   One
+
**1x USB cable  
  
  
第31行: 第31行:
  
 
Step 2:  
 
Step 2:  
Connect your PC with USB cable, download code and program it to Microduino-CoreUSB. [[File:MicroduinoMicphoneSensor1.png|600px|center|thumb]]
+
Connect the Microduino-CoreUSB to your PC with the USB cable and upload the code. [[File:MicroduinoMicphoneSensor1.png|600px|center|thumb]]
  
  
Step 3:
+
Step 3:  
Speak towards the microphone and powe on:  
+
Speak towards the microphone:  
 
[[File:MicroduinoMicphoneSensor2V1.png|600px|center|thumb]]
 
[[File:MicroduinoMicphoneSensor2V1.png|600px|center|thumb]]
  
  
 
Step 4:  
 
Step 4:  
You’ll hear the similar sound from the buzzer.  
+
You’ll hear the same sound from the buzzer.  
 
[[File:MicroduinoMicphoneSensor3.png|600px|center|thumb]]
 
[[File:MicroduinoMicphoneSensor3.png|600px|center|thumb]]
  
 
==Result==
 
==Result==
  
You can get sound analog value through microphone.  
+
You will hear the sound analog value through microphone.  
  
==Vedio==
+
==Video==
  
 
|}
 
|}

2015年9月6日 (日) 05:22的版本

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.


Step 2:

Connect the Microduino-CoreUSB to your PC with the USB cable and upload the code.


Step 3: Speak towards the microphone:


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

Result

You will hear the sound analog value through microphone.

Video