Circuit Documentation
Summary
This circuit consists of an Arduino 101 microcontroller, a sound sensor, and a piezo speaker. The sound sensor detects audio levels and sends an output signal to the Arduino, which processes the signal and can trigger the piezo speaker to emit a sound. The Arduino 101 is powered by a 5V supply, which also powers the sound sensor. The piezo speaker is connected to one of the digital pins of the Arduino for signal output and to the ground for completing the circuit.
Component List
Arduino 101
- Description: A microcontroller board based on the Intel Curie Module, designed for building IoT projects.
- Pins: A5/SCL, A4/SDA, AREF, GND, D13/SCK, D12/MISO, D11 PWM/MOSI, D10 PWM/SS, D9 PWM, D8, D7, D6 PWM, D5 PWM, D4, D3 PWM, D2, D1/TX, D0/RX, AIN, ioref, RESET, 3V3, 5V, VIN, A0, A1, A2, A3, ICSP MISO, ICSP SCK, ICSP MOSI.
Sound Sensor
- Description: A module that detects the intensity of sound in the surrounding environment.
- Pins: 5V +, OUT, GND.
Piezo Speaker
- Description: An electronic device that emits sound when an electrical signal is applied to it.
- Pins: pin1, pin2.
Wiring Details
Arduino 101
- 5V: Provides power to the Sound Sensor.
- GND: Connected to the GND pin of the Sound Sensor and pin1 of the Piezo Speaker.
- D8: Sends signal to pin2 of the Piezo Speaker.
- A0: Receives the output signal from the OUT pin of the Sound Sensor.
Sound Sensor
- 5V +: Receives power from the 5V pin of the Arduino 101.
- OUT: Sends the detected sound level signal to the A0 pin of the Arduino 101.
- GND: Connected to the GND pin of the Arduino 101.
Piezo Speaker
- pin1: Connected to the GND pin of the Arduino 101.
- pin2: Receives signal from the D8 pin of the Arduino 101.
Documented Code
No code has been provided for the microcontroller. To operate this circuit, code must be written and uploaded to the Arduino 101 to read the signal from the Sound Sensor and control the Piezo Speaker accordingly. The code should include functions to initialize the pins, read the sensor data, and output the appropriate signal to the Piezo Speaker.
