Minimalist Battery Regulators
by Lee Hart; modifications by Cor Van de Water