Thanks for your feedback.
I don't think you need R2. I'd try it with a lower power LED and a higher value for R1 first.
When I remove R2 the LED lights up on movement only, right? But that's not what I like.
And, it looks like you're using a current-limiting resistor with a "high power" LED, which is cheap & easy but inefficient. Make sure the 27 Ohm resistor can handle the power/heat. (The LED probably needs a heatsink too.)
Oh, good point. Looks like I mixed up the resistance with another project where I used 2 LED in parallel. With one LED, 27 Ohm would result in way to much current for my 30mA LEDs. Thanks for saving my LEDs!
On a MOSFET it's a "gate", not a "base".
Thanks for clarifying.
Those MOSFETs are drawn the wrong way around (see body diode).
Thanks for pointing that out.
So the PIR is active high? Just asking... many are open drain (with or without pull-up resistor) so active low.
Yes, they are active high. And sorry for the lack of information. I will try harder to describe my projects properly and less biased.
Consider replacing R3 with a 20-50k pot, so you can adjust the sensitivity of the night light.
Good idea, thanks.
What voltage is your Vcc?
It depends. I'll try 2.8V (2*AAA), 4.2V (LiIon) and 5V USB.
And I hope you're good at soldering, the SI2302 appears to be available only as SOT23 package. It does look like a very suitable part for your application.
I don't know if I'm good at soldering. However, I found SOT23 parts were not that hard to solder. Successfully soldered 50+.
I tried some tiny 3014 LED which were really difficult to solder.
Thanks & best