Solax X3 + Tesla 3 battery and Dala's Battery-Emulator

Smotek

New member
Joined
Jan 24, 2024
Messages
13
Hello
I have a connected Tesla3 battery, 2x lilygo , and Solax X3 G4.
Battery works, turns on the Contactor.
I can see the battery voltage on Solax, but it says BMS lost and IE19.
On the Lilygo BAT website, I can see the parameters of the flashlight.
I also see data on the Lilygo Solax website, so I assume that the modules communicate via RS485.
We tried:
Add a 120R resistor, (even if according to measurements it is on Lilygo and Solax)
Flip L,H to Can.
GND is connected.
We have Solax CAN on RJ45 pin 4.5, GND 3 (we also tried 2)
We can't find the problem.
Can you advise what to try?
The Solax was connected to the Solax battery and the system worked.
Version 5.0.1
In the Lilygo settings attachment
Thanks for any advice. @Dala
 

Attachments

  • USER_SETTINGS INV.txt
    4.2 KB · Views: 33
  • USER_SETTINGS BAT.txt
    4.2 KB · Views: 29
Things to try
- Make sure all cables are twisted and shielded properly. Unshielded cables near 400V will have corrupt CAN messages
- Make sure terminating resistance is 60 Ohm on both CAN sides
- Solax inverter sometimes needs to be restarted after battery is up and running, buggy software on Solax?
- Make sure both LEDs on the LilyGos are Green
- Try removing GND between devices. CANH/L should be enough
 
Hi Dala,
we have tried all possible combinations but still without success.

What we suspect:
Solax connected with Lilygo 1x, we saw Soc on Solax and it did not report an error.
It was after replacing the Lilygo board with another one.
In a moment, the communication was interrupted.

We have a problem with RS485 communication,
After connecting the Lilygo power supply, they connect like this,
I see the same values on both WebUIs.
We only have 10 cm of cable, so I can see:
1110051 - ERROR: Serial Data Link - SEND Error
1110361 - ERROR: Serial Data Link - SEND Error
1110670 - ERROR: Serial Data Link - SEND Error
1111178 - ERROR: Serial Data Link - SEND Error
1111483 - ERROR: Serial Data Link - SEND Error
1111586 - RECOVERY: Serial Data Link - Send GOOD
1113638 - ERROR: Serial Data Link - SEND Error
Is this a problem on RS485?

I tried to connect RS485 to USB,
But I won't publish anything readable there.
What is the speed and protocol? (modbus HEX?)


It seems that Solax has a problem with CAN on Lilygo.
I was looking at the MCP2515 modification.
Could there be a problem with the CAN input protections on Lilygo?
MCP2515 has nothing there.
We will try this option again. (I'm missing one TJA1050, we ordered).

Users who have Solax have 2x Lilygo, or Lilygo and MCP2515?
Thanks for help
 
Most that use Solax are using the Dual CAN option, with the added MCP2515 modification. But it sounds strange, some also have the Dual LilyGo setup working. Sorry I am a bit out of ideas, over 10 people have it working with Solax!
 
@Dala
TJA1050 arrived, tomorrow we will try with MCP2515.
Can I see something on the RS485 when I hang up there?
Is there no FW for Lilygo so that I can listen to Solax's CAN on USB from another board?
 
Use the webserver to see which error codes are active on the board!
 
@Dala
So I declare success.
But we got through this:
We made a version with MCP2515.
Our TJA1050 broke down.
This also happened to us on lilygo boards connected to Solax.

Current functional status.
We replaced all TJA1050.
They separated the power supply to BMS and lilygo.
They connected all GND, (CAN BMS, CAN SOLAX, RS485)
It has been communicating like this for 5 days.

I have questions about functionality:
1. display SOC. We have a Tesla3 LPF 60kW battery.
we set:
Min 20% in the emulator
Max 98% in the emulator
Min in Solax is 20%
Battery charged to 95%, discharged to 20%, real capacity 32kW.
The cell voltage at 95% was 3.338V.
But is the setting correct?


2. If the battery is active, it drains about 3% in 24 hours.
If the sun doesn't shine for a few days, it gets exhausted. (winter mode)
We assume that the 12V DC/DC converter does it.
Can it be deactivated somehow?
Or disconnect the contractors with some command?
Solax will not have HV, but the emulator will send data.

3. Why does the power supply change to 5v when replacing the TJA1050.
But the MCP2515 module with lilygo has a 3.3V power supply?

4. we have version V5.2.0
When we change the settings via the web, after disconnecting and connecting the power supply for Lilygo, the original data from the compilation is loaded.
 
Last edited:
I have questions about functionality:
1. display SOC. We have a Tesla3 LPF 60kW battery.
we set:
Min 20% in the emulator
Max 98% in the emulator
Min in Solax is 20%
Battery charged to 95%, discharged to 20%, real capacity 32kW.
The cell voltage at 95% was 3.338V.
But is the setting correct?


2. If the battery is active, it drains about 3% in 24 hours.
If the sun doesn't shine for a few days, it gets exhausted. (winter mode)
We assume that the 12V DC/DC converter does it.
Can it be deactivated somehow?
Or disconnect the contractors with some command?
Solax will not have HV, but the emulator will send data.

3. Why does the power supply change to 5v when replacing the TJA1050.
But the MCP2515 module with lilygo has a 3.3V power supply?

4. we have version V5.2.0
When we change the settings via the web, after disconnecting and connecting the power supply for Lilygo, the original data from the compilation is loaded.
Nice to hear that you got it working! 🥳

1. Yes this is normal for LFP packs. They are much lower voltage compared to NCM / NCA. Please update to 5.3.0 when possible, it has fixes for LFP batteries.

2. This is also normal for inverters to have standby power consumption from battery, anywhere between 30-200W continously. Same on Fronius, Solax, GoodWe etc. Some inverters are better than others.

3. Explained in the Wiki

4. You forgot to enable the line LOAD_SAVED_SETTINGS_ON_BOOT
1709197291481.png
 
@Dala
1. we switched to 5.3 and then to 5.4.
I think capacity utilization has improved,
but even so, the cells do not reach the same voltage as when the battery is charged in a car.

2. I don't think it's the consumption of Solax, I think it's the consumption of the activated battery.

3. I understood it now

4. resolved

But we have a new problem on v5.4.

5. if the battery runs out, Lilygo solax will remain red.
and voices in the log...
Only restarting the board will help.
1710629509461.png
 
Hi @Dala ,
we converted it to Lilygo and MCP2515, we will test.
Question about wifi. Do you have any reported connection problems?
After some time, the Wi-Fi will start connecting and disconnecting cyclically.
Sometimes even a restart doesn't help, the lilygo flash has to be done.
 
Haven't heard anything regarding wifi-dropouts, this was improved significantly in v5.5
 
Hello @Dala
the wifi was solved, he moved the Lilygo, I assume that the antenna on the Lilygo is not quite ok.

The system has been working well for more than a month.

But today we have such a problem.
The battery has been disconnected and does not want to connect.

What can we try?
Thanks for any advice.

1714131456195.png


1714131487962.png


1714131529594.png


1714131571869.png
 
I have no clue unfortunately, would be best to ask on the Discord server from other Solax users!
 
Back
Top