How to DIY a long strip human-detection night light?
This DIY human-detection night light has dimensions of 1.2CM x 9CM, with the main board as shown in the picture below. If you connect a 6V 5W solar panel, it becomes a solar-powered sensor light.
Solution: TP4056 + QXSR012
The TP4056 limits the charging current to 800mA, as it's not an aluminum substrate and requires good heat dissipation. The QXSR012 has a relatively simple peripheral circuit. It was tested to be stable without false triggering at 3V and 2.8V. The delay circuit is simple, needing only one capacitor (PF level).
The setup includes:
· 7 pieces of 5730 LED beads with a constant current of 120~150mA.
· SS8050 driver transistor, which also consumes some current.
· A relatively inexpensive pyroelectric sensor.
· 4 pieces of 0603 resistors, 5 pieces of 0603 capacitors, and 1 piece of 5288 light-sensitive resistor.
· 1 SS8050 (Y1) transistor and 1 7135 constant current IC.
· The charging interface is planned to use DC 5.5*2.1.
· The battery can be two parallel cells from a solar light, providing about 2000mAh.
Board Layout
Lighting Effect
As a night light, it is a bit too bright. It should use a resistor to limit the current to under 100mA.
The delay capacitor (330PF) results in a delay of about 40 seconds without the pyroelectric sensor and around 53 seconds with the sensor, with some variation. If a smaller capacitor is available, using 150PF to 200PF is recommended. You can also adjust the delay time according to your needs.