Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an Arduino UNO microcontroller, a red LED, a resistor, a piezo buzzer, and an HC-SR501 motion sensor. The circuit is designed to demonstrate basic interfacing and control of these components using the Arduino platform.
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
LED: Two Pin (red)
- Description: A red light-emitting diode.
- Pins: cathode, anode
Resistor
- Description: A passive electrical component that implements electrical resistance.
- Pins: pin1, pin2
- Properties:
- Resistance: 200 Ohms
Piezo Buzzer
- Description: An electronic device that produces a tone, alarm, or sound.
- Pins: pin 1, pin 2
HC-SR501 Motion Sensor
- Description: A motion detector sensor.
- Pins: GND, OUT, VCC
Wiring Details
Arduino UNO
- 5V: Connected to the power supply.
- GND: Connected to the ground.
LED: Two Pin (red)
- anode: Connected to pin1 of the resistor.
Resistor
- pin1: Connected to the anode of the LED.
- pin2: Not connected in the provided net list.
Piezo Buzzer
- pin 1: Not connected in the provided net list.
- pin 2: Not connected in the provided net list.
HC-SR501 Motion Sensor
- GND: Not connected in the provided net list.
- OUT: Not connected in the provided net list.
- VCC: Not connected in the provided net list.
Code Documentation
Arduino UNO Code
void setup() {
// put your setup code here, to run once:
}
void loop() {
// put your main code here, to run repeatedly:
}
Additional Documentation
This document provides a comprehensive overview of the circuit, including the components used, their wiring details, and the code for the Arduino UNO microcontroller.
