Circuit Documentation
Summary
This document provides a detailed overview of a circuit that includes an IR sensor, a battery case, a voltage regulator (7805), a rocker switch, a diode, an NPN transistor, a 5V relay, and a buzzer. The circuit is designed to utilize the IR sensor to control the buzzer through a series of interconnected components.
Component List
IR Sensor
- Pins: out, gnd, vcc
- Description: Infrared sensor used to detect objects or motion.
- Purpose in Circuit: Detects objects and sends a signal to the transistor.
Battery Case
- Pins: +, -
- Description: Holds the batteries to power the circuit.
- Purpose in Circuit: Provides the primary power source.
7805 Voltage Regulator
- Pins: Vin, Gnd, Vout
- Description: Regulates the input voltage to a stable 5V output.
- Purpose in Circuit: Ensures a stable 5V supply to the components.
Rocker Switch
- Pins: input, output
- Description: A manual switch to control the power flow.
- Purpose in Circuit: Turns the circuit on or off.
Diode
- Pins: cathode, anode
- Description: Allows current to flow in one direction only.
- Purpose in Circuit: Protects the circuit from reverse voltage.
NPN Transistor
- Pins: E, C, B
- Description: A transistor used to amplify or switch electronic signals.
- Purpose in Circuit: Acts as a switch controlled by the IR sensor.
5V Relay
- Pins: (not specified)
- Description: An electromechanical switch.
- Purpose in Circuit: Controls the buzzer based on the transistor's state.
Buzzer
- Pins: PIN, GND
- Description: An audio signaling device.
- Purpose in Circuit: Produces sound when activated.
Wiring Details
IR Sensor
- out connected to C of NPN Transistor
- gnd connected to:
- Gnd of 7805 Voltage Regulator
- B of NPN Transistor
- - of Battery Case
- GND of Buzzer
- vcc connected to:
- Vout of 7805 Voltage Regulator
- cathode of Diode
- 5V Relay
Battery Case
- + connected to:
- input of Rocker Switch
- 5V Relay
- - connected to:
- gnd of IR Sensor
- Gnd of 7805 Voltage Regulator
- B of NPN Transistor
- GND of Buzzer
7805 Voltage Regulator
- Vin connected to output of Rocker Switch
- Gnd connected to:
- gnd of IR Sensor
- B of NPN Transistor
- - of Battery Case
- GND of Buzzer
- Vout connected to:
- vcc of IR Sensor
- cathode of Diode
- 5V Relay
Rocker Switch
- input connected to + of Battery Case
- output connected to Vin of 7805 Voltage Regulator
Diode
- cathode connected to:
- vcc of IR Sensor
- Vout of 7805 Voltage Regulator
- 5V Relay
- anode connected to:
- E of NPN Transistor
- 5V Relay
NPN Transistor
- E connected to:
- anode of Diode
- 5V Relay
- C connected to out of IR Sensor
- B connected to:
- gnd of IR Sensor
- Gnd of 7805 Voltage Regulator
- - of Battery Case
- GND of Buzzer
5V Relay
- Connected to:
- vcc of IR Sensor
- Vout of 7805 Voltage Regulator
- cathode of Diode
- + of Battery Case
- input of Rocker Switch
- E of NPN Transistor
- anode of Diode
- PIN of Buzzer
Buzzer
- PIN connected to 5V Relay
- GND connected to:
- gnd of IR Sensor
- Gnd of 7805 Voltage Regulator
- - of Battery Case
Code
No microcontroller code is provided for this circuit.
