Documente Academic
Documente Profesional
Documente Cultură
1. REGULATOR
The module has 8 data lines DB0-DB7. In the project we are using 4 data
lines DB0-DB3. RS is the Data / Instruction select pin. R / W is the Read / Write
select pin.
LCD used here is 16 X 2 LCD and it is connected to the PORTD of PIC
IC. The LCD module directly connected to the PIC. The resisters R3, R4 and R8
are also connected to the LCD. These resisters are used to control the contrast of
the LCD. The LCD uses +5V regulated power supply.
PIC microcontroller has 2 VDD pins (11 & 32) for 5v supply and 2 VSS
pins (12 & 31) for ground. Capacitor C5 is used for filtering. First pin of PIC
IC is pin , when this pin is grounded or active low PIC get reset. So for
4. PC COMMUNICATION
MAX 232 & DB9 CONNECTOR
RS232 is an asynchronous serial communications protocol, widely
used on computers. Asynchronous means it doesn't have any separate
synchronizing clock signal, so it has to synchronize itself to the incoming data - it
does this by the use of 'START' and 'STOP' pulses. The signal itself is
slightly unusual for computers, as rather than the normal 0V to 5V range, it uses
+12V to -12V - this is done to improve reliability, and greatly increases the
available range it can work over - it isn't necessary to provide this exact voltage
swing, and you can actually use the PIC's 0V to 5V voltage swing with a couple of
resistors to make a simple RS232 interface which will usually work well, but isn't
guaranteed to work with all serial ports. For this reason, the Serial Board to use the
MAX232 chip, this is a chip specially designed to interface between 5V logic
levels and the +12V/-12V of RS232 - it generates the +12V/-12V internally using
capacitor charge pumps, and includes four converters, two transmit and two
receive, the Serial Board only makes use of one of each - the other two are clearly
marked on the circuit, and can be used for something else if required.
CIRCUIT DESIGN
POWER SUPPLY
PIC MICROCONTROLLER
LCD Module
MAX232
Take all capacitors as 1µ F std. for level conversion of DC voltage.
C4, C6, C7, C9 = 1µF.