Arduino UNO and KY-037 Microphone Sound Detection System with Speaker Output
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary
This circuit consists of a KY-037 Microphone, an Arduino UNO, and a Speaker. The microphone captures sound signals, which are processed by the Arduino UNO. The Arduino can then output signals to the speaker, allowing for sound playback or other audio-related functionalities.
Component List
KY-037 Microphone
- Description: A sound sensor module that can detect sound levels and output analog and digital signals.
- Pins: Analog output, Ground, VCC, Digital output
Arduino UNO
- Description: A microcontroller board based on the ATmega328P. It has 14 digital input/output pins, 6 analog inputs, and is commonly used for prototyping and educational purposes.
- Pins: UNUSED, IOREF, Reset, 3.3V, 5V, GND, Vin, A0, A1, A2, A3, A4, A5, SCL, SDA, AREF, D13, D12, D11, D10, D9, D8, D7, D6, D5, D4, D3, D2, D1, D0
Speaker
- Description: A simple speaker used to output sound signals.
- Pins: +, -
Comment
- Description: Placeholder for comments or notes in the circuit design.
- Pins: None
Wiring Details
KY-037 Microphone
- Analog output connected to Arduino UNO A0
- Ground connected to Arduino UNO GND
- VCC connected to Arduino UNO 5V
- Digital output connected to Arduino UNO D2
Arduino UNO
- A0 connected to KY-037 Microphone Analog output
- GND connected to KY-037 Microphone Ground and Speaker -
- 5V connected to KY-037 Microphone VCC
- D2 connected to KY-037 Microphone Digital output
- D3 connected to Speaker +
Speaker
- - connected to Arduino UNO GND
- + connected to Arduino UNO D3
Code Documentation
Arduino UNO Code
sketch.ino
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
documentation.txt
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component descriptions, wiring details, and the code used in the Arduino UNO.