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.
About Graphic LCD and ADC
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
Re: About Graphic LCD and ADC
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
See this link to download an updated component.
http://www.matrixmultimedia.com/mmforum ... lcd#p24808
1 in 10 people understand binary, the other one doesn't !
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: About Graphic LCD and ADC
Hello,
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.
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.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?
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 10
- Joined: Sun Jun 26, 2011 4:19 pm
Re: About Graphic LCD and ADC
Thanks so much to John Crow and Ben Rowland, I will try this now and see if I can do so..
Thanks again~
Thanks again~

-
- Posts: 10
- Joined: Sun Jun 26, 2011 4:19 pm
Re: About Graphic LCD and ADC
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.
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,
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.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?
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.
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: About Graphic LCD and ADC
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.
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.
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
-
- Posts: 10
- Joined: Sun Jun 26, 2011 4:19 pm
Re: About Graphic LCD and ADC
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
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.
- Attachments
-
- Color LCD flow chart and connection
- connection.JPG (145.35 KiB) Viewed 5642 times
-
- B/W LCD flow chart and connection
- connection.JPG (131.22 KiB) Viewed 5642 times