Nokia LCD interface anyone
ALIBE
Posts: 299
I am trying to get a larger LCD screen on my robot and thought this one might be a good one to go w/ for $19 a pop.·
Has anyone tried this w/ the Prop? Any pointers would be great.
Are there other similar LCDs that people have tried w/ the Prop in this forum?
Thanks in advance
http://www.sparkfun.com/commerce/product_info.php?products_id=569
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"any small object, accidentally dropped, goes and hides behind a larger object."
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/
·
Has anyone tried this w/ the Prop? Any pointers would be great.
Are there other similar LCDs that people have tried w/ the Prop in this forum?
Thanks in advance
http://www.sparkfun.com/commerce/product_info.php?products_id=569
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"any small object, accidentally dropped, goes and hides behind a larger object."
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/
·
Comments
Mahjongg
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
Post Edited (Paul Baker (Parallax)) : 2/26/2007 6:16:04 PM GMT
www.elektor-electronics.co.uk/Default.aspx?tabid=27&art=53289&PN=On
The article itself can be downloaded as a .PDF, but its not a free download.
You might therefore also want to take a look at the LCDHype forum board which has a lot of info about using LCD's, you will find it here:
lcdhype.de/index.php?act=idx
Mahjongg
I will try to find it.
dro.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
in medio virtus
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"any small object, accidentally dropped, goes and hides behind a larger object."
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/
·
Credit goes to Bean for his code and Martin for his SHIFTOUT routine.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
I tried this on my LCD and all I see it that the blue screen and a short-lived refresh (from possibly the ::Cls() ). I don't see any other activity.
I have 10Ks for each of the pins except for the VDD and VSS. I have the LCD riding on the knock-off carrier board
what am I doing wrong.
thanks in advance
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"any small object, accidentally dropped, goes and hides behind a larger object."
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/
·
dro.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
in medio virtus
Post Edited (inservi) : 3/3/2007 1:44:56 PM GMT
I changed the contrast adjusting loop from "130" to various settings and still do not see a difference. just a blue scr.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"any small object, accidentally dropped, goes and hides behind a larger object."
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/
·
I tried VOLDOWN ($D7) and, "Houston, we see some activity" - not there fully yet though.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"any small object, accidentally dropped, goes and hides behind a larger object."
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/
·
outside of writing some of the guts in ASM, are there any recommendations to making this faster. Also, any thougths on displaying regular text? Will that be any faster than the Gx plotting ?
thanks
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"any small object, accidentally dropped, goes and hides behind a larger object."
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/
·
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
You can also download the object directly at: http://forums.parallax.com/forums/attach.aspx?a=8953
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I stand on the shoulders of giants
Harrison, Beau, currently checking the SPI Lib in ASM - will report back
thanks all
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
"any small object, accidentally dropped, goes and hides behind a larger object."
·
ALIBE - Artificial LIfe BEing. In search of building autonoumous land robot
http://ALIBE.crosscity.com/
·
I will be ordering the display soon and will try the SPI as well.
Len
Paul Baker has done the Epson driver for this lcd.· Has anyone done a Phillips driver for the (nearly identical) Phillips lcd? The pin outs are the same. Nokia phones are supposed to be smart enough to figure out which driver to use.
I·scrounged my lcds from·a Nokias 3390 and 6030 (if i remember right), and they still work in the·phones when i put them back, ·but my problem is (according to info in the link below)·they're talk Phillips not Epson.
http://www.electricstuff.co.uk/noklcd.html
Anyway, I have tried to convert the Epson driver code to use Phillips commands etc., but not having much success. A pretty blue screen that does nothing.
Oh, and i am using the·SparkFun lcd break out board. http://www.sparkfun.com/commerce/product_info.php?products_id=600·using·Header 1 (vin, cs, clk, data, reset, gnd) , tried jumpers jumped, unjumped.
If someone has already been thru this for the Phillips, I would really like to here about your experience.
thx
·<edit> attached my Philipized version of Pauls code, such as it is.
Post Edited (Jello) : 4/4/2007 11:25:02 PM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
I stand on the shoulders of giants
The good news is: the lcd was not seated properly in the board! hooray! (shame on me for not looking closer)
The other good news is my version of the Philips driver even works! hazaa! yippee!
But.. like stated in an earlier post, it's really, really slow..·but it's better than nothing [noparse]:)[/noparse]
So, I·took·some advice (also in an earlier post) and refactored to use the faster SPI Engine.spin assembly spi code.
The bad news is,·the spi engine does not seem to work.
Attached·is the updated·Philips driver if anyone gets a hankering to look at the spi engine calls.
Seems like it should work. hmm.
thx!
<edit> to update attachment
Post Edited (Jello) : 4/7/2007 1:47:23 AM GMT
The controller takes 9 bit commands/data
Cmd = 0 + 8bits of data
Data = 1 + 8bits of data
PUB SendCommand(cmd)
SHIFTOUT(SData, SClock, cmd, MSBFIRST, 9) ' spin version
'SPI.SHIFTOUT(SData, SClock, MSBFIRST, 9, cmd) ' assembly version not working here
PUB SendData(data)
' SHIFTOUT(SData, SClock, data | $100, MSBFIRST, 9) ' spin version
SPI.SHIFTOUT(SData, SClock, data | $100, MSBFIRST, 9) 'assembly version DOES work here
It's got to be something simple. I am just not seeing it yet.
J
Nokia Test.spin (top object file)
NokiaLCD.spin
SPIEngine.spin
The part I was messing with is in NokiaLCD.spin toward the bottom of the file in InitLCD, there's a SendSpcCommand() call which calls the Spin shiftout routines to send a $00 to the LCD, then everything's SPI after that. My LCD works fine like this, but if you change SendSpcCommand() to SendCommand() (or even just comment out the whole line), the LCD is unresponsive.
Hopefully someone can figure this one out, it's got me stumped!