View previous topic :: View next topic |
Author |
Message |
Robin
Joined: 23 Feb 2015 Posts: 2
|
Help about 128x64 lcd |
Posted: Mon Feb 23, 2015 12:30 pm |
|
|
Hello everyone!
firstly, I would like excuse me for my English. I am French and I have a lot of trouble to write english.
I come to ask for help.
Indeed, after many tests I can't use my LCD
My setup:
PIC18F4550-20MHz Crystal-PICkit2
The lcd:
12864A
EMG12864A-FL-YBS
I just found this little datasheet for lcd: http://www.sharp-electronic.com/downfiles/20131010231332.pdf
Someone would have there an example and library of a program that works?
I already tested glcd, KS0108, Extended_GLCD Drivers , none works for me.
In advance thank you !!! |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Mon Feb 23, 2015 12:46 pm |
|
|
Do you really mean "EGM12864A" ? Probably.
Have you tried this CCS driver ?
//// a KS0108 display controller. The HDM64GS12 is 128 by 64 pixels.
c:\program files\picc\drivers\hdm64gs12.c |
|
|
temtronic
Joined: 01 Jul 2010 Posts: 9243 Location: Greensville,Ontario
|
|
Posted: Mon Feb 23, 2015 12:46 pm |
|
|
Basic questions
1) have you got your PIC to run a '1Hz LED' program successfully?
If not, choose an unused pin and make a simple program to flash the LED at a 1Hz rate. That PIC has a lot of 'clock' options, so we have to know it does this test.
2) there are about 75 'hits' when you search 'KS0108' on this forum, so you're not the first to use that GLCD. You may have to open/read everyone to see.
3) wiring ? use a 3rd party 'hosting service' and show us your schematic.
4) disable any/all peripherals that are common to the I/O pins the GLCD is attached to.
5) compile in 'release' mode NOT 'debug'.
6) show us your code/compiler version/fuses. it could be something simple...
7) contrast ! how have you wired it up ??
the more info you supply the better we can help.
jay |
|
|
Robin
Joined: 23 Feb 2015 Posts: 2
|
|
Posted: Mon Feb 23, 2015 1:08 pm |
|
|
Yes exactly : EGM12864A Sorry :(
HDM64GS12 : I try tomorrow
1 ) Yes , timer, pwm and rs232 work fine and i make a new project for testing the LCD
2) I read a lot of post but my lcd doesn't work
3) wiring ? ohh ... i make a pcb for test 18f4550 but without LCD pinout. so i put some cable directly to the lcd..
4)Yes, i try
5) Ok I try tomorrow
6)
#include <18F4550.h>
#fuses HSPLL,NOWDT,NOPROTECT,NOLVP,USBDIV,PLL5,CPUDIV1
#use delay(clock=48000000)
I try a lot of configuration
7) first : Gnd^^^^^VDD
...................... |
...................... |_pin3
. 2° : the same with pin 18 VEE |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
|
|