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


ALL NEW - Battery Finder Search for 12/24/36/48v or by capacity www.batteryfinder.net
New & used Batteries, Solar, accessories, LifePo4 cells & more 5% Coupon "Powerwalls" www.batteryhookup.com

Smotek

New member
Joined
Jan 24, 2024
Messages
17
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: 211
  • USER_SETTINGS BAT.txt
    4.2 KB · Views: 293
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
 
@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?
 
@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.
 
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
 
Hi @Dala,
it's not Solax's fault.
It's a problem with the Tesla 3 Battery.
The battery got blocked and did not communicate.
We connected the battery back to the car and it didn't even communicate with the car.
The update of the SW battery in the car has started.
After the SW update, the contractors turned on the car.
We assume a bug in the emulator,
or Lilygo board error.
It worked for 1 month without problems before the failure.

We'll try to connect it to the emulator and I'll report back.
 
Hi @Dala
we tried the procedure with the yellow connector.
It didn't help.
The battery started working only after the SW update in the car.
The problem is that he will damage Lilygo again.
Currently, they used 2x Lilygo with v5.9.0 and the system works.
Do you have reported problems with HW Lilygo?
Or is it a mistake, is it with us?
I am considering using classic ESP32, CANbus chip, MCP2515 and DC/DC converter.
 
Seems to be a Solax issue with CAN. Another user reported on the Discord;

Once the countdown gets to below 15 seconds the inverter LilyGo chip VP231 CAN transceiver overheats and starts smoking!One LilyGo is now damaged so I put a spare in its place and kept troubleshooting.

No clue really what is wrong, maybe try opto-isolators for the CAN comm?
 
This happened to us several times before.
It was solved by connecting all GNDs. Solax, Lilygo (all on Lilygo), BAT.
Then it ran for 1 month without a fault.
The next time the battery was charged, the Battery on CAN was blocked,
and Liligo does not communicate on CAN, and PC USB,
MCP2515 communicates on Solax.
We don't know what the reason is.
I studied the Lilygo schematic and I don't like the power supply design.
 
Back
Top