Sending and receiving serial data on LDC1430
- Hermosaltn
- Topic Author
- Offline
Less
More
- Posts: 4
- Thank you received: 0
9 years 10 months ago #29528064
by Hermosaltn
Sending and receiving serial data on LDC1430 was created by Hermosaltn
Hi all,
As a sort of experiment I bought this serial enabled display: www.robot-electronics.co.uk/files/LCD05.pdf
I assumed I was able to send serial data out of the LDC. I have a serial to TTL intrface board wired up, but have not succeeded in writing anything to the display. Sending RS232 data is not really covered in the manual. Is is at all possible? Should I be able to get this to work or am I chasing a ghost?
I am planning om making a somewhat more elaborate keyboard to interface with the controller than the I/O\'s would allow.
The above mentionned display conveiniently hooks up to a matrix keypad and sends the data back through RS232. I\'d like to use that data, saving I/O\'s.
I\'m new to this forum and by no means do I plan to only suck information. I hope I can help some other peeps out. I do have experience, just not with RS232.
As a sort of experiment I bought this serial enabled display: www.robot-electronics.co.uk/files/LCD05.pdf
I assumed I was able to send serial data out of the LDC. I have a serial to TTL intrface board wired up, but have not succeeded in writing anything to the display. Sending RS232 data is not really covered in the manual. Is is at all possible? Should I be able to get this to work or am I chasing a ghost?
I am planning om making a somewhat more elaborate keyboard to interface with the controller than the I/O\'s would allow.
The above mentionned display conveiniently hooks up to a matrix keypad and sends the data back through RS232. I\'d like to use that data, saving I/O\'s.
I\'m new to this forum and by no means do I plan to only suck information. I hope I can help some other peeps out. I do have experience, just not with RS232.
Please Log in or Create an account to join the conversation.
- Griffin Baker
9 years 10 months ago #29528065
by Griffin Baker
Replied by Griffin Baker on topic Re:Sending and receiving serial data on LDC1430
I don\'t see why you couldn\'t use the serial interface to get the data. If you are connected to the roborun utility, you can write the script, run it, and have the data printed back in the console tab so you can see it in real time.
Please Log in or Create an account to join the conversation.
- Hermosaltn
- Topic Author
- Offline
Less
More
- Posts: 4
- Thank you received: 0
9 years 10 months ago #29528066
by Hermosaltn
Replied by Hermosaltn on topic Re:Sending and receiving serial data on LDC1430
Thank you for your reply. Yes I can do the `hello world` thing in roborun. Nothing on the display though, but maybe they just don´t talk (display is no parity, two stop bits)
Anyway, is it possible to write a script to react to serial data (not commands)
Anyway, is it possible to write a script to react to serial data (not commands)
Please Log in or Create an account to join the conversation.
- Griffin Baker
9 years 10 months ago #29528067
by Griffin Baker
Replied by Griffin Baker on topic Re:Sending and receiving serial data on LDC1430
If you use the !VAR commands, you can receive numbers but you aren\'t able to receive back any string data.
The controller can\'t receive and report back text data.
The controller can\'t receive and report back text data.
Please Log in or Create an account to join the conversation.
- Hermosaltn
- Topic Author
- Offline
Less
More
- Posts: 4
- Thank you received: 0
9 years 10 months ago #29528068
by Hermosaltn
Replied by Hermosaltn on topic Re:Sending and receiving serial data on LDC1430
Well, the idea was that the button pad connections on the display send data to the controller, controlling different functions. Içan;t access the display microcontroller.
I was expecting the display to show the text send through the print() command but it doesn\'t
I was expecting the display to show the text send through the print() command but it doesn\'t
Please Log in or Create an account to join the conversation.
- Griffin Baker
9 years 10 months ago #29528069
by Griffin Baker
Replied by Griffin Baker on topic Re:Sending and receiving serial data on LDC1430
If you have any type of terminal type emulation software, try interfacing with that using the comport. See if your display can receive data from the pc through the comport. Under the assumption that your comport wiring Tx and Rx lines are properly wired, this may work.
Please Log in or Create an account to join the conversation.
Moderators: tonysantoni
Time to create page: 0.075 seconds