Circuit Documentation
Summary
This circuit involves an Arduino UNO microcontroller interfacing with two HC-SR04 Ultrasonic Sensors and a buzzer. The sensors are used for distance measurement, and the buzzer is used for audio feedback. The Arduino UNO serves as the central control unit, processing the sensor data and controlling the buzzer.
Component List
Arduino UNO
- Description: A microcontroller board based on the ATmega328P.
- 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
HC-SR04 Ultrasonic Sensor (Sensor 1)
- Description: An ultrasonic sensor used for distance measurement.
- Pins: VCC, TRIG, ECHO, GND
HC-SR04 Ultrasonic Sensor (Sensor 2)
- Description: An ultrasonic sensor used for distance measurement.
- Pins: VCC, TRIG, ECHO, GND
Buzzer
- Description: A simple buzzer used for audio feedback.
- Pins: PIN, GND
Wiring Details
Arduino UNO
- 5V: Connected to VCC of both HC-SR04 Ultrasonic Sensors.
- GND: Connected to GND of both HC-SR04 Ultrasonic Sensors and the buzzer.
- D8: Connected to PIN of the buzzer.
- D5: Connected to ECHO of HC-SR04 Ultrasonic Sensor (Sensor 2).
- D4: Connected to TRIG of HC-SR04 Ultrasonic Sensor (Sensor 2).
- D3: Connected to ECHO of HC-SR04 Ultrasonic Sensor (Sensor 1).
- D2: Connected to TRIG of HC-SR04 Ultrasonic Sensor (Sensor 1).
HC-SR04 Ultrasonic Sensor (Sensor 1)
- VCC: Connected to 5V of Arduino UNO.
- GND: Connected to GND of Arduino UNO.
- TRIG: Connected to D2 of Arduino UNO.
- ECHO: Connected to D3 of Arduino UNO.
HC-SR04 Ultrasonic Sensor (Sensor 2)
- VCC: Connected to 5V of Arduino UNO.
- GND: Connected to GND of Arduino UNO.
- TRIG: Connected to D4 of Arduino UNO.
- ECHO: Connected to D5 of Arduino UNO.
Buzzer
- PIN: Connected to D8 of Arduino UNO.
- GND: Connected to GND of Arduino UNO.
Code Documentation
Arduino UNO Code (sketch.ino)
void setup() {
}
void loop() {
}
Additional Documentation (documentation.txt)
This documentation provides a comprehensive overview of the circuit, including a summary, detailed component list, wiring details, and the code used in the Arduino UNO.