I am working on a project that involves reading a data stream, converting the data to a different format then outputting it to a serial port to connect to a PC for further processing. The transmitting device sends a constant stream of data and the receivers normally process the data. This is used to light a matrix of lights on a sign all controlled by the transmitting device. These lights are to signal when a process has been completed.
The cable that runs to the devices are a two pin cable, like phone cable. Some say it is running RS-485. After looking at the circuit board, I see that the data is basically a TTL configuration. I did measure with a scope and get 5V. I purchased a TTL-Serial/USB converter but can not seem to find the right data. This system is a very old technology and has been around for over 20 years so documentation is not an option. The company who made it is no longer in business. I am trying to modernize it by interfacing with it to output to a tv screen. Eventually, we will completely change the system with something but until then, I need this quick fix. So, this brings up some questions.
- How do I determine the speed of the TTL data?
- How do I determine the speed of the serial port?
- Do the TTL speed and RS-232 speed need to match? Buffering?
- Is it possible to have the arduino read the TTL data stream and display via console?
- Can the arduino be setup to be a capture device? protocol analyzer?