You're not making very efficient use of your Alkaline battery discharge curve. The fully discharged point is 4.8V. Having D1 in series with the supply immediately wastes quite a bit.
An LP2950-50L makes a good LDO substitute for a 78L05 (needs a bit more output capacitance for stability). I'm not sure if it's actually worth going to a switcher or not. With the substituted LDO and D1 removed you'd get down to 5.something quite small, which is about 95% of the battery capacity.
Yes, I've actually used an LP2951 in the test circuit I've lashed up. I was trying to utilise the shutdown pin to control the power on/off but the battery drain when off was a bit too high.
D1 was initially placed to protect against reverse battery connection, now that I've added the high side FET I can probably delete it.
The micro needs 5V so I guess with an LDO I could run the battery down to 5.5 to 6V without the series diode.
You may want to flip Q1.
Yep, thanks D<=>S are arse about.
Looks good.
What's the purpose of D3?
D3? I'm not sure! I think it can be deleted. The circuit has evolved a bit and it now serves no purpose.
Changes so far!Flip the BS250 S/D reversed.
Delete series diode D1.
Delete protection Zener D2.
Use an LDO - run battery down to ~6V.
Put a 1-10K to ground on pwron
I might see if I can find a SOT23 dual diode to replace the two 1n4148 diodes.