Connect to the PIC Microcontroller


Posted on Feb 5, 2014

It is all very well knowing how to program the PIC in theory, but the real learning comes when you try your code on a PIC and see the results yourself in a circuit. You could build a circuit each time and program the PIC to see if the program works, or you can make yourself a development board. A development board allows you to simulate the environment around the PIC.


Connect to the PIC Microcontroller
Click here to download the full size of the above Circuit.

We have included a circuit diagram to show a very basic and cheap development board. You can, of course add LEDs and switches to this, but We have included the bare bones. You can monitor the Input/Output pins by connecting LEDs directly to the pins, and they will light up when the pins go high. Also, you can add switches to the pins, so that you can select which inputs are high, and which are low. Basically, what We are saying is if you start with this circuit, you can add whatever you feel necessary. The supply rail is set to +6V, which is the maximum voltage of the PIC. You can use any voltage below this right down to +2V. C3 is known as a `Bypass` Capacitor. All C3 does is reduce any noise on the supply rail. X1 is a 4MHz crystal. You could use a parallel resistor and capacitor circuit, but the cost of the crystal is negligible, and it is more stable. C1 and C2 help reduce any stray oscillations across the crystal, and get rid of any unwanted noise etc before the signal goes into the PIC.




Leave Comment

characters left:

New Circuits

.

 


Popular Circuits

Adjustable Auto transformer
Car battery monitor III
Very-low-duty-cycle-pulse-generator
Camera Head (A2075) Manual
usb powered mobile phone battery
12 V Florescent lamp driver circuit
Hacking an alarm clock
4 channel dimmer
Passive EQ for STAX
Musical keyboard as a signal generator
2 Transistor LED Flasher
EMEM2 and EMEM3D frequency device construction and operation
Brightness display circuit 555
Four flashing lights string circuit 4
Radio harmonic detection circuit



Top