Our new official repo is on github
LCD Smartie version 5.6 is released!
Download it now: https://github.com/LCD-Smartie/LCDSmartie/releases

cwLinux 1602 Serial LCD

Discussion about LCD's and other related hardware

Moderators: _X7JAY7X_, caesar, IFR, mattcro, limbo, Fast351, hydrolisk1792

Post Reply
jonwilliams84
Posts: 3
Joined: January 17th, 2007, 7:50 pm
Location: UK

cwLinux 1602 Serial LCD

Post by jonwilliams84 »

Hi Peeps

Firstly, this is my first thread, so hello everybody! :D

I have recently aquired a 16 x 2 cwlinux LCD panel with 6 control buttons.

I have used the cwlinux demo software to test the panel and all works fine...However, when attached to LCD Smartie it seems like the data is scrambled, or trying to scroll too fast. Also, only one line of the display is showing the 'scrambled' data.

Is there anyway I can get LCD Smartie to function correctly on this LCD?

Cheers in advance....

Jon
_X7JAY7X_
Hardware Genie - Plugin Author
Posts: 374
Joined: February 16th, 2005, 10:24 pm
Location: Michigan

Post by _X7JAY7X_ »

Do you know the commands for the LCD? Once you find those you can use the test driver.
mattcro
Forum Supporter
Posts: 590
Joined: March 8th, 2006, 1:58 pm
Location: Scotland

Post by mattcro »

Is this the display? http://www.cwlinux.com/products/charact ... index2.php

It seems to be "sort of" Matrix Orbital compatible but all the commands have an extra byte in them so the CWlinux display won't work properly in Smartie unless you use the test driver. See http://lcdsmartie.sourceforge.net/testdriver.html for details.

You'll need to use something like:
Init=254,88,253
GotoLine1=254,71,1,1,253
GotoLine2=254,71,1,2,253

and so on. You can try copying the Matrix Orbital example from the test driver info page, but add the 253 byte after every command (commands start with 254), eg:
Init=254,66,0,254,84....... becomes Init=254,66,0,253,254,84,253........

I don't use the test driver, so others will probably be able to give more help. Hope that info helps!
jonwilliams84
Posts: 3
Joined: January 17th, 2007, 7:50 pm
Location: UK

Post by jonwilliams84 »

Yeah, its the lcd at the tops of that page.

I will give it a blast tonight afterwork...

Cheers for your help guys, will keep you posted on how it goes...
jonwilliams84
Posts: 3
Joined: January 17th, 2007, 7:50 pm
Location: UK

Post by jonwilliams84 »

Right...

Just tried mattcro's idea and I think we are getting close...

The backlight turned off as soon as I started LCD Smartie.

The top line is not displaying anything.

The 2nd line is now scrolling almost the right info. It is scrolling a load of underscores (_) for while after the info, but the words make sense now.

Does anyone know about the Test Driver, or know of anyone who knows of anyone...you get the jist!

Cheers for your help so far people!

Jon
aip
Posts: 1
Joined: January 25th, 2007, 2:57 pm
Location: Hong Kong
Contact:

test driver

Post by aip »

Hi,

I have put got a test package for both cw12232 and cw1602. Please let me know if it works
http://www.cwlinux.com/~aip/lcd_smartie_v5.4_RC2_CW.zip
Once I have finished the driver, I will submit the code.

-Andrew
bigwally
Posts: 1
Joined: February 1st, 2007, 6:37 am

Post by bigwally »

Hello Andrew,

Thanks for working on this. I've installed it and I am using a cw12232 on a older windows xp box.

Everything seems to be working fine except for special characters. The one I noticed, is if use use a control with a bar, what should be a fully filled in (or some subset) 6x8 character cell, displays as blanks.

A simple example is:

$Bar(30, 100, 10)

So far it has been running for about a 1/2 hour, no problems to report!

It is much appricated to see my cw12232 easily working on my windows box!

Thanks,

-Walt
Post Reply