PIC MCU to a external LCD (HD44870)
Posted: Fri Apr 29, 2011 3:06 am
I am using a EB 006 , EB005, EB007 to program a PIC16F887 to use in my project. my project is a score board and I have built separate hardware. it has no Matrix main board or e blocks connected. I do use the same LCD as Matrix EB005 uses which is HD44870 and LEDs on my hardware.
I program the PIC with Matrix e blocks and works fine with EB005 but when I moved the PIC MCU to my hardware, LEDs are working but LCD is not displaying.
there for I am assuming I may have not connected LCD as EB005 does.
I found the schematic for EB005 via http://www.matrixmultimedia.com/datashe ... 5-30-3.pdf and i made sure that my connection from PIC to LCD as same as EB005. I as I understand EB005 uses 4bit data method to connect pic to LCD so did I.
Here is how i connected mine;
my LCD data sheet http://www.farnell.com/datasheets/653680.pdf
LCD PIN # ==connects===>> PIC MCU
1..VSS............................................................GND
2..VDD ...........................................................(+)
3..V0..............................................................(Potential meter)
4..(RS).......................... RA4
5..(R/W)........................................................ GND
6..(E)............................RA5
7..(D0)...........................................................GND
8..D1.............................................................GND
9..D2.............................................................GND
10.D3............................................................ GND
11..(D4)...................... ..RA0
12..(D5).........................RA1
13..(D6).........................RA2
14..(D7).........................RA3
15..LED+.........................................................(+)
16..LED(-).................................................... ...GND
If any one can suggest me to change my connection to get LCD running I would be much appreciated
I program the PIC with Matrix e blocks and works fine with EB005 but when I moved the PIC MCU to my hardware, LEDs are working but LCD is not displaying.
there for I am assuming I may have not connected LCD as EB005 does.
I found the schematic for EB005 via http://www.matrixmultimedia.com/datashe ... 5-30-3.pdf and i made sure that my connection from PIC to LCD as same as EB005. I as I understand EB005 uses 4bit data method to connect pic to LCD so did I.
Here is how i connected mine;
my LCD data sheet http://www.farnell.com/datasheets/653680.pdf
LCD PIN # ==connects===>> PIC MCU
1..VSS............................................................GND
2..VDD ...........................................................(+)
3..V0..............................................................(Potential meter)
4..(RS).......................... RA4
5..(R/W)........................................................ GND
6..(E)............................RA5
7..(D0)...........................................................GND
8..D1.............................................................GND
9..D2.............................................................GND
10.D3............................................................ GND
11..(D4)...................... ..RA0
12..(D5).........................RA1
13..(D6).........................RA2
14..(D7).........................RA3
15..LED+.........................................................(+)
16..LED(-).................................................... ...GND
If any one can suggest me to change my connection to get LCD running I would be much appreciated