GLCD EB058
Moderator: Benj
-
- Flowcode V4 User
- Posts: 61
- Joined: Tue Feb 01, 2011 7:21 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
GLCD EB058
Hi,
Anybody succesfully used the GLCD, because I'm struggling getting it to work.
I have 16f88 and EB058 board.
Cheers
james
Anybody succesfully used the GLCD, because I'm struggling getting it to work.
I have 16f88 and EB058 board.
Cheers
james
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: GLCD EB058
Hi James
Ive only used the display with a 16F877A chip, which works fine.
Looking at the e-block data sheet you need to move the jumpers on the glcd board from the default settings to position A
Other things to check
1) The EB058 e-block needs to be connected to 14V output on the programmer, unlike the 5V most other e-blocks use.
2) What version of flowcode are you using, there was a patch for the PIC_gLCD.C file for FC4.3 (This is included in 4.5)
3) You need to make sure you have selected the corrcet version of the gLCD in the flowcode macro. i,e right click and select
Then connections = Port C and CS= Bit 0
4) Have you tried the simple test program on the matrix site
http://www.matrixmultimedia.com/lc_index.php?p=12
This needs a 16F877A and the display on port C
Not sure what else to suggest
If you post your flowchart, it will help to find the problem.
Ive only used the display with a 16F877A chip, which works fine.
Looking at the e-block data sheet you need to move the jumpers on the glcd board from the default settings to position A
Other things to check
1) The EB058 e-block needs to be connected to 14V output on the programmer, unlike the 5V most other e-blocks use.
2) What version of flowcode are you using, there was a patch for the PIC_gLCD.C file for FC4.3 (This is included in 4.5)
3) You need to make sure you have selected the corrcet version of the gLCD in the flowcode macro. i,e right click and select
Then connections = Port C and CS= Bit 0
4) Have you tried the simple test program on the matrix site
http://www.matrixmultimedia.com/lc_index.php?p=12
This needs a 16F877A and the display on port C
Not sure what else to suggest
If you post your flowchart, it will help to find the problem.
1 in 10 people understand binary, the other one doesn't !
-
- Flowcode V4 User
- Posts: 61
- Joined: Tue Feb 01, 2011 7:21 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: GLCD EB058
Hi John,
Thanks for the reply.
The Chip is 16f88 as I have already mentioned.
I'm using v4.5 which has the mod "c" file in it already.
C0 is being used as the CS (chip select). with v4.5 you don't see the selections like "SDI or SDO" not sure if this is correct or not ?
I have selected jumper "A" position on the e block for the 16f88 chip.
Ben Rowland sent me a sample program today which does simple display on 16f877a.
14vdc is connected to the EB058 board "NOT the 5v which normal on most e blocks".
Have adapted the eblock to be used on my other development board from mikroe and that failed to work aswell.
I have attached the file I'm using just in case I have missed anything obvious.
I'm starting to believe I have a dud, can't be sure but have tried other chips like 18f4455 and 18f4431, do not have any 16f877a chips, they both didn't work either.
Thanks Again
James
Thanks for the reply.
The Chip is 16f88 as I have already mentioned.
I'm using v4.5 which has the mod "c" file in it already.
C0 is being used as the CS (chip select). with v4.5 you don't see the selections like "SDI or SDO" not sure if this is correct or not ?
I have selected jumper "A" position on the e block for the 16f88 chip.
Ben Rowland sent me a sample program today which does simple display on 16f877a.
14vdc is connected to the EB058 board "NOT the 5v which normal on most e blocks".
Have adapted the eblock to be used on my other development board from mikroe and that failed to work aswell.
I have attached the file I'm using just in case I have missed anything obvious.
I'm starting to believe I have a dud, can't be sure but have tried other chips like 18f4455 and 18f4431, do not have any 16f877a chips, they both didn't work either.
Thanks Again
James
- Attachments
-
- EB058TP_16f88_ben_temp.fcf
- (7.5 KiB) Downloaded 246 times
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: GLCD EB058
Hi
Had a quick look at the flowchart, it looks ok, but I dont have time to set up the hardware tonight.
Yes you are right with the flowcode macro only shows the CS line now in the latest version, but sounds like you have the hardware setup correctly.
Only thing I can see might be causing it is in the advanced config setting the CCP1 MUX is set to RB0, try changing that to RB3
Had a quick look at the flowchart, it looks ok, but I dont have time to set up the hardware tonight.
Yes you are right with the flowcode macro only shows the CS line now in the latest version, but sounds like you have the hardware setup correctly.
Only thing I can see might be causing it is in the advanced config setting the CCP1 MUX is set to RB0, try changing that to RB3
1 in 10 people understand binary, the other one doesn't !
-
- Flowcode V4 User
- Posts: 61
- Joined: Tue Feb 01, 2011 7:21 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: GLCD EB058
Hi John,
Matrix should put on you on the pay roll, changing the mux pin from b0 to b3 did the trick.
Many Thanks John
Best Regards
James
Matrix should put on you on the pay roll, changing the mux pin from b0 to b3 did the trick.
Many Thanks John
Best Regards
James
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: GLCD EB058
Thats great
Thanks for letting us know its working
Thanks for letting us know its working
1 in 10 people understand binary, the other one doesn't !
-
- Flowcode V4 User
- Posts: 61
- Joined: Tue Feb 01, 2011 7:21 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: GLCD EB058
Hi,
Have succesfully used the 16f88 with the gLCD Module EB058, unfortunatly have come a bit stuck with the 16877a, checked all settings and program, can't see what has gone wrong, need some help if possible.
Program attached.
I am running v4.5 flowcode.
Cheers
James
Have succesfully used the 16f88 with the gLCD Module EB058, unfortunatly have come a bit stuck with the 16877a, checked all settings and program, can't see what has gone wrong, need some help if possible.
Program attached.
I am running v4.5 flowcode.
Cheers
James
- Attachments
-
- eb058 test 16f877a.fcf
- (7 KiB) Downloaded 246 times
- JohnCrow
- Valued Contributor
- Posts: 1367
- Joined: Wed Sep 19, 2007 1:21 pm
- Location: Lincolnshire
- Has thanked: 364 times
- Been thanked: 716 times
- Contact:
Re: GLCD EB058
Hi James
You didnt forget to move the jumper back to the default position did you? i.e position B (the middle one)
Just tried your program on my hardware, works fine.
You didnt forget to move the jumper back to the default position did you? i.e position B (the middle one)
Just tried your program on my hardware, works fine.
1 in 10 people understand binary, the other one doesn't !
-
- Flowcode V4 User
- Posts: 61
- Joined: Tue Feb 01, 2011 7:21 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: GLCD EB058
Hi John,
Might be the spi port not working on the 16f877a I found yesterday when I thought I had none, it's been tossed around from place to place so don't know if it's fully working will try another chip like 18fxxxx, got a few so will have a go.
Thanks for your help anyway John.
Regards
James
Might be the spi port not working on the 16f877a I found yesterday when I thought I had none, it's been tossed around from place to place so don't know if it's fully working will try another chip like 18fxxxx, got a few so will have a go.
Thanks for your help anyway John.
Regards
James
-
- Flowcode V4 User
- Posts: 61
- Joined: Tue Feb 01, 2011 7:21 pm
- Has thanked: 3 times
- Been thanked: 1 time
- Contact:
Re: GLCD EB058
Hi John,
Just to confirm:
C0 = CS
C3 = sck
C4 = sdo
C5 = sdi
Jumper in B position
with the 16f877a
Cheers
James
Just to confirm:
C0 = CS
C3 = sck
C4 = sdo
C5 = sdi
Jumper in B position
with the 16f877a
Cheers
James