Secondary Menu

Use Arduino to Communicate With Tracer MT5 Charge Controller

Introduction: Use Arduino to Communicate With Tracer MT5 Charge Controller

I bought an MPPT TRACER 3215RN Solar Charge Controller, made by EP Solar (I've also seen SainSonic mentioned as the manufacturer, but it's the same product). I wanted to use my computer to monitor the PV panel and battery instead of buying the manufacturer's MT-5 Remote Meter, (a) because I wanted to log the data on my computer, and (b) why spend $36 when you don't need to.

I hunted around on the Internet and found a straightforward way of doing this with an Arduino Uno. I hope it works for you.

Step 1: Prepare Ethernet Cable

Get an Ethernet cable. It makes your head spin when you start looking into connector standards (technically the Tracer uses 8P8C), but so long as it has 8 wires it should be ok.

Cut the connector off one end.

Plug the end with the connector still on it into the Tracer.

On the end you just cut, use a multimeter to determine which wires are which:

- 4 of them will be ground

- 2 of them will be approx +12V

- 2 of them will be approx +3.3V

Trim off three of the ground wires and the two 12V wires, so you're left with one ground wire and the two 3.3V wires.

I then soldered breadboard wires to the three used wires to make it easy to hook up to the Arduino.

Step 2: Install This Arduino Sketch

This Arduino sketch (and most of the info in this posting) is from https://github.com/xxv/tracer However they used a serial baud rate of 57600, I had to drop it to 9600 to work on my Arduino/computer combination.

I had some trouble copying and pasting the sketch below because of unsupported characters, so if you get any errors with the sketch get the original from the github site.

/* * An interface to the Tracer solar regulator. * Communicating in a way similar to the MT-5 display */

Step 3: Connect Wires to Arduino

Connect the ground wire to Arduino ground.

One of the 3.3V wires connects to Arduino pin 10, and the other 3.3V wire connects to Arduino pin 11. There's probably a way of telling which goes which from the colors (comments welcome!), but there's only 2 wires so just swap them if it doesn't work first time.

Watch the results in the serial window (terminal emulator) on your computer.

I am trying to get the data on following mppt charger and i have no idea about communication with it via Arduino. I have asked the comm. protocol to the manufacturer however no answers at all. I am open to any suggestion.

http://www.cnbou.com/10a-mppt-solar-charge-controller/

It has windows based software which you can follow the info, but it only shows up the last status. We would like to save and upload to PV data to the thingspeak.

I use controller Tracer 2210 -> works fineI use Arduino Mega, serial 2 (17=RX, 16=TX)I use the exact same sketch from here above.

After I sent the initialisation strings, I do get a response from the controller that I can see on my osciloscope. I've put a "schmitt trigger" in front of the RX pin so that I get nice 5V pulses on pin 17.On my serial, I see nothing but ZERO's (except the temperature which is -30)

Baud rates are both set to 9600I tried 15 and 14 as RX and TX, but the same result.When I try another baud rate , I don't get nothing back from the charger.I tried without the schmitt trigger : same result (pulses are only 3V)

/* An interface to the Tracer solar regulator. Communicating in a way similar to the MT-5 display for ARDUINO MEGA*/// DO NOT include <SoftwareSerial.h> !!// connect RX from MT5 to pin 14 of Arduino MEGA// connect TX from MT5 to pin 15 of Arduino MEGA// Arduino MEGA has 3 Serials. Serial3 is standard 14/15 !!

/* An interface to the Tracer solar regulator. Communicating in a way similar to the MT-5 display for ARDUINO MEGA*/// DO NOT include <SoftwareSerial.h> !!// connect RX from MT5 to pin 14 of Arduino MEGA// connect TX from MT5 to pin 15 of Arduino MEGA// Arduino MEGA has 3 Serials. Serial3 is standard 14/15 !!