Hi all
I am on a project to make an instrument to measure salinity at Artic glaciers. We have implemented multiple I2C sensors to do so, but want a new sensor attached for benchmark. However I have problems communicating with it, so I hope you can help me. I am using an Arduino Mega and serial communication.
I am using the Breakout - MAX3232 (https://www.sparkfun.com/products/11189).
I have attached a picture of the wiring: Yellow to sensor = RS-232-RXD, green to sensor = RS-232-TXD
The sensor I am using is the Aanderaa Conductivity Sensor 4319.
Datasheet for sensor: https://www.aanderaa.com/media/pdfs/TD2 … r-4319.pdf
The specific Rs232 protocol is explained from page 27 and forward.
I have some limited experience with the serial/UART communication. I have tried setting up the attached code, but all I get in return is -1’s so it is obviously not working. Have you guys any advice for me?
Thanks in advance. Let me know if you need more information.
Best
Lucas Sandby (Stud. Mech. Eng.)