Hi,
I recently bought a rs232 to ttl converter ( http://www.robotshop.com/adaptateur-seriel-pololu-6.html ) in order to test PC/ digital multimeter serial communication.
I have a Arduino Mega 2560.
I wrote a little program to check if simple question/answer process works, but it doesn't.
If i send to the multimeter "S?\r" it is supposed to send back "VALUE\r" but i'm receiving the string i sent. ( note : Value is the value displayed on the multimeter).
This is how i plug the thing : i plug the multimeter to the converter with a rs232 wire (straight), i've put the converter on a breadboard and i put wires to :
Converter Arduino
VCC 5V
GND GND
Tx Rx2
Rx Tx2
I put the right baud rate for each Serial communication (9600 with Serial and the serial monitor of the IDE and 4800 with Serial2 for the multimeter as indicated in the doc).
I can't figure out why i'm receiving what i'm sending, maybe the way i plug the thing is wrong.
If anyone has some insights or comments on this, you are welcome
Thanks for reading (and sorry for my poor english)