Teoria

Solo disponible en BuenasTareas
  • Páginas : 2 (314 palabras )
  • Descarga(s) : 0
  • Publicado : 23 de noviembre de 2011
Leer documento completo
Vista previa del texto
| |
|

|

| | A Simple Development BoardOk, so you have now got your programmer, and you have a PIC or two. It is all very well knowing how to programthe 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 programthe 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. I haveincluded a circuit diagram to show a very basic and cheap development board. You can, of course add LEDs and switches to this, but I have included the bare bones. Youcan 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 thatyou can select which inputs are high, and which are low. Basically, what I am saying is if you start with this circuit, you can add whatever you feel necessary.I willrun through the circuit diagram, which I admit isn't much, but it will give you a feel of things to come.The supply rail is set to +6V, which is the maximum voltage ofthe 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 4MHzcrystal. 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 strayoscillations across the crystal, and get rid of any unwanted noise etc before the signal goes into the PIC.There, simple, huh? |
|

This site was last updated
tracking img