Home
Prox / RFID
Verichips
Ladder Logic
[interfacing] †
Tube Joints
Key Code From Photo
SolveSpace (3d CAD)
SketchFlat (2d CAD)
Photographs
Miscellany
Resume / Consulting
Contact Me

LDmicro Forum - 16x2 Serial LCD Line & Positions

(you are viewing a thread; or go back to list of threads)

16x2 Serial LCD Line & Positions (by Raja)
Anybody can help me how to select column and row while sending formated text over UART. I tried with the combinations of \3\r\n etc. but the text is keep on scrolling. How to print text on LCD at the same position without scrolling.
Mon Aug 1 2011, 05:25:37
(no subject) (by Boris)
It is not that simple, depends which LCD You have.
I have serial LCD where \r\n is not valid command I have to use \xFE\x02 for home position.
Look in datasheet for serial which command is what.
Mon Aug 1 2011, 08:16:46
(no subject) (by Raja)
I used the project for LCD from following link. http://letsmakerobots.com/node/4415
If I use the LCD with PC working fine!
Mon Aug 1 2011, 14:18:43
correct (by Diego Goethel)
Hi, I live in brazil, the city is são leopoldo, state rio grande do sul.

I also had the same problem like Raja, the text on scrolling too, so i used the command \xFE\x02 and was good, but the first word get flashing, Boris, do you have any helps for this problem?
I'm using the serial lcd

My program is one level analog control.
thanks,

Best regards

Diego
Sat Aug 6 2011, 21:18:53, download attachment AD DIEGO.HEX.hex
program (by Diego Goethel)
the program
Sat Aug 6 2011, 21:20:39, download attachment AD DIEGO.ld
printing em serial lcd (by Aldemir da silva)
Sat Aug 6 2011, 21:37:24
(no subject) (by Boris)
I am using 2x16 serial LCD.
Message must be 16 character long [text, space, and ( \3 three character) ( \4 four character)]
LDMicro 000\3\xFE\xC0 following text will be in II row
LDMICRO 000\3\xFE\x02 following text will be in I row

"xFE" prepares LCD for command
"x02" will send following text to I row
"xC0" will send following text to II row
"x94" will send following text to III row (4 line LCD)
"xD4" will send following text to IV row (4 line LCD)

In example You will see how it works for me.

It will look like this on 4x20 LCD

Vakum 1 000
Vakum 2 000
Ekspozicija 1 000
Ekspozicija 2 000

It will look like this on 2x16 LCD

START 0000
STOP 0000
Sun Aug 7 2011, 06:12:55, download attachment LCD.ld
(no subject) (by Boris)
I dont know why text is not the same is in text window.

Vakum 1..........000
Vakum 2..........000
Ekspozicija 1....000
Ekspozicija 2....000

START.......0000
STOP........0000

Without dots.
Sun Aug 7 2011, 06:19:18
thanks, (by Diego Goethel)
Thanks, for your example Boris

Valeu Aldemir
Thu Aug 11 2011, 21:27:28
(no subject) (by Boris)
Is it working for You also.
Which serial You have?
Fri Aug 12 2011, 13:18:59
brand (by Diego Goethel)
It's working normally, I'm using lcd serial without backlight 16X and the brand is tato.
follows the attached datasheet of tato display

regards.
Tue Aug 16 2011, 19:32:10, download attachment TS-216.pdf
(no subject) (by David)
Or thiss
Wed Sep 30 2015, 08:48:02, download attachment Screenshot_2015-09-30-15-45-09.png
(no subject) (by Alex)
how do i place the columns? x02 to I row, xC0 to II row, columns?, thanks a lot.
Mon Jan 11 2016, 18:11:41
Post a reply to this comment:
Your Name:
Your Email:
Subject:
(no HTML tags; use plain text, and hit Enter for a line break)
Attached file (if you want, 5 MB max):