- Power circuit. (Skip this circuit if you are
lazy andusing an adapter for 5V). - Basic circuit for controller pic.
Below are an example of a power circuit for any output voltage to regulate to a 5V. I'm using a voltage regulator or some might call it as a control voltage namely 7805 which is giving an output of 5V and 1.5A current.
The input voltage for a 7805 is within 7V and 25V. If you give below 7V, than the output coltage will not be an accurate +5V.
The below circuit is for the main controller of a pic.
For PIC 16F877A, there are 7 compulsory wiring for it to be in standby mode which are:
- Pin 1 - Memory Clear. Must be given +5V at all time. If given a momentarily 0V, the PIC will reset (active low configuration)
- Pin 11 & 32 - Vdd (+5V).
- Pin 12 & 31 - Vss (0V)
- Pin 13 & 14 - Oscillator / Resonator ranging 4MHz until 20MHz. (No polarity).
I will post an update for the picture of the power and the basic circuit later on.