Mr RB
Well-Known Member
There isn't a switching frequency! It's only to turn the power on/off to the analogue LM358. 
Personally I think the cap and inductor are much too small, but the intent was probably to reduce the dead time after turn on (for power saving, since the battery is so small).
Regarding using the micro pins to make a buck SMPS, you don't need the pin diodes. A push-pull digital output driver works in buck as the pulldown FET operates as synchronous recitification. Many people don't know you can use a push pull digital driver as the FET and diode in a buck SMPS.
I did some playing with that idea a while back;
**broken link removed**
https://www.romanblack.com/smps/pic-smps.htm
Personally I think the cap and inductor are much too small, but the intent was probably to reduce the dead time after turn on (for power saving, since the battery is so small).
Regarding using the micro pins to make a buck SMPS, you don't need the pin diodes. A push-pull digital output driver works in buck as the pulldown FET operates as synchronous recitification. Many people don't know you can use a push pull digital driver as the FET and diode in a buck SMPS.
I did some playing with that idea a while back;
**broken link removed**
https://www.romanblack.com/smps/pic-smps.htm