Inverter: Solxpow - dalathegreat/Battery-Emulator GitHub Wiki

[!CAUTION] Working with high voltage is dangerous. Always follow local laws and regulations regarding high voltage work. If you are unsure about the rules in your country, consult a licensed electrician for more information.

Compatible Solxpow inverters

  • SOLXPOW X3-12K ✅
  • Feel free to add more known working inverters to the list!

Compiling the software for Solxpow inverters

Modification of Pylon

The Solxpow inverters use a slightly modified version of the Pylontech HV protocol. We do not have this protocol ready, but you can use the normal Pylontech protocol with a slight modification to get your inverter going.

Edit the file found in Battery-Emulator/Software/src/inverter/PYLON-CAN.cpp

Add this at the top of the program

CAN_frame PYLON_7330 = {.FD = false, .ext_ID = true, .DLC = 8, .ID = 0x7330 .data = {0x58, 0x58, 0x58, 0x58, 0x58, 0x58, 0x58, 0x58}}; CAN_frame PYLON_7340 = {.FD = false, .ext_ID = true, .DLC = 8, .ID = 0x7340 .data = {0x58, 0x58, 0x58, 0x58, 0x58, 0x58, 0x58, 0x58}};

And add this in the function:

void send_setup_info() { //Ensemble information #ifdef SEND_0 transmit_can_frame(&PYLON_7310, can_config.inverter); transmit_can_frame(&PYLON_7320, can_config.inverter); transmit_can_frame(&PYLON_7330, can_config.inverter); transmit_can_frame(&PYLON_7340, can_config.inverter); #endif

USER_SETTINGS

Make sure that the settings in the "USER_SETTINGS.h" file are correct. The line:

#define PYLON_CAN //Enable this line to emulate a "High Voltage Pylontech battery" over CAN bus

Needs to be uncommented for the software to emulate the Pylon protocol

Next step is then to select the battery that you intend to use, make sure the following line is uncommented:

#define you BATTERY_TYPE_<your type of battery>

After setting this up, flash the board

Reverse engineering info

The Solxpow inverters use a slightly modified version of the Pylontech HV protocol

Default HV_1 CANBUS Protocol of High Voltage system V00.01.pdf

Wiring diagram

Feel free to add any wiring diagrams here!

Example pictures

Feel free to add any example pictures of a working setup here!