Giter VIP home page Giter VIP logo

tracer's Introduction

Communication Interface for Tracer MT-5

This is an Arduino and Python library for interfacing with the SainSonic Tracer series solar charge regulators.

This was designed to work with a "SainSonic MPPT Tracer 1215RN Solar Charge Controller Regulator 12/24V INPUT 10A"

The protocol is described in Protocol Tracer MT-5 (copy here in docs/) and implemented in Python and Arduino. There's also a copy of the C CRC as stated in the docs by itself with a test.

Physical Interface

The Tracer uses an 8P8C connector (the same physical type of connector as RJ-45 Ethernet cables, but very much not an Ethernet connection).

Pinout

Pin 1 is on the left when looking at the connector with the contacts facing forward and the wire down. See 8P8C for an example of the physical connector and location of pin 1.

  1. +12V (seems to be regulated)
  2. Gnd (common to both data and power)
  3. +12V
  4. Gnd
  5. TXD (3.3V)
  6. RXD (3.3V)
  7. Gnd
  8. Gnd

It communicates using TTL-232 at 9600 baud. TTL-232 in this context means +3.3V is 1 and 0V is 0 (not to be confused with RS-232 which would be +3.3V is 0 and -3.3V is 1).

License

The Arduino and C code is mostly incomplete and as such is placed in the public domain.

The Python library is a bit more complete and is licensed under the LGPL v3

tracer's People

Contributors

xxv avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

tracer's Issues

Question

Hi Steve,

I found your tracer project, it seems old but maybe I you can help me?

If have a solar panel connected to my converter EPEVER Tracer2215BN: http://www.epsolarpv.com/en/index.php/Product/pro_content/id/573/am_id/136

It comes with a RJ45/RS485 pplug where you could use the optional MT50 display: http://www.epsolarpv.com/en/index.php/Product/pro_content/id/484/am_id/139

There is another option (which I use) to connect a litte box (eBox-Wifi-01) which can be used as an Wifi access point which can be used with an Android App:

http://www.epsolarpv.com/en/index.php/Product/pro_content/id/731/am_id/139

Everythings works as expected. There is a hack which makes the eBox act as a station in the local WLAN and it is possible to access the tracer from the EPEVER monitoring softare via a Netburner virtual com port. This also works but I want something else:

I want to access the tracer from my raspberry via the WLAN eBox and store/show the solar and battery values via html.

The virtual com port talks to the eBox in the local WLAN on port 8088 which atcs like a serial port (115200, 8,1,N).

So, there is a "serial port" at 192.168.1.15:8088

My question is:

How can I achieve a communication from my raspberry to the serial port of the eBox? Via http or some cgi-bin?

Second question: Since you seem to know the protocoll of the MT50, maybe I could just check if the values are valid for this device?

Or do I need some wireshark files to find out what is going on?

Anyway, it would be nice if you can find some time to point me in the "right" direction...

Best reagrds,

EP Solar EPIPC-COM and MT-2 display

Hi.
I have tried to use your code to communicate with a EPIPC-COM solar charger that uses a MT-2 display. But I only get "Invalid sync header". Do You know if this code is compatible with my charger ? I can see that I receive data on the serial converter led when running the code.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.