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 - LCD Controller Module

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

LCD Controller Module (by Alex)
Hello everybody, i was trying to use this ladder "Startfile_serial_displayV2.ld" from http://cq.cx/ladder-forum.pl?action=viewthread&parent=3084

with arduino UNO, using Xloader v1.00, i made some attempts with led blink for example and it worked ok, now i try to use it with UART, using a lcd module i got from a friend(image attach in pdf) , actually i could run that ladder(Startfile_serial_displayV2.ld) with PIC in the past and it worked very well, also clock6_877a-V4.ld from same post but all using PIC, now i´m trying to use it with arudino, but i have to change the commands, i have tried to change them but when i test it on my ardudino nothing happens i attach the ladder i changed, i also get some error (image attach)

(commands are in pdf)
Tue Jun 6 2017, 17:29:06, download attachment LCD Controller Module.pdf
(no subject) (by Alex)
ladder with module commands
Tue Jun 6 2017, 17:30:20, download attachment Startfile_serial_displayV2(modificado).ld
(no subject) (by Alex)
error
Tue Jun 6 2017, 17:30:47, download attachment error - 3202.jpg
(no subject) (by Alex)
module
Tue Jun 6 2017, 17:31:49, download attachment lcd module.jpeg
Error (by William)
Hello Alex, we have same problem. You can use older version of LDmicro, to fix it error. I use LDmicro 4.0.0 and i have no error.
Tue Jun 6 2017, 22:04:47
(no subject) (by Alex)
I´ll check, thanks for your reply
Tue Jun 6 2017, 23:37:14
(no subject) (by MGP)
Always the same mistake, you can't dump all these characters from 1 rung in the serial buffer, because of the cycle time.

It needs time to send all these characters and you need a counter like in this program, in this case the status-variable is in use.

https://github.com/LDmicro/LDm...CD-based-on-HD44780-controller
Wed Jun 7 2017, 03:16:38
(no subject) (by Alex)
i decided to use the serial interface described at https://github.com/LDmicro/LDm...CD-based-on-HD44780-controller

but as William said, i had to compile it with older version, 4.0.0 and works ok
Sat Jun 10 2017, 22:28:52
(no subject) (by Alex)
test_1
Sat Jun 10 2017, 22:29:49, download attachment arduino_uno_serial_lcd.jpg
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):