Skip to content

5V power supply for PIC microcontrollers

March 3, 2012

Month or two ago i have ordered PICkit 2 with board directly from MicrochipDirect. I must give really big credits for relations these people have with customers. I was talking to one kind lady which helped me out with payment, shippment and evrything, since i had compliations, not same shipping adress as billing one.

PICkit2 is quite old now and was replaced by PICkit3, some people are trashing about it some are still lifting PICkit2 to hights and some others like me dont really care, as long as it works. I think it is a great learning tool for a beginner and for some intermideate still eager to learn people. My kit came equiped with Microchips Mid-range microcontroller PIC16F690 it’s a 20 pin chip which you stick into 20 pin DIP  instead of directly soldering it. It is a good thing since if you blow it you can easly took it out and put a new one in, and also you can put other microcontrollers in like 10F, 12F, 16F and some from 18F family they produce.

PICkit2 has great feature and that is it can power up board that is conected to it, but what happens if you unplug it from programmer. Naturaly board is left without power. Easiest way would be to get a wall adaptor that has voltage settings and simply set it to 5V mode and stick it to  some 2.5 jack or somthing simillar.

Let’s say some people dont have wall adaptor like me and have only bunch of 9V batteries lying around, what to do in this case? Well here is simple solution 5V adaptor for 9V battery or any other powerdevices that are within specs of 5V regulator.

I took a smallest soldering board i could find and simply trim it to get even smaller. I populated it with 5V voltage regulator, one diode so just in case there is some reverse flow it doesnt do any damage to anything, one green LED to indicate if regulator is powered or  not and resistor to limit current to LED, other than that there are 2 pins on each side, one for input and one for output,


Underside i simply covered with hot glue, to give some protection from shorts and for better surface area besides that it also prevents slipping on any surface. I also hot glued some wire joints which can be seen on other pictures, reason for that was at the moment I don’t have shrinking tubes at disposal so i just imrpovised.

Green LED indicating power fed to 5V voltage regulator.


Finished product:

I tried to make schematics in program and i got as close as i knew, but there is one mistake on schematics and that is input and output pins. Schematics shows 5 pins but i couldnt find any other pictures to match my 2 pin layout.

If you want to see video presentation of it please follow next link: http://youtu.be/7bHJ3KDkYYY

Advertisements
2 Comments
  1. Carmichael permalink

    Please contact me concerning a 5v power unit

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: