| 5V Boost Switching Regulator
Here's a little project I put together for a friend. He wanted to build a project that ran off 5V but didn't want to use a 9V battery. I found an interesting part on Digikey that can take the output of 1 or 2 AA or AAA batteries and boost it to 5V. Infact the part can be programed for any output voltage between 1.8V to 5.0V using two resistors. If you leave off the resistors you get a 3.3V output. Best of all the PCB fits onto the end of the battery holder. Sweet.
One drawback is that at 5V output the part only puts out about 200mA with two AA or AAA batteries. It drops lower to about 50mA with only one cell. On the other hand, if you use 4 cells, you can approach 500mA.
The other drawback is that the part comes in an SOT23 package which is pretty tiny. My old eyes can still solder this so perhaps you can too.
The board is designed to slip over the terminal of a dual AA or AAA battery holder. The solder tabs are bent at right angles and rotated to the outside. A little bit of solder holds the board in place. Be careful not to melt the plastic of the battery holder by applying heat for too long.
Here a parts list of what you'll need. Prices are approximate. The datasheet recommends using X5R or X7R 22uF capacitors. Also I would recommend using 0.1% resistors. I used 1% and my output voltage on a test board was 5.14V.
The links below lead to a printable PCB suitable for making the PCB via toner transfer. It's ready to iron. The other link shows how to assemble the board.