I need to read weight values form a digital balance (A&D FX-120i). If I connect the scale directly to my computer via a USB to RS232 converter the computer can send commands to the scale and the scale returns the weight.
If I connect my Uno to the computer via the USB to RS232 converter I can send command from the Uno to the PC and receive data from the PC, monitored via serial monitor.
Once I connect the Uno to the scale, using software serial and a ttl to RS232 shield I can receive data send from the scale to the Uno but once I send commands to the scale from to Uno no feedback is received. I think it might be a terminator issue? Please find my code below and advise.
My shield is connected as follow:
VCC - 3.3V pin
RXD - pin 6
TXD - pin 5
GND - GND pin
One other thing that is weird, as soon as I connect my external 12V 1000mA and no longer use the usb cable as the only power source I cant even receive serial communication as I currently do.
smithchristof:
The Uno is connected to the computer through the shield with the same cable
Can you draw a diagramm of your connections? A simple paint drawing will do. Please also add your computer and the program it runs to the drawing. All connections should be visible in the drawing (also power and usb).