Send carater chain in serial port to 4 x20 lcd

Antworten
TOURNEUR
Beiträge: 35
Registriert: Samstag 22. Mai 2010, 23:56

Send carater chain in serial port to 4 x20 lcd

Beitrag von TOURNEUR » Sonntag 29. August 2010, 14:48

HI !

For new personal devellopement ,I built one 4X20 lcd working on RS232 port com .

The device ,work on 19200 baud on com1.

In the site were I take the circuit board, they give me for testing the lcd circuit one soft .

It may explain ,we must start with the number of line ,the chain data ,and must finish with #$ at the end of caracter chain.

For exemple ,if I want to wrote on the line 1 : TEST

I must wrote on the lcd test software : 1 TEST #$
And "TEST" appear on my LCD display .

Here my Profilab circuit ,but nothing appear ...

Can you help me ,or send me one way
Dateianhänge
try to send caracter.JPG
here the configuration com 1 panel
try to send caracter.JPG (27.05 KiB) 3197 mal betrachtet
send caracter.JPG
here my testing project with "TEST" data
send caracter.JPG (64.96 KiB) 3201 mal betrachtet

KAKTUS
Beiträge: 645
Registriert: Samstag 18. Oktober 2008, 21:12

Re: Send carater chain in serial port to 4 x20 lcd

Beitrag von KAKTUS » Sonntag 29. August 2010, 15:50

Why you didnt connect the send Input??????????????????????

Try this.

This is sending line number and text without any other characters between. If you need a Space between, take a $CONST and change $ADD to 3 Inputs.
Dateianhänge
LCD-RS232.prj
(3.15 KiB) 223-mal heruntergeladen
stachlige Grüße, Kaktus

TOURNEUR
Beiträge: 35
Registriert: Samstag 22. Mai 2010, 23:56

Re: Send carater chain in serial port to 4 x20 lcd

Beitrag von TOURNEUR » Sonntag 29. August 2010, 17:11

IT'S WORKING SO GOOOD !!!!!
I'm so very far to take the good solution !

Yes , I forgotten put the send comand, but it was just one timer generator .
I try use other fonction ,with octet input sending ,or using ascii convertor, but the builder of the hardware and software had created the µc for receive direct character sending ,

You don't know ,this post can help me so good in the continuity of my devellopement !

In past i test I/O hardware for relay or contact input not other .

I'm so very happy !!!!

Thank you very much Kaktus !!!!!

KAKTUS
Beiträge: 645
Registriert: Samstag 18. Oktober 2008, 21:12

Re: Send carater chain in serial port to 4 x20 lcd

Beitrag von KAKTUS » Montag 30. August 2010, 11:13

Im happy to help you. No problem.
stachlige Grüße, Kaktus

Antworten

Zurück zu „Thema RS232“