5v REGULATED SUPPLY FROM 3V
This circuit will produce a 5v regulated output from 2 cells (3v). The output current is limited to 50mA but will be ideal for many microcontroller circuits.
The output voltage is set to 5v by the 3k9 and 560R resistors, making up a voltage divider network.