Quote Originally Posted by barkerben
That sounds great - in fact, I have managed to get my original circuit to work:

2 AA batteries ---> Step up to 5v to run RS232 level converter and LCD----> step down to 3v3 to run GPS and PIC

Out of interest, how can you up the voltage using PWM - did it use a voltage doubler capacitor circuit?

Cheers,

Ben

You are better off, from a battery standpoint, to raise the voltage as little as possible. I would jump it to 3.3 and use the HPWM for the 5 volt line if you only need a few mils.
It is a capacitor doubler, I attached a .1 uF from the HPWM output pin to the anode of a shottky diode. This diode is then attached to the circuit to be powered. A second shottky diode feeds 3.3 volts to the junction of the cap and the diode. A second cap is attached to the output of the first diode and to ground. When the HPWM pin is at 0 volts, the first cap charges to 3.3 volts. When the pin goes high. the bottom of the cap goes to 3.3, so the top goes to 6.6 volts(less the diode drops). This goes through the second diode, and charges the cap. Pretty neat huh? You can feed the 3.3 volt supply from another PIC pin, so you can shut down the display when not in use. I needed to do this because my app needed to sit for a year on a set of batteries.

Ron