You are on page 1of 2

PIC CIRCUIT EXPLANATION:

V C C 1

7805
V IN V OU T

D 2

J2 2 1 2 + 1 k 4 C 4 1000mfd + C 5 + C 6 C 7 + C 8 R3 D 3 L E D

0.1mfd

10mfd

10mfd

B R ID G E 3

U2 2 3 4 5 6 7 3 3 3 4 3 5 3 6 3 7 3 8 3 9 40 1 3 R1 SW PUSHBUTTON S W 1 + 1k 1 1 1 3 2 R R R R R R R R R R R R R R A A A A A A B B B B B B B B

P IC 1 6F 877A
0 R C 0 /T 1 O S O / T1 C K I 1 R C 1 /T 1 O S I/ C C P 2 2 R C 2 /C C P 1 3 R C 3 /S C K /S C L 4 /T O C K I R C 4 /S K I/S D A 5 /S S R C 5 /S D O R C 6 /T X /C K 0 /IN T R C 7 /R X / D T 1 2 R D 0 /P S P 0 3 R D 1 /P S P 1 4 R D 2 /P S P 2 5 R D 3 /P S P 3 6 R D 4 /P S P 4 7 R D 5 /P S P 5 R D 6 /P S P 6 C 1 /C L K IN R D 7 /P S P 7 R E 0 /R D R E 1 /W R R E 2 /C S O S C 2 /C L K O U T GND 1 5 1 6 1 7 1 8 23 24 25 26 1 9 20 21 22 27 28 29 3 0 8 9 1 0 1 4 C1 0 + 10mfd C9 +

0.1mfd

V CC

V C C

1 0 m fd C1 3 U 3 1 3 8 1 1 1 0 1 3 4 5 2 6 C1 1 10mfd + C1 2 M A X 23 2 R1 OU T R 2O U T T1 O U T T2 O U T 1 2 9 1 4 7 0.1 mfd

16

10k J1 2 1

OS

T 1 IN T 2 IN C C C C V V 1 + 1 2+ 2+ -

VCC

D 1

R 2

R 1 IN R 2 IN

MC L R V D D V D D GND

C 1

10mfd

V C C

12

31

C 2 Y 1 C 3 1 J3 2 C R Y S TA L

JU MP E R

FLASH BOARD
SG28PRI2

10mfd

15

GND

CONNECTOR DB9

5 9 4 8 3 7 2 6 1

1N4148

From the circuit it can be seen that the reference analog supply after being regulated by the 9v regulator enters the zener diode through the resistance R4 where it is again regulated to 5v since the zener diode used here has a cut off of 5v. Thus we have a double regulated completely filtered analog reference source. R6 is a potential divider used for setting the dynamic response range of the reference supply. This means that the reference 5v can be used as it is or it can be made into a fraction of the 5v for example 1v so that readings in this range can be read with more precision. This is because the ADC has 10 bit resolution which can be totally used for representing the 1v rather than 5v. The pins 2-5, 7-10, 35 and 36 are used as the 10 channels of the ADC. To these pins the analog inputs to be processed by the ADC are given. Y1 is the crystal oscillator used. It is of 10 MHz and gives a baud rate of 9600 bits/s. The capacitors C2 and C3 are used as decoupling capacitors to remove the high frequency noise signals. The capacitor C1 is in the off condition when power is switched off. When the power is switched on or reset then this capacitor gets charged through the resistor R2 and then through R1 this appears at the MCLR pin of the PIC. This is the memory clear pin and thus the memory is cleared and is ready for use as soon as power is switched on. S1 is the synchronous switch which is also used for the same operation and for PC and PIC synchronous operation.

You might also like