Sound and Motion-Activated Switching Circuit with 4017 Decade Counter and BC547 Transistors
View and Edit Project In Cirkit Designer
Circuit Documentation
Summary of the Circuit
This circuit appears to be a complex control system that involves signal processing, timing, and switching mechanisms. The core of the circuit is a 4017 decade counter which is used to sequence signals to various components. The circuit includes transistors for signal amplification or switching, resistors for current limiting and voltage division, capacitors for filtering, a PIR sensor for motion detection, a condenser microphone for sound detection, toggle switches for manual control, relays for controlling high-power devices, and LEDs for indication. The circuit is powered by a DC power source and interfaces with a 220V AC power line for controlling an LED bulb.
Component List
Integrated Circuits
- 4017 Decade Counter: A counter/divider component that generates a sequence of outputs upon receiving clock pulses.
Transistors
- BC547 Transistor: A general-purpose NPN bipolar junction transistor used for amplification and switching.
- NPN Transistor (CBE): A standard NPN transistor with Collector-Base-Emitter configuration.
Resistors
- 100kΩ Resistor: Used for current limiting or voltage division.
- 10kΩ Resistor: Commonly used for biasing transistors or as a pull-up/pull-down resistor.
- 220Ω Resistor: Typically used to limit current to LEDs or other low-power devices.
- 1MΩ Resistor: High resistance for sensitive applications, often used in timing circuits or as a pull-up.
- 1kΩ Resistor: Often used for current limiting in LED circuits or as a pull-up/pull-down resistor.
Capacitors
- Electrolytic Capacitor (2µF): Used for power supply filtering or timing applications.
Sensors and Input Devices
- Condenser Microphone: Converts sound into an electrical signal.
- PIR HC-SR501: A passive infrared sensor used for motion detection.
- Toggle Switch: A manual switch that can connect or disconnect the circuit.
Output Devices
- 12V Relay: An electromechanical switch that allows a low-power circuit to control a higher power circuit.
- LED bulb AC / Bombillo AC: An AC-powered light-emitting diode bulb.
- LED: Two Pin (red): A simple red light-emitting diode for indication purposes.
Power Supplies
- DC Power Source: Provides the necessary DC voltage for the circuit.
- Power 220V: The main AC power supply for the circuit.
Wiring Details
4017 Decade Counter
- Q1 (Output 1) connected to the base of a BC547 Transistor.
- Q2 (Output 2) connected to MR (Reset) for self-resetting.
- ~EN (Enable) connected to the collector of a BC547 Transistor and GND.
- VCC connected to a 1MΩ Resistor, a 12V Relay, and a 10kΩ Resistor.
- GND connected to various components including a BC547 Transistor, a PIR sensor, and a DC Power Source.
- CLK (Clock) connected to the emitter of a BC547 Transistor.
BC547 Transistor
- Base connected to Q1 (Output 1) of the 4017 Decade Counter.
- Collector connected to ~EN (Enable) of the 4017 Decade Counter and a 1kΩ Resistor.
- Emitter connected to GND.
NPN Transistor (CBE)
- Emitter connected to GND.
- Collector connected to a 12V Relay.
- Base connected to a 220Ω Resistor.
Resistors
- 100kΩ, 10kΩ, 220Ω, 1MΩ, and 1kΩ Resistors are used in various parts of the circuit for current limiting and voltage division.
Electrolytic Capacitor
- Negative pin connected to the condenser microphone and a 10kΩ Resistor.
- Positive pin connected to the base of a BC547 Transistor and a 1MΩ Resistor.
Condenser Microphone
- One pin connected to GND.
- The other pin connected to a 10kΩ Resistor and an Electrolytic Capacitor.
PIR HC-SR501
- VDD connected to a Toggle Switch and a 12V Relay.
- GND connected to GND.
- SIG connected to a 220Ω Resistor.
Toggle Switches
- One switch's Vcc connected to PIR HC-SR501 and a 12V Relay.
- Another switch's Gnd connected to a 12V Relay.
- The signal pins of switches connected to the DC Power Source, an LED bulb AC, and the power 220V.
12V Relays
- One relay's + connected to VCC and another relay's +.
- One relay's - connected to a BC547 Transistor and another relay's -.
- Common (C) pins connected to the power 220V and each other.
- Normally Open (NO) pins connected to Toggle Switches.
LED bulb AC / Bombillo AC
-
- connected to a Toggle Switch.
-
- connected to the signal pin of a Toggle Switch.
LED: Two Pin (red)
- Anode connected to VCC through a 1kΩ Resistor.
- Cathode connected to GND.
Documented Code
There is no embedded code provided for any microcontrollers in this circuit. If there were microcontrollers involved, this section would include the code along with explanations for each part of the program.