Building a cable to connect my EPever charge controller

I recently purchased an EPever Tracer AN solar charge controller. I chose this charge controller because it is one of the only controllers on the market which have a built in Lithium battery cold temperature protection feature. When I purchased this controller I thought it would be easy to get it working with my Raspberry Pi using the official EPever USB to RS-485 cable. It did work fine on Windows but on Linux after several days of trying I gave up trying to get it working on Linux. The chip used in this cable does not have up to date Linux drivers and I could not get drivers that I found on Github working reliably.

EPever Tracer AN – https://amzn.to/3g2qbEi

After some research, I decided to have a go at making my own cable instead which would use a chip that already has reliable Linux drivers.

Parts

DTECH USB to RS485 or RS422 – https://amzn.to/2XrZ3bg
COVVY RJ45 Female To 8 Pin Screw Term Block Terminal Connector – https://amzn.to/2XtlPQ3
Generic Cat 5 Cable – https://amzn.to/3iO1c9v
Jumper wire cables – https://amzn.to/3m4sJWg

Building the cable

The first step is to connect the serial port breakout to the USB connector and wire the serial using the jumper cables. They should be connected to TXD -, TXD+ and GND. RXD is not used for RS-485 communication.

The next step is to connect the jumper cables and the Cat 5 cable to the RJ45 breakout terminal block, connecting to terminals 3, 5 and 7.

TXD- goes to terminal 5
TXD+ goes to terminal 3
GND goes to terminal 7

Your cable is now ready to connect to your computer and the charge controller.

On Linux the cable will show up as something like /dev/ttyUSB0. You shouldn’t need to install any additional drivers. I recommend using my Python library to communicate with the charge controller https://github.com/rosswarren/epevermodbus.

2 Comments

  1. Ron's avatar Ron says:

    The picture under “Building the cable” is missing. Now I Don’t how to connect the cable to the PI.

    Like

    1. Ross Warren's avatar Ross Warren says:

      Hello Ron, I’m sorry about the problem with the images. I made a mistake when uploading them. Please could you try again now that I have updated the post? I think you will be able to see them now.

      Like

Leave a Comment