Communicating with ethernet to serial LED sign - is this feasible?


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Communicating with ethernet to serial LED sign - is this feasible?
# 1  
Old 01-07-2020
Communicating with ethernet to serial LED sign - is this feasible?

I have a london-electronics LED sign I picked up on eBay which I would like to display custom messages on programmatically. It is working ok.
Opening it up, it has an ethernet to serial connection currently plugged in and a serial connection currently unplugged internally (same connectors). Ideally, I would like to communicate with it over ethernet to save plugging a computer into it directly.

The manufacturer kindly provided me with some links detailing serial communication with the LED sign.

Is it feasible to communicate with it over ethernet without using their windows software? If so, how can I send serial commands over ethernet?
# 2  
Old 01-07-2020
I think that all you need to do is use netcat.
Code:
echo "some message" |netcat -h led_ip_address -p port_number


Port number should be in the LED sign documentation.
# 3  
Old 01-08-2020
Thanks for responding.
I am currently testing in OS X so have modified the command a little.

As per the attached images, this command should clear the display:
Code:
\x02F901600001\x03

F9...01...60 is where the device address is entered. I tried setting this to 00 which I think should be the broadcast address. However, nothing happens to the display - it continues to run through what looks like a demo program.

I don't know the device address and can't see any means of finding it out from the windows configuration / management software. It gave me the correct IP address and port which netcat confirms is open.

I have been testing like this but nothing happens to the display:
Code:
echo -e \x02F900600001\x03 | nc 192.168.0.188 1001

Command info:
Image
Image

Last edited by rbatte1; 01-09-2020 at 07:35 AM..
# 4  
Old 01-08-2020
Device address probably should be one, not zero.

The concept of device address stems from RS485 serial communications that allow for daisy chained devices.


Are there possibly dip switches or a ROM config process to set the device address?
# 5  
Old 01-08-2020
1 doesn't work either. I was going by the screenshots I tried to share but I don't think they went up.
I have attached them to this post.

Communicating with ethernet to serial LED sign - is this feasible?-screenshot-2020-01-08-161834png

Communicating with ethernet to serial LED sign - is this feasible?-screenshot-2020-01-08-161853png
# 6  
Old 01-08-2020
Does the ethernet to serial adapter have a brand name on it? Often these devices are oem'd from a third party that manufactures the adapters. Also, they are often configured on the LAN using a browser. If you know the ip address of the adapter have you tried putting that address into a browser to see if you get invited to configure the thing?

To answer your first question, yes, it is certainly possible to access a serial device over ethernet using an adapter.

e.g.
NETRS232485 | Startech RS232 to Ethernet Ethernet Adapter | RS Components
# 7  
Old 01-08-2020
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Script to send serial commands over ethernet

Hi there, I have a Debian server (192.168.1.1) connected through ethernet to a RS232 device servers (192.168.1.5) that is then connected through RS232 to a Video Projector. The idea is that I want to send commands to the video projector (eg. turn on/off) via the device server. According to... (4 Replies)
Discussion started by: chebarbudo
4 Replies

2. Programming

Child threads communicating with main thread via pipes

I have a simple client/server program I am using for learning purposes. I have it setup so that after server is setup and listening it than goes into a loop where it accepts incoming client connections. After each connection, the client socket is than passed to a thread routine where it can be... (3 Replies)
Discussion started by: Majortom71
3 Replies

3. IP Networking

Need a bridge from an ethernet interface to a serial interface

This is my situation DOS pc serial cable (sl0) Linux Pc eth1 192.168.0.10 <-------------------->192.168.0.2 <------------>192.168.0.1 (router) I connected the linux pc and the dos pc with a SLIP (serial line internet protocol), so they can communicate in the sl0 interface. ... (3 Replies)
Discussion started by: mghis
3 Replies

4. Programming

ERROR while communicating with gmail

$./a.out smtp.gmail.com 25 220 mx.google.com ESMTP 9sm2923369yxf.23 250 mx.google.com at your service 220 2.0.0 Ready to start TLS after handshake Common Name: smtp.gmail.com after get cert dn -----BEGIN SSL SESSION PARAMETERS-----... (0 Replies)
Discussion started by: darshan.ghumare
0 Replies

5. Ubuntu

Ubuntu 9.04 Serial application to telnet to serial device

Hello! I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Discussion started by: mvona
5 Replies

6. AIX

how to know my serial port is communicating and running fine

i want to know that my serial port ( pci slot with 2 port ) is working fine and communicating is there any way to know the serialport is working and communicating? please help (3 Replies)
Discussion started by: pchangba
3 Replies

7. UNIX for Dummies Questions & Answers

Communicating Via Terminals With Other Computers

Hello, I would like to know if it is possible to communicate between two terminals on seperate computers for free - e.g. not using proprietary software or using the built in UNIX terminals on operating systems of the UNIX flavor. Thanks, photray94 (2 Replies)
Discussion started by: photray94
2 Replies

8. UNIX for Advanced & Expert Users

Communicating with Serial Port

I am using system running on red hat linux 4. I had connected health measuring machine to the serial port and configured it stty -F /dev/ttyS0 9600 -parenb cs8 -cstopb this machine requires a command to be passed to it for giving output. I am unable to pass command hexa format(0x68) to the... (4 Replies)
Discussion started by: netsavant
4 Replies

9. Shell Programming and Scripting

Sign on/Sign off logging script

I'd like to make a script that I can execute every time I sign on to my linux box that keeps track of the time and allows to me to add a remark to a file. So basically once I log in, I run the script, and it outputs the date and time to a text file (log.txt). But that isn't my problem. I need... (1 Reply)
Discussion started by: Glider
1 Replies

10. UNIX for Advanced & Expert Users

How to use 2 Proccess communicating with each other using 2 pipe

Hi, Guys ... I want to know how to use to 2 processes (A & B) communicating with each others through 2 pipes (Pipe1 & Pinpe2) : such that process A write to Pipe1 and Process B read from Pipe1 and process B write to Pipe2 and Process A read from Pipe2 . Does anyone have an idea about... (1 Reply)
Discussion started by: someone33
1 Replies
Login or Register to Ask a Question