Trouble with uLCD-144

BeanieBots

Moderator
First off, I've moved your thread to the active forum where you are likely to get more responses.

The module has its own 3v3 regulator and recommends a regulated 5v to be used, so I would suggest doing just that.
As for PICAXE code, that would depend on how you have programmed the module. From what I can make out after a quick glance of the datasheet, you first write a program in 4DGL and download that to the module using the PC software tool. That program would need to 'act' apon whatever your PICAXE then sends it.
 

Jamster

Senior Member
...Depending on which type you have: One requires you to program it in 4DG where as the other allows you to use a PICAXE (or similar) to control it.

I belive the different versions are available on the 4D systems website and are interchangable.
 

ciseco

Senior Member
There's sample stuff for the BASIC stamp on the 4D site that you'll easily understand and be able to change to PICAXE code. The start up auto baud rate isn't always flawless and is so bloomin slow, I'd start there.

Miles
 

westaust55

Moderator
I have not delve into the data sheet that you linked to but it is a 4D Systems product. http://www.4dsystems.com.au/

If you search on this forum you will find a "getting started" tutorial for the uLCD3232 model which I posted some time ago that will help you understand the required PICAXE code.
Also as already stated, you need to ensure that you have the serial interface firmware installed. Available from the 4D Systems website.
 
Last edited:

BeanieBots

Moderator
Not specifically for that device but it is common practice for any device that has both analogue and digital functions (such as this device) to seperate the grounds to avoid superimposing digital noise on anlogue signals.
In some cases (eg many PIC chips) its simply because the internal structure cannot cope with the amount of current that may be required to go down a single (internal) 0v connection. On a few chips that I know of it was simply because it was cheaper to provide a 0v on the other side than it was to create a seperate pin!
 

westaust55

Moderator
Have you had a look on the 4D Systems website at this page:
http://www.4dsystems.com.au/prod.php?id=121

The module as you gave a link to is loaded with the GFX firmware.

You need to install the SGC firmware into the uLCD module to use it in a simple manner with the PICAXE range of chips using a serial interface.
Click on the GFX or SGC tab on the product page I have given a link to.

To do that task you will need a USB cable and a USB to 5pin header adapter as avaulable from 4D systems.
 

killmanager2

New Member
I have loaded in SGC firmware but i still get just a black screen. Here's the code I am using.

symbol Tx = 6
symbol Rx = 5
#PICAXE 18M2
symbol bfeed = b13
Init:
setfreq m8
High Tx
pause 2000
low Tx

serout Rx, T9600_8, ($55)
serin Tx, T9600_8, ($06)

serout Rx, T9600_8, ($51, $04)

serin Tx, T2400_8, ($06)

serout Rx, T2400_8, ($59,$03,$01)
serin Tx, T2400_8, ($06)

serout Rx, T2400_8, ($59,$04,$01)
sertxd ("set to landscape", cr, lf)
serin Tx, T2400_8, ($06)

serout Rx, T2400_8, ($45)
serin Tx, T2400_8, ($06)

serout Rx, T2400_8, ($42,$00,$00)
serin Tx, T2400_8, ($06)

serout Rx, T2400_8, ($74,"W",$00,$08,$00,$00,$FF,$FF,$01,$01)
serin Tx, T2400_8, ($06)

serout Rx, T2400_8, ($74,"R",$00,$10,$00,$00,$F8,$00,$01,$01)
serin Tx, T2400_8, ($06)

serout Rx, T2400_8, ($74,"G",$00,$18,$00,$08,$07,$E0,$01,$01)
serin Tx, T2400_8, ($06)

serout Rx, T2400_8, ($74,"B", $00,$20,$00,$10,$00,$1F,$02,$02)
serin Tx, T2400_8, ($06)

pause 10000

serout Rx, T2400_8, ($54,"W",$08,$00,$FF,$FF)
serin Tx, T2400_8, ($06)

serout Rx, T2400_8, ($54,"R",$09,$00,$F8,$00)
serin Tx, T2400_8, ($06)

serout Rx, T2400_8, ($54,"G",$0A,$01,$07,$E0)
serin Tx,T2400_8, ($06)

serout Rx,T2400_8,($54,"B",$0B,$02,$00,$1F)
serin Tx,T2400_8, ($06)
 

Jamster

Senior Member
It may be because of the serin

In westaust's tutorial he uses a spare variable instead of the qualifier as the module might not send what you think back.
 
Top