I'm trying to read serial data from some older testing equipment, then process it through an Arduino Uno to save it and thermal print it. The machine I'm trying to extract data from has a DB25 serial port and a 9600 baud rate. If I hook a USB-Serial cable to the machine, I can extract the data with putty very easily. My problem happens when I try to send the data to an Uno. I'm using an RS232 to TTL breakout board, and I'm not sure what chip is on it. I set up a SoftwareSerial example sketch, it would RX from the SoftwareSerial, and TX to the regular serial, very slightly modified from the example. I tested the sketch by looping a USB-Serial cable to it and everything I typed into putty showed up in the serial monitor. That also confirmed that the RS232-TTL board was working. When I hook the testing equipment up to the arduino, none of the information is displayed on the serial monitor. I've double and triple checked my baud rates, and I even switched to AltSoftSerial and still didn't get any results.
I have attached a screenshot of the data I received using the Serial-USB cable. I'm thinking the odd character at the beginning of the line is causing the trouble, or at least a clue as to what is going on. The manual for the equipment doesn't mention that column. It says column 1 will either be "ON" or "OFF". Does anyone have any ideas why I can't see this data when I put it through the arduino?
It may be that your old device needs some of the additional "modem control" signals sometimes implemented on those 25pin connectors. These would (maybe) be provided by the USB/RS232 device, but not by the Arduino.
Try connecting jumpers between pins 4, 5, and 6 of the DB25...
I'm trying to read serial data from some older testing equipment, then process it through an Arduino Uno to save it and thermal print it. The machine I'm trying to extract data from has a DB25 serial port and a 9600 baud rate. If I hook a USB-Serial cable to the machine, I can extract the data with putty very easily. My problem happens when I try to send the data to an Uno. I'm using an RS232 to TTL breakout board, and I'm not sure what chip is on it. I set up a SoftwareSerial example sketch, it would RX from the SoftwareSerial, and TX to the regular serial, very slightly modified from the example. I tested the sketch by looping a USB-Serial cable to it and everything I typed into putty showed up in the serial monitor. That also confirmed that the RS232-TTL board was working. When I hook the testing equipment up to the arduino, none of the information is displayed on the serial monitor. I've double and triple checked my baud rates, and I even switched to AltSoftSerial and still didn't get any results.
I have attached a screenshot of the data I received using the Serial-USB cable. I'm thinking the odd character at the beginning of the line is causing the trouble, or at least a clue as to what is going on. The manual for the equipment doesn't mention that column. It says column 1 will either be "ON" or "OFF". Does anyone have any ideas why I can't see this data when I put it through the arduino?
Thanks!
Why why why why are you using an Arduino for this? ? ?
Makes no sense.
Process it through an Arduino? What does that mean?
ieee488:
Why why why why are you using an Arduino for this? ? ?
Makes no sense.
Process it through an Arduino? What does that mean?
.
The equipment outputs data over the serial line. What I'm trying to do is export the data to an sd card and/or print with a thermal printer. The arduino is necessary to manage the data because there's no sd card slot on the machine.
westfw:
It may be that your old device needs some of the additional "modem control" signals sometimes implemented on those 25pin connectors. These would (maybe) be provided by the USB/RS232 device, but not by the Arduino.
Try connecting jumpers between pins 4, 5, and 6 of the DB25...
That's interesting, and I'll try to read up on the pinouts. I ordered a DB25 breakout connector so I can try to jumper the pins as it's gonna be kinda hard to do with the parts I have on hand.