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

Simple Curve Tracer Circuit
4017 gate sequencer
Arduino project
555 Voltage Doubler Relay Driver
pcb fabrication Feasibility Question and Advice on CAD software
25 Watt Audio Amplifier Circuit
30w class ab amplifier circuit with
random generator
555 timer Door minder electronic project circuit diagram
Arduino CAN Bus Interface
Schumann Resonance Converter
100W HiFi Audio Amplifier Circuit



Top