I have a weighing indicator (AD-4401A), and I need to read it's value with Arduino Mega. According to the manual, the PINOUT of the DIN Connector 7-PIN looks like this:
Currently, I tried connecting DIN-PIN 3 to MEGA-PIN Rx0 and DIN-PIN 5 to MEGA-PIN Tx0.
Objective: Displaying AD-4401A Weighing Indicator values to Arduino Mega Serial Monitor
I've stated my objective above. I'd appreciate any helps and guidance. Thank you in advance for your help.
Why would you connect it to RX0 and TX1 on the Mega. The Mega has 4 UARTS, so I suggest that you use e.g. RX1 and TX1 (and Serial1 in the software). That way you keep the standard Serial available for debugging.
Instructables: "The 4-20mA current loop receiver board has a 16 bit ADC, whit this high-resolution ADC you can get the best possible readings from your sensor.
The 4-20mA interface is defined as an analog interface. However in this application the 4-20mA interface is being used to send digital signals so you dont need to measure the current with high resolution.
The pin-out doesnt indicate which is the current source (ie +ve)
Here's a simple digital 0-20mA (or 4-20mA) solution to provide serial data at logic levels suitable for the arduino (either 3.3 or 5V types)