For the majority of the work I do with 8bit Microcontrollers – the PIC10F322 is an 8bit controller – I run a +5 power supply. Just call me old fashion.

To power up the 322, and depending on how you are going to use it – you need some sort of power regulation circuit, that takes some input voltage and drops it to your desired voltage to drive the PIC10F322.

The easiest way (unless you want to build something yourself) is to get one of these breadboard power regulators. You can find them on eBay and Amazon. It takes up to a 12V input and outputs, 5V or 3.3V depending on jumpers. You can even run one rail at 5V and the other at 3.3V. Another plus is it has an off and on switch.

So, just run the 5+ to pin – VDD {pin – 2 of the PDIP package} the ground {0V negative} to VSS {pin – 7 of the PDIP package}

Not so fast, it is a good idea to put in a decoupling capacitor, also referred to as a bypass capacitor. You’ll find these commonly placed as close as possible to an integrated circuit (IC) on a PCB layout. Once fully charged, their job is to simply oppose any unexpected change in your input voltages from a power supply.

Some components like integrated circuits rely on their input voltage being as steady as possible, so when you place a decoupling capacitor next to an IC, you’ll be able to protect those sensitive chips by filtering out any excess noise and creating a nice, steady source of power.

What happens if you don’t use decoupling capacitors next to your IC? Well, you’ll likely wind up with a processor that starts skipping instructions and behaving abnormally.

While it seems like this might create a short from power to ground, only high-frequency signals can run through the capacitor to ground. The DC signal will go to the IC, just as desired. Another reason these are called bypass capacitors is because the high frequencies (in the kHz-MHz range) bypass the IC, instead running through the capacitor to get to ground.

When physically placing decoupling capacitors, they should always be located as close as possible to an IC. The further away they are, they less effective they’ll be.

For most of our work, a .1uf cap is enough to take of this. Here is a recommended power diagram.

 

10F322Power Diagram