• Skip to main content
  • Skip to primary sidebar

Homemade Circuit Projects

Get free circuit help 24/7

Circuits for Beginners | Basic Circuits | LED Driver | Hobby Circuits | Transistor Circuits

New-Projects | Privacy Policy | About us | Contact | Disclaimer | Copyright

Home » Solar Controllers » PIR Solar Home Lighting Circuit

PIR Solar Home Lighting Circuit

Last Updated on July 3, 2019 by Swagatam 21 Comments

The post explains a simple circuit using Passive Infrared or PIR for making an automatic solar LED lamp which can be used for illuminating your home automatically at sunset, and only in the presence of a human member in the premise.

By SS Kopparthy

Introduction

Here, in this article, a simple yet useful and improved version of the PIR based automatic home lighting system is discussed. A previous version of this circuit is already discussed and is available here: https://www.homemade-circuits.com/pir-motion-activated-relay-circuit/ The major improvement is the static detection of human beings and also it works completely on solar energy unless the battery doesn’t get charged on a rainy day or something.

Circuit Working:

The circuit consists of different stages, where each one performs a specific task to keep the circuit working. The first one is the solar panel, solar charge controller and the battery which together control solar based power supply to the circuit. The same stage decides whether power is to be fed from the battery or from the mains, depending on the battery charge and voltage.

Circuit Diagram

PIR controlled LED solar lamp circuit

A 8550 PNP transistor is used here in the solar charge controller to decide it is day or night depending on the voltage form the solar panel. This is achieved by feeding the solar panel voltage to the base of the transistor hence holding it off during the day time when the voltage is produces by panel. When the dusk sets in the voltage drops across the transistor and battery voltage gets routed to rest of the circuit.

The next stage is a voltage source switcher that decides whether the circuit should be powered using battery voltage or the AC power source depending on the battery voltage level. A DPDT relay is configured to take care of this switching. Hence, the power to the circuit remains uninterrupted.

The next stage consists of the day/night detector that senses whether it is day or night depending on the sunlight incident on the LDR and it triggers the relay correspondingly. A capacitor C1 is attached at base of the transistor T3 in this stage. That makes sure that a small delay is introduced in the sensing so that sudden changes in the intensity of light does not false trigger the circuit. Output of T3 is fed to the next transistor Q1 which actually triggers the relay.

Final stage consists of a PIR sensor HC-SR501 that produces a high output when it detects the presence of a human being in its vicinity which is fed to the base of the transistor Q2 and immediately it fires the relay and the LED’s connected to it gets lit up. When the human moves away, the light gets turned off automatically using the same mechanism.

Finally, for the circuit to work even when there is static occupancy, the an additional stage consisting of the Hex Schmitt trigger IC and few other components may be used in combination with the existing circuit, but please remember to use a bigger battery and solar panel as per requirement. The circuit can be found here: https://www.homemade-circuits.com/pir-circuit-for-detecting-static-or/

List of Components:

Solar panel- 10.2V,400mA, 6Watts,
BATT1- 6V, 4.5Ah battery
R1- 1K
D1, D2, D3, D5, D6- 1N4007
D4, D7- 1N4148
R2- 10K trimpot
R3- 200E
R4- LDR
R5, R8, R9- 1K
R6- 10K preset
R7- 10K
T1- 8050
T2, T3, Q1, Q2- BC547
C1- 10
RY1- 5V, DPDT relay
RY2, RY3- 5V, SPDT relay
L1, L2, L3- LED's
PIR- HC-SR501

Notes:

After completion of this automatic PIR based solar home lighting circuit assembly, the unit can be housed inside a suitable casing(plastic) and installed the in a safe position protected from weather. The solar panel, LDR needs to be located such that sunlight is incident on them directly.

Here is the video of my prototype showing the static occupancy detection, please note that solar panel is not connected to the circuit in the video as the circuit is indoor and also the circuit for PIR sensor motion is powered externally for the time being.

A Simplified Design can been seen below:

simple PIR based solar lamp circuit

