EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Forum for problems or queries regarding other Flowcode Components. Eg LEDs, Switches, LCD, Gfx LCD etc

Moderators: Benj, Mods

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1062
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 435 times
Been thanked: 484 times
Contact:

EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby Steve001 » Fri Apr 02, 2010 4:41 pm

Just having some problems with this dispaly at the moment if anybody can point me in the right direction

my display just shows 4 lines of squares - which reading on here indicates it hasn't started correctley,

bit at a loss checked my wiring and all seams ok, attached data sheets and test flow code program

using a pic16f887

steve

oh one of the data sheets wouldn't upload (too big )

part is from farnell -

http://uk.farnell.com/everbouquet/mc160 ... -LCDMODULE
Attachments
EVERBOUQUET - MC1604B-SBLW - LCD MODULE.pdf
(171.43 KiB) Downloaded 258 times
Flowcode1.fcf
(5 KiB) Downloaded 209 times
Success always occurs in private and failure in full view.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8236
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2358 times
Been thanked: 3346 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby medelec35 » Fri Apr 02, 2010 10:43 pm

Could it be you have LVP enabled in your configuration , which uses RB3. You have also got your LCD connected to port B which also includes RB3. So you need to disable LVP or change port your LCD is connected to. Also D0 to D3 of your LCD hardware should not be connected, only D4 to D7 is connected to B0 and B3 respectively. Are you using the EB006? if not, what crystal speed are you using?
You need to make sure the crystal speed matches the clock speed in flowcode.
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1062
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 435 times
Been thanked: 484 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby Steve001 » Sun Apr 04, 2010 7:57 am

i am using EB006 With a EB016

have made the following conections :-

D4 - Pin 1
D5 - pin 2
D6 - Pin 3
D7 - Pin 4
RS - Pin 5
/E - Pin 6
RW - 0 Volts

Will try on another port, How do ypu Disable LVP ?
Steve
Success always occurs in private and failure in full view.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8236
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2358 times
Been thanked: 3346 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby medelec35 » Sun Apr 04, 2010 9:44 am

Steve001 wrote: How do ypu Disable LVP ?
Steve

From top menu. Select 'Chip'
'Configure..'
Then on new window that appears click on 'Switch to expert config screen'
Change setting on 'Low Voltage Program. LVP is only used if not using an external power supply and only using usb connection.

After you have disabled LVP you have all of port B to use.

If it is fist time you have used this chip. to save a lot of pain, create a 1Hz flasher, just to check configurations are OK, and chip is running as it should be.
Attachments
Flowcode1.fcf
(4.5 KiB) Downloaded 223 times
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1062
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 435 times
Been thanked: 484 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby Steve001 » Mon Apr 05, 2010 1:48 pm

Thanks for that turning of LVP did the trick

steve
Success always occurs in private and failure in full view.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8236
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2358 times
Been thanked: 3346 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby medelec35 » Mon Apr 05, 2010 2:08 pm

8) Glad you now have a working LCD. Thanks for letting us know :)
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1062
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 435 times
Been thanked: 484 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby Steve001 » Mon Apr 05, 2010 6:38 pm

Think i Know where i went wrong now , port B can be used and configured for "in system programming" I.E Pick kit2 is that correct ?
and i have now turned that off .

Steve
Success always occurs in private and failure in full view.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8236
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2358 times
Been thanked: 3346 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby medelec35 » Mon Apr 05, 2010 7:44 pm

You can still program via pickit2 with LVP disabled, since pickit2 can generate a high enough voltage to program in normal mode via ICSP. If you want to program in LVP mode on EB006, you need to move lower right jumper (LVP jumper) and USB/PSU jumper. Then you need to be careful since your supply for Eb006 will be via USB. If using an external PSU, then no point in having LVP enabled. So you don't need pickit2 for in system programming.
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1062
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 435 times
Been thanked: 484 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby Steve001 » Sun Mar 13, 2011 11:32 am

i am wanting to use some of the prgramed character patterns that are in this display.
looking at page 13 of the manuel how do i send the up arrow to my display ?
I.E hex code 5C ?

i have also attached my circuit diagram that i am using as sombody on here wanted a 4 line display

data sheet wouldnt upload (too big) link is bellow

http://www.farnell.com/datasheets/319678.pdf

steve
Attachments
Steve_Display_Model_(1).pdf
(16.1 KiB) Downloaded 228 times
These users thanked the author Steve001 for the post:
medelec35 (Fri Dec 16, 2011 12:22 pm)
Rating: 5.88%
 
Success always occurs in private and failure in full view.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8236
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2358 times
Been thanked: 3346 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby medelec35 » Sun Mar 13, 2011 1:44 pm

Steve001 wrote:i am wanting to use some of the prgramed character patterns that are in this display.
looking at page 13 of the manuel how do i send the up arrow to my display ?
I.E hex code 5C ?

Hi Steve.
Try this:
LCD Chars1.jpg
LCD Chars1.jpg (38.5 KiB) Viewed 7608 times

(zero not letter O)
You May find the up arrow is C5 and not 5C?
Higher Bit 1st then lower bit.
5C would probably display a backward slash?
Martin.
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1062
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 435 times
Been thanked: 484 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby Steve001 » Mon Mar 14, 2011 7:59 pm

used this program and got a result that i didn't expect ,
should this code have been 0x6A ?
have tryed differnt hex codes and get differnt results ?

steve
Attachments
Image010.jpg
(98.96 KiB) Downloaded 4514 times
hex code text.fcf
(4.5 KiB) Downloaded 181 times
Success always occurs in private and failure in full view.

User avatar
medelec35
Valued Contributor
Valued Contributor
Posts: 8236
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2358 times
Been thanked: 3346 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby medelec35 » Mon Mar 14, 2011 9:01 pm

5C in binary is 0101 1100 = LHLH HHLL
The symbol on CHARACTER GENERATOR ROM on page 29 does match with the displayed symbol in your picture. (1st set LHLH= 4 Upper Bits, HHLL = 4 Lower Bits)
I can't see a full up arrow, so you have a choice.
1) use LCD PrintScreen then select Printstring abd enter "^" in the box

2)Run the attached flowchart, and determine number that gives Character best suited to your application.

When you find suitable number, just place that number in PrintASCII function.
Attachments
hex code text_Modified.fcf
(5.5 KiB) Downloaded 177 times
Martin

If you read a post that is useful, please show appreciation by clicking on thumbs up Icon.

User avatar
Steve001
Valued Contributor
Valued Contributor
Posts: 1062
Joined: Wed Dec 31, 2008 3:37 pm
Has thanked: 435 times
Been thanked: 484 times
Contact:

Re: EVERBOUQUET - MC1604B-SBLW - LCD MODULE

Postby Steve001 » Mon Mar 14, 2011 10:09 pm

cheers for that

steve
Success always occurs in private and failure in full view.