Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                

LCD 4 Bit

Download as pdf or txt
Download as pdf or txt
You are on page 1of 1

PIC16F877 Driving LCD in 4-Bit Mode

This simple design illustrates the operation of the Alphanumeric


LCD display in 4-bit mode. LCD1
LM020L
The code is written using the IAR 'C' Compiler and should be
easily understandable to anyone familiar with the 'C' programming
language.

VDD
VSS

VEE
Also demonstrated is the writing and displaying of custom graphics characters.

RW
RS

D0
D1
D2
D3
D4
D5
D6
D7
E
1
2
3

4
5
6

7
8
9
10
11
12
13
14
GND
VCC
U1
13 33
OSC1/CLKIN RB0/INT
14 34
OSC2/CLKOUT RB1
1 35
MCLR/Vpp/THV RB2
36
RB3/PGM
2 37
RA0/AN0 RB4
3 38
RA1/AN1 RB5
4 39
RA2/AN2/VREF- RB6/PGC
5 40
RA3/AN3/VREF+ RB7/PGD
6
RA4/T0CKI
7 15
RA5/AN4/SS RC0/T1OSO/T1CKI
16
RC1/T1OSI/CCP2
8 17
RE0/AN5/RD RC2/CCP1
9 18
RE1/AN6/WR RC3/SCK/SCL
10 23
RE2/AN7/CS RC4/SDI/SDA
24
RC5/SDO
25
RC6/TX/CK
26
RC7/RX/DT
19
RD0/PSP0
20
RD1/PSP1
21
RD2/PSP2
22
RD3/PSP3
27
RD4/PSP4
28
RD5/PSP5
29
RD6/PSP6
30
RD7/PSP7
PIC16F877

PIC16F877 driving LCD in 4-bit Mode


Labcenter Electronics, 53-55 Main Street, Grassington, North Yorkshire, BD23 5AA
Fax: +44 (0)1756 752857 Tel: +44 (0)1756 753440
E l e c t r o n i c s
Email: info@labcenter.co.uk WWW: http://www.labcenter.co.uk/

You might also like