Grove - Sound Sensor
วันนี้เราจะมาพูดถึงเจ้าตัวเซ็นเซอร์วัดเสียงกันครับ โดยตัวดังในรูปมีชื่อว่า Grove - Sound Sensor ที่เอาไว้ต่อเข้ากับ Arduino หรือคอนโทรลเลอร์อื่นๆ แล้วโค้ดเพื่อวัดระดับเสียง มันสามารถวัดระดับเสียงในสภาพแวดล้อมต่างๆได้ โดยองค์ประกอบหลักของโมดูลเป็นไมโครโฟนธรรมดาและขึ้นอยู่กับเครื่องขยายเสียง LM358 ผลที่ออกมาของโมดูลนี้เป็นอะนาล็อกและสามารถเก็บตัวอย่างได้ง่ายๆ
(Features) ลักษณะเด่นๆของเซ็นเซอร์ตัวนี้คือ
- ง่ายต่อการใช้โมดูลเซ็นเซอร์เสียง
- output ออกมาเป็นอะนาล็อก
- ง่ายต่อการทำงานร่วมกับโมดูลลอจิกในการ input ของวงจรโกรฟ
- ใช้ 4 pin ในการต่อเข้ากับคอนโทรลเลอร์ต่างๆ
Specifications of Grove -Sound Sensor
- Operating voltage range: 4-12V
- Operating current (Vcc=5V): 4-8mA
- Voltage Gain (VS=6V, f=1 kHz): 26dB
- Microphone sensitivity (1Khz): 52-48dB
- Microphone Impedance: 2.2KΩ
- Microphone Frequency: 16-20Khz
- Microphone S/N ratio: 54dB
Applications Ideas
- Simple microphone
- Sound detection
How to usage
for example I will used it with Arduino
The specific steps for uploading the code:
1. Select the type of Arduino board that you are using by the path: Tools --> Board --> for example, Arduino UNO after you have open a demo.
It may be your wrong choice of board type If there appears the below image, please re-select the Arduino board that you are using.
2. Select the correct serial port you are using by the path: Tools --> Serial Port --> for example, COM3.
3. Upload the demo code as below show:
3. Upload the demo code as below show:
When there appears "Done uploading", congratulate you upload successfully.
ลองเอาไปเล่นกันได้ครับ