LCD-09351 interface
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
LCD-09351 interface
i have purchased a sparkfun lcd display with a back pack. only 3 wires
pos gnd and rx. connected the rx to pin io1 on the armmite. using serout i can
get empty blocks to appear but no characters and no control . sku: LCD-09351
this is the lcd from sparkfun that i am using.
thanks
phijoh62
pos gnd and rx. connected the rx to pin io1 on the armmite. using serout i can
get empty blocks to appear but no characters and no control . sku: LCD-09351
this is the lcd from sparkfun that i am using.
thanks
phijoh62
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: LCD-09351 interface
Sounds like you're communicating.
Are you sure, you've got the baud rate set correctly. You should be able to
work through the command sequences on the spec here
http://www.sparkfun.com/datasheets/LCD/ ... ataSheet-0\
8884-SerialGraphicLCD-v2.pdf
Are you sure, you've got the baud rate set correctly. You should be able to
work through the command sequences on the spec here
http://www.sparkfun.com/datasheets/LCD/ ... ataSheet-0\
8884-SerialGraphicLCD-v2.pdf
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: LCD-09351 interface
I scrolled through some of the user comments on the SparkFun page, and it looks
like a lot of people have a lot of trouble with this LCD, though some have got
it to work.
Among some notes, seems like you have to slow down the baud rate, and to wait a
while between commands.
You're really going to have to dig into the SparkFun forums, to find the
information needed to get it to work.
While it looks a bit discouraging, I ran into a similar problem with a TCM8230MD
from SF. Looking at most of the comments, seems like no on got it to work, but
there was one person who did and his setup was pretty simple. So I ended up
buying the camera and it was indeed fairly easy to get working.
like a lot of people have a lot of trouble with this LCD, though some have got
it to work.
Among some notes, seems like you have to slow down the baud rate, and to wait a
while between commands.
You're really going to have to dig into the SparkFun forums, to find the
information needed to get it to work.
While it looks a bit discouraging, I ran into a similar problem with a TCM8230MD
from SF. Looking at most of the comments, seems like no on got it to work, but
there was one person who did and his setup was pretty simple. So I ended up
buying the camera and it was indeed fairly easy to get working.
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: LCD-09351 interface
works!!!! had to use 115200 and can only use the txd right now. how do you send
multiple commands on one line?? thanks for the help
multiple commands on one line?? thanks for the help
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: LCD-09351 interface
baud rate worked at 115200, can send commands as well as text .need to find out
how to send a string of comands on the same line. thanks for the help. great
forum!!
how to send a string of comands on the same line. thanks for the help. great
forum!!
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: LCD-09351 interface
Sorry, but I don't understand your question. BASIC or C? And some more details
would help.
would help.
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: LCD-09351 interface
i am using BASIC. when i try to send commands on the txd line i can only put one
command in. for example
TXD1=$07c is ok but if i try TXD1=$07c,$00
command in. for example
TXD1=$07c is ok but if i try TXD1=$07c,$00
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: LCD-09351 interface
The compiler does flag that as an error
TXD1 = &H7c
TXD1 = &H00
$ is OK, I'm just trying to ween myself over to the VB syntax
TXD1 = &H7c
TXD1 = &H00
$ is OK, I'm just trying to ween myself over to the VB syntax
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: LCD-09351 interface
is there a way to put multiple commands on the same line??
-
- Posts: 1462
- Joined: Fri Oct 19, 2012 5:11 am
Re: LCD-09351 interface
You can create strings, and then write a string routine that will send out the
string. Note that 0 is a special character for a string, the character that
terminates it.
sub sendstring (byref s as string)
dim i as integer
i=0
while s(i)
txd1 = s(i)
i = i+1 ' could use +=1 if you upgrade to the new compiler
loop
txd1 = 0 ' if the LCD needs it
endsub
...
dim s(20) as string
s = chr(&H7c) ' you can concatenate more characters here with + or &
sendstring (s)
should do it
string. Note that 0 is a special character for a string, the character that
terminates it.
sub sendstring (byref s as string)
dim i as integer
i=0
while s(i)
txd1 = s(i)
i = i+1 ' could use +=1 if you upgrade to the new compiler
loop
txd1 = 0 ' if the LCD needs it
endsub
...
dim s(20) as string
s = chr(&H7c) ' you can concatenate more characters here with + or &
sendstring (s)
should do it