This is a fork of xxv/tracer library for interfacing with the SainSonic Tracer series solar charge regulators.
This software is inteded to run on a raspberry pi zero. It will work on all Linuxes with rs232
The main scripts are:
status -> output formatted status of charge controller data -> output data as python string (make XML in the future?) tracer_log -> log info on power system
Work on this project will be moved to sHome umbrella project: shamanon/sNode.tracer
The Tracer uses an 8P8C connector (the same physical type of connector as RJ-45 Ethernet cables, but very much not an Ethernet connection).
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.
- +12V (seems to be regulated)
- Gnd (common to both data and power)
- +12V
- Gnd
- TXD (3.3V)
- RXD (3.3V)
- Gnd
- 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).
All code by Shamanon is free to use.
The Python library by XXV is a bit more complete and is licensed under the LGPL v3