BS2sx LCD...HELP!!!
Archiver
Posts: 46,084
I'm a new user to the BS2sx, and I cannot get it to work correctly
with my LCD screen. When I power up the stamp, the LCD shows its
test screen, and then fills the screen with all right triangles. I
try to run code to send "Hello World" to the screen, but it just
flashes some characters and returns to the right triangles. I have
changed the baudmode to be $40F1 as stated on the LCD's webpage. I
have no idea what to do from here. I need help [noparse]:)[/noparse]
with my LCD screen. When I power up the stamp, the LCD shows its
test screen, and then fills the screen with all right triangles. I
try to run code to send "Hello World" to the screen, but it just
flashes some characters and returns to the right triangles. I have
changed the baudmode to be $40F1 as stated on the LCD's webpage. I
have no idea what to do from here. I need help [noparse]:)[/noparse]
Comments
>I'm a new user to the BS2sx, and I cannot get it to work correctly
>with my LCD screen. When I power up the stamp, the LCD shows its
>test screen, and then fills the screen with all right triangles. I
>try to run code to send "Hello World" to the screen, but it just
>flashes some characters and returns to the right triangles. I have
>changed the baudmode to be $40F1 as stated on the LCD's webpage. I
>have no idea what to do from here. I need help [noparse]:)[/noparse]
If you'd like us to help you, we need help too. Perhaps you could pass on the
LCD's web page so we too could learn more about it, in order to help you.
Regards,
Bruce Bates
> At 03:33 AM 5/7/04 +0000, whatchooneed2000 wrote:
> >I'm a new user to the BS2sx, and I cannot get it to work correctly
> >with my LCD screen. When I power up the stamp, the LCD shows its
> >test screen, and then fills the screen with all right triangles.
I
> >try to run code to send "Hello World" to the screen, but it just
> >flashes some characters and returns to the right triangles. I
have
> >changed the baudmode to be $40F1 as stated on the LCD's webpage.
I
> >have no idea what to do from here. I need help [noparse]:)[/noparse]
> If you'd like us to help you, we need help too. Perhaps you could
pass on the
> LCD's web page so we too could learn more about it, in order to
help you.
>
> Regards,
>
> Bruce Bates
sorry bout that, www.seetron.com
>--- In basicstamps@yahoogroups.com, Bruce Bates <bvbates@u...> wrote:
>> At 03:33 AM 5/7/04 +0000, whatchooneed2000 wrote:
>> >I'm a new user to the BS2sx, and I cannot get it to work correctly
>> >with my LCD screen. When I power up the stamp, the LCD shows its
>> >test screen, and then fills the screen with all right triangles.
>I
>> >try to run code to send "Hello World" to the screen, but it just
>> >flashes some characters and returns to the right triangles. I
>have
>> >changed the baudmode to be $40F1 as stated on the LCD's webpage.
>I
>> >have no idea what to do from here. I need help [noparse]:)[/noparse]
>> If you'd like us to help you, we need help too. Perhaps you could
>pass on the
>> LCD's web page so we too could learn more about it, in order to
>help you.
>>
>> Regards,
>>
>> Bruce Bates
>
>
>sorry bout that, www.seetron.com
We're getting there, slowly but surely. Which SEETRON LCD are you trying to use?
Bruce
> At 01:30 PM 5/7/04 +0000, whatchooneed2000 wrote:
> >--- In basicstamps@yahoogroups.com, Bruce Bates <bvbates@u...>
wrote:
> >> At 03:33 AM 5/7/04 +0000, whatchooneed2000 wrote:
> >> >I'm a new user to the BS2sx, and I cannot get it to work
correctly
> >> >with my LCD screen. When I power up the stamp, the LCD shows
its
> >> >test screen, and then fills the screen with all right
triangles.
> >I
> >> >try to run code to send "Hello World" to the screen, but it
just
> >> >flashes some characters and returns to the right triangles. I
> >have
> >> >changed the baudmode to be $40F1 as stated on the LCD's
webpage.
> >I
> >> >have no idea what to do from here. I need help [noparse]:)[/noparse]
> >> If you'd like us to help you, we need help too. Perhaps you
could
> >pass on the
> >> LCD's web page so we too could learn more about it, in order to
> >help you.
> >>
> >> Regards,
> >>
> >> Bruce Bates
> >
> >
> >sorry bout that, www.seetron.com
>
> We're getting there, slowly but surely. Which SEETRON LCD are you
trying to use?
>
> Bruce
BPI-216 Serial LCD module, non backlit.
<rjherbst32@a...> wrote:
> --- In basicstamps@yahoogroups.com, Bruce Bates <bvbates@u...>
wrote:
> > At 01:30 PM 5/7/04 +0000, whatchooneed2000 wrote:
> > >--- In basicstamps@yahoogroups.com, Bruce Bates <bvbates@u...>
> wrote:
> > >> At 03:33 AM 5/7/04 +0000, whatchooneed2000 wrote:
> > >> >I'm a new user to the BS2sx, and I cannot get it to work
> correctly
> > >> >with my LCD screen. When I power up the stamp, the LCD shows
> its
> > >> >test screen, and then fills the screen with all right
> triangles.
> > >I
> > >> >try to run code to send "Hello World" to the screen, but it
> just
> > >> >flashes some characters and returns to the right triangles.
I
> > >have
> > >> >changed the baudmode to be $40F1 as stated on the LCD's
> webpage.
> > >I
> > >> >have no idea what to do from here. I need help [noparse]:)[/noparse]
> > >> If you'd like us to help you, we need help too. Perhaps you
> could
> > >pass on the
> > >> LCD's web page so we too could learn more about it, in order
to
> > >help you.
> > >>
> > >> Regards,
> > >>
> > >> Bruce Bates
> > >
> > >
> > >sorry bout that, www.seetron.com
> >
> > We're getting there, slowly but surely. Which SEETRON LCD are you
> trying to use?
> >
> > Bruce
>
>
> BPI-216 Serial LCD module, non backlit.
Here's a copy of the code I used with it:
'{$STAMP BS2sx}
N9600 con $40F1
serout 0,N9600,[noparse][[/noparse]"Hello World"]
From: "whatchooneed2000" <rjherbst32@a
> When I power up the stamp, the LCD shows its
>test screen, and then fills the screen with all right triangles.
>try to run code to send "Hello World" to the screen, but it just
>flashes some characters and returns to the right triangles.
>I have changed the baudmode to be $40F1 as stated on the LCD's webpage.
> BPI-216 Serial LCD module, non backlit.
>
> Here's a copy of the code I used with it:
>
> '{$STAMP BS2sx}
>
> N9600 con $40F1
>
> serout 0,N9600,[noparse][[/noparse]"Hello World"]
The LCD needs to start with the Serial line low,
and have time to initialize after power-up before writing to it.
Try something like:
'($STAMP BS2sx)
N9600 con 40F1
Outs=%0000000000000000 ' Define starting levels for P15-P0
'FEDCBA9876543210
Dirs=%0000000010110101 ' Define which of P15-P0 are in-0 or out-1
Pause 999 ' Give LCD time to initialize (750mS minimum)
serout 0,N9600,[noparse][[/noparse]"Hello World"]
Here is what I use with my Basic Stamp II and an older
Seetron 4x20 LCD with the serail backpack.
The PAUSE 1000 allows the LCD to wake up when you
first turn it on. This is very important.
The value for N96N is $4054 but that may be more
specific to the BSII and/or the LCD I am using. The
manual for your LCD may give a different value.
The ClrLCD does just that, clears the LCD. You would
only need that at first and of course anytime you need
the LCD cleared. The value 254 is used by my LCD to
put it into instruction mode, again your values may be
different.
I CON 254
ClrLCD CON 1
N96N CON $4054
LOW 15
PAUSE 1000
SEROUT 15,N96N,[noparse][[/noparse]I,ClrLCD]
SEROUT 15,N96N,[noparse][[/noparse]" Temperature C & F"]
Hope this helps and have a great day.
James E. Merritt
--- whatchooneed2000 <rjherbst32@a...> wrote:
> > BPI-216 Serial LCD module, non backlit.
>
>
> Here's a copy of the code I used with it:
>
> '{$STAMP BS2sx}
>
> N9600 con $40F1
>
> serout 0,N9600,[noparse][[/noparse]"Hello World"]
__________________________________
Do you Yahoo!?
Win a $20,000 Career Makeover at Yahoo! HotJobs
http://hotjobs.sweepstakes.yahoo.com/careermakeover
<rjherbst32@a...> wrote:
> I'm a new user to the BS2sx, and I cannot get it to work correctly
> with my LCD screen. When I power up the stamp, the LCD shows its
> test screen, and then fills the screen with all right triangles. I
> try to run code to send "Hello World" to the screen, but it just
> flashes some characters and returns to the right triangles. I have
> changed the baudmode to be $40F1 as stated on the LCD's webpage. I
> have no idea what to do from here. I need help [noparse]:)[/noparse]
Hello,
Make sure that you are using the correct baud rate, which is 16624
for 9600 and 16884 for 4800.