lcd scrolling

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 5.
To post in this forum you must have a registered copy of Flowcode 5 or higher.

Moderator: Benj

Post Reply
siliconchip
Posts: 392
Joined: Wed Jan 05, 2011 11:24 am
Has thanked: 101 times
Been thanked: 25 times

lcd scrolling

Post by siliconchip »

hi all im experimenting with the scroll function using a 2 x 16 lcd, i have got my message going from right to left as intended but the characters when scrolling are not clear, in flowcode it appears ok but when using on a real lcd the results are not impressive, can anyone help please
Attachments
LCD trouble.fcf
(9 KiB) Downloaded 292 times

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: lcd scrolling

Post by Enamul »

Hi
I have posted here quite a lot of scrolling example for different type of LCD. You can follow this thread I guess you will get your answer..
http://www.matrixmultimedia.com/mmforum ... 46&t=10932
But if you are looking for anything different let us know.
Enamul
University of Nottingham
enamul4mm@gmail.com

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: lcd scrolling

Post by Enamul »

Hi
It's behavior should be close to simulation behavior..
Attachments
LCD trouble.fcf
(9 KiB) Downloaded 269 times
Enamul
University of Nottingham
enamul4mm@gmail.com

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: lcd scrolling

Post by medelec35 »

Hi siliconchip,
I loaded your flowchart on to my hardware and the wording looked clear to me.
However the starting values placed into LCD I did not agree with.
You started cursor with xposition x = 0
If scrolling from right I would start the cursor with x = 15 since 15 is the last position on the right of LCD.
Can you try attached flowchart please.
you will need to connect a variable resistor to AN0
Altering resistance will alter the scrolling delay from 100ms to nealy 500 ms.
The value of delay is scrolled on the bottom line.
Message will be constantly scrolling.
LCD Scroll2.png
(8.92 KiB) Downloaded 2608 times
Just alter the pot until your happy with the scrolling speed.
Then the delay shown on LCD can be used as a fixed delay and ADC component can be removed if desired.

Martin

Edit: A post was made while typing this reply out. Sorry if information is repeated.
Attachments
LCD trouble2.fcf
(11.5 KiB) Downloaded 299 times
Martin

siliconchip
Posts: 392
Joined: Wed Jan 05, 2011 11:24 am
Has thanked: 101 times
Been thanked: 25 times

Re: lcd scrolling

Post by siliconchip »

hi guys thanks for the replys, martin ive tried your flowcode file but im getting the same results the best way to describe it is that when scrolling takes place alot of the letters go from white to a redish colour and as they scroll you can make out what it says but it looks terrible, my display is blue with white lettering is it the display im using ???

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: lcd scrolling

Post by medelec35 »

I tried on my hardware which is EB005 Eblock:
http://www.matrixmultimedia.com/product.php?Prod=EB005

Display scrolls with no issues at at all.

I did have a Blue LCD display with white characters. I will see if I can find that and give it a try
Martin

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: lcd scrolling

Post by Enamul »

Please post a picture if possible
Enamul
University of Nottingham
enamul4mm@gmail.com

siliconchip
Posts: 392
Joined: Wed Jan 05, 2011 11:24 am
Has thanked: 101 times
Been thanked: 25 times

Re: lcd scrolling

Post by siliconchip »

ive tried too upload a pic but its too large i also atached it to a word document but this will not upoload either :(

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: lcd scrolling

Post by Enamul »

Hi
You can open the picture in paint and save as Jpeg. Size will be small
Enamul
University of Nottingham
enamul4mm@gmail.com

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: lcd scrolling

Post by medelec35 »

siliconchip wrote:ive tried too upload a pic but its too large
Hi siliconchip
What I do is load the image in paint. Paint in Windows 7 has a crop function.
Crop the picture so only necessary part is shown.
save as png.
If size is still too large, paint also has a Resize function.

Using this method I have uploaded full screen shots on these forums in the past.

Martin

Edit Sorry post crossed.
I should learn to type faster :P
Martin

User avatar
Enamul
Posts: 1772
Joined: Mon Mar 05, 2012 11:34 pm
Location: Nottingham, UK
Has thanked: 271 times
Been thanked: 814 times

Re: lcd scrolling

Post by Enamul »

It's OK Martin.
Enamul
University of Nottingham
enamul4mm@gmail.com

medelec35
Matrix Staff
Posts: 9521
Joined: Sat May 05, 2007 2:27 pm
Location: Northamptonshire, UK
Has thanked: 2585 times
Been thanked: 3815 times

Re: lcd scrolling

Post by medelec35 »

Enamul wrote:It's OK Martin.
:)

@siliconchip
I have tried using lighted Blue background and white Chars.
I have to agree with you. The slower the clearer, but its is rubbish at scrolling!
I have posted a LCD scroll function, not using the scroll components in the past. Tried that with this LCD and its the same.
The LCD display i'm using is Displaytech 162:
http://www.compart.pl/Portals/0/pdf/lcd ... es-v11.pdf

I will see if I can improve the scrolling display, but I don't feel that confident.
With standard black on grey, scrolling is perfect.

I guess it could have something to do with the brightness and persistence of vision?
Martin

siliconchip
Posts: 392
Joined: Wed Jan 05, 2011 11:24 am
Has thanked: 101 times
Been thanked: 25 times

Re: lcd scrolling

Post by siliconchip »

ok martin i guess now you have witnessed it that its pointless trying to post a pic, i would be interested if you could find any solutions failing that i shall have to aquire some new LCDs

Post Reply