• Stars
    star
    121
  • Rank 293,924 (Top 6 %)
  • Language
    C
  • License
    Apache License 2.0
  • Created over 9 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Tools for EPsolar Tracer BN solar charge controller

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.

  • Connect brown wire to adapter pin marked as GND if your adapter has the pin.
  • Connect blue wire to the adapter pin marked as B or D-
  • T768A: Connect orange wire to adapter pin marked as A or D+ OR
  • T768B: Connect green wire to adapter pin marked as A or D+ .

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