Page 1 of 1
About Graphic LCD and ADC
Posted: Fri Jul 15, 2011 5:19 am
by dickcheung
Hi All,
it's me again - a new comer-, would like to ask below comments,
1)EB-058 color graphic LCD E-Block )
I tried to use this in ECIO28P(with EB061), and tried different setting and jumper setting, but couldn't get any display on the LCD, may I ask for your help on what setting should be? (port setting, and jumper setting as well)
2) ADC,
I will use VR to test the ADC of ECIO28P (18F2455), may I get your flowcode advice and circuit advice? is it only simply use the on-board 5V for the VR and ADC reference?
Thanks so much.
Re: About Graphic LCD and ADC
Posted: Fri Jul 15, 2011 8:49 am
by JohnCrow
There is a bug in the glcd component in flowcode. I had the same problem
See this link to download an updated component.
http://www.matrixmultimedia.com/mmforum ... lcd#p24808
Re: About Graphic LCD and ADC
Posted: Fri Jul 15, 2011 4:17 pm
by Benj
Hello,
I will use VR to test the ADC of ECIO28P (18F2455), may I get your flowcode advice and circuit advice? is it only simply use the on-board 5V for the VR and ADC reference?
You can use any other supply voltage as long as the ground is common to the supply and on-board. You must also make sure that this voltage does not exceed 5V or your Vref+ signal.
If you are measuring a voltage larger then 5V then you can use a potential divider circuit to scale the voltage down to a readable level.
Using Flowcode V4 you can specify the Vref as the onboard 5V or the Vref+ pin via the properties dialogue. Flowcode V3 only allows for the onboard 5V unless you manually edit the code.
Re: About Graphic LCD and ADC
Posted: Fri Jul 15, 2011 5:01 pm
by dickcheung
Thanks so much to John Crow and Ben Rowland, I will try this now and see if I can do so..
Thanks again~

Re: About Graphic LCD and ADC
Posted: Tue Aug 02, 2011 11:23 am
by dickcheung
Hi Sir,
I tried but the color LCD still can't function.
Besides, I also have the B/W LCD e-block, this time it only can show up a very dark blocks instead of letters. I have use screw driver to tune the contrast but simple observe from "no display" to dark blocks, still not found any letters. I use the testing program and modified to different ports, the result are the same. The connections I checked should be corrected as simply follow the datasheet for the LCD eblock (connect Vout--5V to LCD board).
May I have your help? any other encountered the same issue? how to solve it?
Thanks so much for your time.
Benj wrote:Hello,
I will use VR to test the ADC of ECIO28P (18F2455), may I get your flowcode advice and circuit advice? is it only simply use the on-board 5V for the VR and ADC reference?
You can use any other supply voltage as long as the ground is common to the supply and on-board. You must also make sure that this voltage does not exceed 5V or your Vref+ signal.
If you are measuring a voltage larger then 5V then you can use a potential divider circuit to scale the voltage down to a readable level.
Using Flowcode V4 you can specify the Vref as the onboard 5V or the Vref+ pin via the properties dialogue. Flowcode V3 only allows for the onboard 5V unless you manually edit the code.
Re: About Graphic LCD and ADC
Posted: Tue Aug 02, 2011 11:40 am
by Benj
Hello,
Please could you post up your program and I will have a look for you. Could be that the configuration settings do not match your hardware or your clock speed is incorrect in the project options window.
Re: About Graphic LCD and ADC
Posted: Thu Aug 04, 2011 5:17 am
by dickcheung
Thanks Benj's quick reponse,
For both B/W and color LCD, I just use the downloaded testing program, and changed the chip as ECIO28P, and the port as below (and attached screen capture):
B/W LCD:
Data 1: PORT B bit 0
Data 2: PORT B bit 1
Data 3: PORT B bit 2
Data 4: PORT B bit 3
RS: PORT B bit 4
Enable: PORT B bit 5
For Hardware setting, I have cal. the contrast VR, but still obtain all black, but flashing or all "white" and flashing. Just like fully filled by dots. Voltage I use the power from the EB-061 application board 5V output.
Color LCD:
Reset: PORT C bit 0
Chip Select: PORT C bit 1
Clock: PORT C bit 2
Data: PORT C bit 3
For hardware jumper setting, I have tried all the config, but sill no any display at all.
Power is from the main power supply (14Vdc).
May I have your help?
Thanks so much.
Dick
Benj wrote:Hello,
Please could you post up your program and I will have a look for you. Could be that the configuration settings do not match your hardware or your clock speed is incorrect in the project options window.