Changing the timing of light with passive infrared sensor
At our scouting clubhouse we have lights in the toilet that turn on automatically when you enter. However, they only stay on for 30 seconds, which means that you have to wave around your arms while you are peeing to turn on the lights. I couldn’t find affordable small lights with either better sensors or longer timeouts, so I tried to modify the lights we did have, to increase the time.
I modified two lights. In both the approach was roughly the same:
- Identify the IC. Most passive infrared (PIR) lights have a dedicated PIR IC that reads the sensor and controls the timing. In one of the lights this was even on a separate PCB, with one output pin to turn the light on or off.
- In the datasheet of the IC, determine how the timing is set. This is usually made up of a resistor and a capacitor. This RC circuit is charged and discharged a certain number of times, which determines the time the light stays on.
- Add a capacitor. The timing can be changed either by increasing the resistor or increasing the capacitor. Putting two resistors in parallel decreases the resistance, but putting two capacitors in parallel increases the capacitance. By adding a capacitor, I didn’t have to remove any components from the board.
One light had a LJ3405 IC, and the other had a BISS0001. Both are ICs specifically for PIR lights. The datasheet specifies which components determine the timing, and to which IC pins these should be connected. By following the traces and measuring continuity from these pins, I could determine which components on the PCB I should change. In both cases, it was easiest to solder the capacitor directly to the IC, instead of to the original capacitor. I added 10nF capacitors to the lights, extending the time from 30 seconds to 5 minutes.
Below are images of the unmodified and modified light. The PIR IC and timing logic is on the top board. I assumed that the top board was plugged in the bottom board, and only discovered it was soldered to it when I pulled it off. The green wire is a fix to reattach the top board. The green blob component is a 10nF capacitor to increase the timing.

