Voltage regulators need a voltage excess to operate. Unless you have an LDO (Low Drop Out) regulator you would need maybe 2V more than what you desire. For example having a battery pack rated from 4V-6V (depending on charge), you will not be able to regulate the voltage to 5V (a 7805 is typically like this). You would probably better off with a non-regulated voltage limiter, like a simple zener circuit, or even better if you do it as an emitter follower. Or you would need an LDO to 3.3V circuit. Or a DC-DC booster to 7V and then an LDO on top of it to 5V. Tamas On Sun, Apr 25, 2010 at 3:57 PM, Jason White < whitewaterssoftwareinfo@gmail.com> wrote: > me being unable to measure current wouldn't it be easer and safer (for me) > to put a $0.53 voltage regulator that can handle up to 35 volts and > outputs > 5 volts and a 150 ma current between my pic and power supply ? > > -- > Jason White - Python and C++ Programmer > -- > http://www.piclist.com PIC/SX FAQ & list archive > View/change your membership options at > http://mailman.mit.edu/mailman/listinfo/piclist > -- int main() { char *a,*s,*q; printf(s="int main() { char *a,*s,*q; printf(s=%s%s%s, q=%s%s%s%s,s,q,q,a=%s%s%s%s,q,q,q,a,a,q); }", q="\"",s,q,q,a="\\",q,q,q,a,a,q); } -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist