GBAmp3 Mod PCB Order Now
also available at retromodding.com

Friday, December 7, 2012

PIR Motion sensor relay fast repair

Recently my motion sensor lights switch went bad. I opened it up and found that main ic is dead, but relay and relay transistor is ok. So I ordered really small PIR Sensor Module to fit it in place of dead ic. That ic was LP8072C which is a pir controller and it support light intensity sensor which is just a Photoresistor. So my motion sensor does not switch relay in daylight, designed for lights switching.
Pir sensor module I've got does not support photoresistor, so I had to design it in myself. What I've done is connected photoresistor to the base of relay switch transistor and second lead to the ground. With a base resistor which was on pcb already it makes a strong pulldown to transistor base. So when it's a daylight, photoresistor changes it's resistance to about 220 Ohm which prevent transistor to switch relay. I had to remove some parts from original pcb which interfere with photoresistor. An I removed LP8072C too.
Then I removed actual pir sensor can from module pcb and removed connectors too. Wired pcb pads to old pir sensor can on original pcb and to power and wired output to the output pad of LP8072C ic.


Then I glued sensor module pcb in place. Works ok except this new sensor has short keep relay on timeout, but whatever. This can be adjusted I guess, ic on sensor module pcb is unknown, no markings, it looks like sanded.
As you spotted there is no power supply as we used to see. It's just Live wire through 0.47 uF 250v cap in series with resistor to diode bridge. Then to 25v filter cap then to regular diode to drop voltage a bit then to zenner diode to get 5v with filter cap. It's a low power supply. Sometimes it's used inside cheap led light bulbs with many leds. This red 0.47 uf cap is half dead already because it's rated to 250v and as you know 220v mains has 315v sine peaks. It's capacity is 0.2 uf and it still works.

3 comments:

  1. I have bought 2 new PIR with these LP8072C to switch a transistor. When switch on main power, they sometimes immediately flickers on the relay for 3 times before stable down at off: on-off-on-off-on-off. The time between on off or off on are about 0.4 seconds apart.
    As this is to switch an AC fluorescent lamp, this is very bad.
    Do you have this problem?

    ReplyDelete
    Replies
    1. Nope I have not had this issue before it died :) Maybe there is not enough charge to switch relay or voltage dropdown happens when relay switched first time and ic resets.

      Delete
  2. Just to let you know< i had measured the voltage at ref pin4 and it is good, 3.1V and there is nothing wrong with the power supply.

    ReplyDelete