kasbert / epsolar-tracer

Tools for EPsolar Tracer BN solar charge controller
Apache License 2.0
120 stars 76 forks source link

epsolar-tracer

Tools for EPsolar Tracer A and BN solar charge controller

Img

This is the second generation of the EPsolar Tracer solar charge controller. You need RS-485 adapter for communication. The first generation controller used RS-232 and a different protocol. see https://github.com/xxv/tracer.

Product link 1
Product link 2

Check EPEVER site for more info and Windows software. There are also some nice pictures on Tumblr.

Linux driver for Exar USB UART

In directory there is a Linux driver for Exar based USB RS-485 adapter. The original source was from Exar website, but it has dissapeared when MaxLinear acquired Exar.

Protocol

Protocol See for windows capture for some extra commands.

Python module

Uses modbus library (https://github.com/bashwork/pymodbus)
Example output

# python info.py 
Manufacturer: 'EPsolar Tech co., Ltd'
Model: 'Tracer2215BN'
Version: 'V02.05+V07.12'
Charging equipment rated input voltage = 150.0V
Charging equipment rated input voltage = 150.0V
Charging equipment rated input current = 20.0A
...

Wiring

Epsolar controller uses RJ45 connector. If you use other RS-485 adapter than Exar, you may create the cable from an Ethernet cable. Check the colors from the following tables, your cable is typically T768B or T768A.

The other pins are used by MT-50 display and not needed with USB adapter.

Pin Function Wire Eth. T768A Eth. T768B
1 Power White-Green White-Orange
2 Power Green Orange
3 RS-485-B White-Orange White-Green
4 RS-485-B D - Blue Blue
5 RS-485-A White-Blue White-Blue
6 RS-485-A D + Orange Green
7 Ground White-Brown White-Brown
8 Ground GND Brown Brown