You'll also like:

  • 1.  Simple Faraday Flashlight – Circuit Diagram and Working
  • 2.  Photodiode, Phototransistor – Working and Application Circuits
  • 3.  Tuned Infrared (IR) Detector Circuit
  • 4.  3 phase Solar Submersible Pump Inverter Circuit
  • 5.  Simple Thermostat Circuit Using Transistors
  • 6.  2 Simple Frequency Counter Circuits

About Swagatam

I am an electronic engineer (dipIETE ), hobbyist, inventor, schematic/PCB designer, manufacturer. I am also the founder of the website: https://www.homemade-circuits.com/, where I love sharing my innovative circuit ideas and tutorials.
If you have any circuit related query, you may interact through comments, I'll be most happy to help!

Subscribe2


 

Reader Interactions

Comments

    Your Comments are too Valuable! But please see that they are related to the above article, and are not off-topic! Cancel reply

    Your email address will not be published. Required fields are marked *

  1. satish says

    hi sir can make as the same circuit for 12v 7ah battery

    Reply
    • Swag says

      Satish, you can usea 12V battery, but make sure to use a 7805 IC for supplying 5v to the PIR Vcc pin

      Reply
  2. vivek says

    can you provide another circuit diagram ?

    Reply
    • Swag says

      I have updated the diagram at the bottom of the post!

      Reply
  3. Obaid ur Rehman says

    Hello
    Can I use 7ah battery and 30W solar panel with this circuit?
    7805 IC dissipate too much current, can I use a switching regulator instead?
    Thank you for your good work.

    Reply
    • Swagatam says

      That looks OK to me, You can use the mentioned parameters with the above cone[pt!

      Reply
  4. Obaid ur Rehman says

    Thank you for your reply.
    Could you please add the functionality so the light remains dim until movement is detected, and gets bright when motion sensors is triggered.

    Reply
    • Swagatam says

      You can try adding a 100K resistor or some other calculated high value resistor between TIP122 base and the positive line. It may do the job

      Reply
  5. djirotech says

    Hello and congratulations for your great work.
    I am looking for a booster circuit to replace a thief joule
    with a 5v solar panel, 4xli-ion 3.7v batteries, and also advice.

    thank you !!

    Reply
    • Swagatam says

      Thank you dijirotech,

      Joule thief is also a booster circuit? Please specify your exact technical specifications and also the solar panel amp rating, I will try to help!

      Reply
  6. Anil says

    Hi Swag,
    I want a circuit for a fan on/off switch (inductive load) for inverter, as the inductive loads have surge currents. My idea is to have a delay on switch which connect the fan (or any other inductive load) to the inverter after a delay of about 5/6 seconds. So that initial high current is bared by mains supply and after 5/6 seconds it is connected to inverter, spacifically solar inverter.
    Please guide in this matter.
    Anil

    Reply
    • Swagatam says

      Hi Anil, you can use the following concept:

      https://www.homemade-circuits.com/simple-refrigerator-protector-circuit/

      Replace the Mains input with inverter input, and Refrigerator with Fan.

      Reply
      • Swagatam says

        Sorry, you will need to modify the triac with a relay, and connect the relay with the fan such that initially it is connected with mains and then switches to inverter. here’s the relay circuit for the same:
        https://www.homemade-circuits.com/wp-content/uploads/2013/02/simpledelayONcircuit.png

        Reply
  7. kenny says

    hello sir, I want to built a solar light with this requirement :
    1. using 20 watt led light
    2. auto on at dawn and off in the morning.
    3.light on for at least for 12 hours.
    4.lithium battery fully charge in 5/6 hours
    5. built with battery overcharge and discharge protection.
    tq for your time..

    Reply
    • Swagatam says

      Hi Kenny, You can try this circuit

      https://www.homemade-circuits.com/wp-content/uploads/2015/12/6.5V2Bsolar2Bcharger2Bcircuit.png

      Reply
  8. Nelio Abreu says

    Hi Swag,
    The Diode at output of PIR module is not identified.
    Is it any redular diode?
    Best Regards.
    Nelio

    Reply
    • Swagatam says

      Hi Neiio, yes it can be a 1N4148 or 1n4007 diode, although this diode and the 470uF are not required, since the PIR already has an in-built delay circuitry

      Reply
  9. Turan BENLİ says

    Hello Mr. Swagatam I hope you are well, I am very pleased with you. The information sharing you have shared is very valuable to me, so I pray for you every day. I used to be an electronic device repairman, now I quit because I am 62 years old, some of my opportunities are limited and I am struggling for life due to my orthopedic disability. I have a request from you. I need a voltage detector diagram that determines the place where the electrical installation and water installation goes under 40 cm concrete. I would appreciate if you could help me. Thank you very much for your precious time.

    Reply
    • Swagatam says

      Thank you Mr. Turan, I think you can try the following concept for detecting mains energy under concrete walls.

      https://www.homemade-circuits.com/bug-detector-circuit-rf-sniffer-circuit/

      For increasing the sensitivity of the circuit you an use longer wire for the antenna

      Reply
  10. Mitesh Dhanani says

    As I am having a solar panel 3W 6V solar want to make a circuit board diagram dc to dc can u please explain which of the products are there as I am using 3.7v battery 18650.As it is to used for a passage

    Reply
    • Swagatam says

      I could not understand your requirement, please explain it elaborately.

      Reply

Primary Sidebar

Categories

  • 3-Phase Power (15)
  • 324 IC Circuits (19)
  • 4017 IC Circuits (53)
  • 4060 IC Circuits (25)
  • 555 IC Circuits (98)
  • 741 IC Circuits (19)
  • Amplifiers (58)
  • Arduino Engineering Projects (82)
  • Audio Projects (94)
  • Battery Chargers (82)
  • Car and Motorcycle (94)
  • Datasheets (46)
  • Decorative Lighting (Diwali, Christmas) (33)
  • DIY LED Projects (89)
  • Electronic Components (97)
  • Electronic Devices and Circuit Theory (35)
  • Electronics Tutorial (109)
  • Fish Aquarium (5)
  • Free Energy (35)
  • Fun Projects (11)
  • GSM Projects (9)
  • Health Related (18)
  • Heater Controllers (28)
  • Home Electrical Circuits (101)
  • How to Articles (20)
  • Incubator Related (6)
  • Industrial Electronics (28)
  • Infrared (IR) (40)
  • Inverter Circuits (98)
  • Laser Projects (12)
  • LM317/LM338 (21)
  • LM3915 IC (25)
  • Meters and Testers (63)
  • Mini Projects (171)
  • Motor Controller (66)
  • MPPT (7)
  • Oscillator Circuits (24)
  • PIR (Passive Infrared) (8)
  • Power Electronics (33)
  • Power Supply Circuits (74)
  • Radio Circuits (9)
  • Remote Control (47)
  • Security and Alarm (61)
  • Sensors and Detectors (116)
  • SG3525 IC (5)
  • Simple Circuits (74)
  • SMPS (29)
  • Solar Controllers (61)
  • Timer and Delay Relay (54)
  • TL494 IC (5)
  • Transformerless Power Supply (8)
  • Transmitter Circuits (40)
  • Ultrasonic Projects (14)
  • Water Level Controller (45)

Circuit Calculators

  • AWG to Millimeter Converter
  • Battery Back up Time Calculator
  • Capacitance Reactance Calculator
  • IC 555 Astable Calculator
  • IC 555 Monostable Calculator
  • Inductance Calculator
  • LC Resonance Calculator
  • LM317, LM338, LM396 Calculator
  • Ohm’s Law Calculator
  • Phase Angle Phase Shift Calculator
  • Power Factor (PF) Calculator
  • Reactance Calculator
  • Small Signal Transistor(BJT) and Diode Quick Datasheet
  • Transistor Astable Calculator
  • Transistor base Resistor Calculator
  • Voltage Divider Calculator
  • Wire Current Calculator
  • Zener Diode Calculator

Facebook
Twitter
YouTube
Instagram
My Facebook-Page
Quora

© 2022 · Swagatam Innovations

We use cookies on our website to give you the best experience.
Cookie settingsAccept All
Privacy & Cookies Policy

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Please visit the Privacy Policy Page for more info.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT