BMW S-Box Phev (SafeyBox 9846612)
- Gregski
- Posts: 2322
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 353 times
- Been thanked: 468 times
- Contact:
Re: BMW S-Box Phev (SafeyBox 9846612)
I recently scored some used contactors on eBay for $38 dollars each which were listed as Panasonic AEV6501A 500VDC 200A Contact Relay (From 2013 Nissan Leaf) however they fit into our BMW Safety Box perfectly and have more better specs
Mandatory Stare and Compare: our BMW 530e contactor on the left and the Leafster on the right
Mandatory Stare and Compare: our BMW 530e contactor on the left and the Leafster on the right
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
- Gregski
- Posts: 2322
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 353 times
- Been thanked: 468 times
- Contact:
Re: BMW S-Box Phev (SafeyBox 9846612)
and a little comparison of the Three Amigos so far
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
Re: BMW S-Box Phev (SafeyBox 9846612)
Hello everyone
Which CAN library (arduino) to use for ESP 32 (M5 stack)+SN65HVD230 ? I tried several, but I couldn't send single messages correctly .
Maybe there are ready-made projects for using S-BOX with ESP 32?
In BMW_S Box byte 0 can have a value of 85 and 00. It seems to me that the contactor states should be 10 or 01 (bin). That is, all closed ones should correspond to 55.
Which CAN library (arduino) to use for ESP 32 (M5 stack)+SN65HVD230 ? I tried several, but I couldn't send single messages correctly .
Maybe there are ready-made projects for using S-BOX with ESP 32?
In BMW_S Box byte 0 can have a value of 85 and 00. It seems to me that the contactor states should be 10 or 01 (bin). That is, all closed ones should correspond to 55.
- johu
- Site Admin
- Posts: 5828
- Joined: Thu Nov 08, 2018 10:52 pm
- Location: Kassel/Germany
- Has thanked: 162 times
- Been thanked: 1045 times
- Contact:
Re: BMW S-Box Phev (SafeyBox 9846612)
I ended up using no Arduino CAN library at all but talking straight to the ESP32 driver: https://github.com/jsphuebner/esp32-web ... oi_can.cpp
It's important to know that you can't create a CAN object on the stack (i.e. lifetime of the function) and send it. Instead it needs to be static in memory.
It's important to know that you can't create a CAN object on the stack (i.e. lifetime of the function) and send it. Instead it needs to be static in memory.
Support R/D and forum on Patreon: https://patreon.com/openinverter - Subscribe on odysee: https://odysee.com/@openinverter:9
- Bigpie
- Posts: 1597
- Joined: Wed Apr 10, 2019 8:11 pm
- Location: South Yorkshire, UK
- Has thanked: 75 times
- Been thanked: 306 times
Re: BMW S-Box Phev (SafeyBox 9846612)
https://github.com/pierremolinaro/acan-esp32 is the ESP32 can lib I use for all my ESP32 projects.
https://github.com/espressif/esp-idf/issues/4276 just to make you aware of this bug with the ESP32, I've fallen foul of corrupted messages and have to make use of the CRC to validate them on a busy bus.
https://github.com/espressif/esp-idf/issues/4276 just to make you aware of this bug with the ESP32, I've fallen foul of corrupted messages and have to make use of the CRC to validate them on a busy bus.
VW Beetle 2003
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
Outlander front generator
Prius Gen 3 inverter (EVBMW logic board)
Outlander charger
3x Golf GTE batteries
Chademo Charging
Outlander water heater
Re: BMW S-Box Phev (SafeyBox 9846612)
Not compiled: "ACAN_ESP32.cpp:6:26: fatal error: core_version.h: No such file or directory".Bigpie wrote: ↑Sat Oct 14, 2023 8:40 am https://github.com/pierremolinaro/acan-esp32 is the ESP32 can lib I use for all my ESP32 projects.
How to solve it?
Re: BMW S-Box Phev (SafeyBox 9846612)
Hello everyone. In what order should contactors be switched on and off?
- Gregski
- Posts: 2322
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 353 times
- Been thanked: 468 times
- Contact:
Re: BMW S-Box Phev (SafeyBox 9846612)
I think you are about to be beat up with the we need more information clauyse, but I will assume you mean as related to this Safety Box to drive your car, so...
This is how I turn mine on (Close):
1. Negative Contactor
2. Pre Charge Relay
3. Positive Contactor
This is how I turn mine off:
1. All Contacts Off (Open)
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
Re: BMW S-Box Phev (SafeyBox 9846612)
Thank you.
I want to connect the cells in parallel to the note e-power battery (80S, 1.5 kW) via sbox. Subsequently, replace the regular battery and use the sbox to connect an external charger.
I think sbox was supposed to check the insulation and sticking of contactors. Perhaps the sequence of switching on contactors is important for this?
sbox responds to bytes 0x96, 0x66. I believe the contactor state is really encrypted with 2 bits.
Re: BMW S-Box Phev (SafeyBox 9846612)
Hi, I am trying to locate part number for the connector/harness to plug in to S-Box for 12 v and can, does anybody know it? thanks
-
- Posts: 220
- Joined: Sun Feb 20, 2022 4:23 am
- Location: N. Wiltshire. UK
- Has thanked: 17 times
- Been thanked: 108 times
Re: BMW S-Box Phev (SafeyBox 9846612)
Connector is made by TE Connectivity
Housing 965778-1
BMW 8-364-666
Cover 2-967416-1
BMW 8-364-656
Terminal for 0.5 - 0.75mm2 963715-1
Housing 965778-1
BMW 8-364-666
Cover 2-967416-1
BMW 8-364-656
Terminal for 0.5 - 0.75mm2 963715-1
-
- Posts: 562
- Joined: Sat Jun 06, 2020 6:54 pm
- Location: UK/EU
- Has thanked: 29 times
- Been thanked: 18 times
Re: BMW S-Box Phev (SafeyBox 9846612)
Hi, anybody has been using the S-box in the car? Would you share your experiences how is it holding up? The contactors and the shunt? Anybody tested what Amperage it can measure?
-
- Posts: 514
- Joined: Thu Mar 02, 2023 1:30 pm
- Location: Uk
- Has thanked: 258 times
- Been thanked: 69 times
-
- Posts: 481
- Joined: Thu Jul 04, 2019 6:35 pm
- Location: Somerset, UK
- Has thanked: 43 times
- Been thanked: 113 times
Re: BMW S-Box Phev (SafeyBox 9846612)
Had it in the MG since November, done over 1000 miles and it's still going fine. Pulls around 200 amps max and it's reported that fine.
- Gregski
- Posts: 2322
- Joined: Tue Sep 14, 2021 10:28 am
- Location: Sacramento, California
- Has thanked: 353 times
- Been thanked: 468 times
- Contact:
Re: BMW S-Box Phev (SafeyBox 9846612)
Have just over 1,000 miles on mine, I welded the contactors on it like 3 times, fried one resistor, and don't know how to get Amp Hours on my pre Zombie inverter. Here's a little simple walk around of my build:
"I don't need to understand how it works, I just need to understand how to make it work!" ~ EV Greg
Re: BMW S-Box Phev (SafeyBox 9846612)
Question about the S-box. It reports all cell values, and you can ask it to close contractors.
But does it balance the cells by itself? In other words, is it a true BMS function? And voltage cutoff when discharging etc?
I'm guessing those features are not there and will need to be implemented externally
But does it balance the cells by itself? In other words, is it a true BMS function? And voltage cutoff when discharging etc?
I'm guessing those features are not there and will need to be implemented externally
- andybpowell
- Posts: 307
- Joined: Thu Sep 02, 2021 8:04 pm
- Location: Southend,essex,uk
- Has thanked: 197 times
- Been thanked: 234 times
- Contact:
Re: BMW S-Box Phev (SafeyBox 9846612)
You seem to be confusedSwing wrote: ↑Sat Mar 30, 2024 7:42 am Question about the S-box. It reports all cell values, and you can ask it to close contractors.
But does it balance the cells by itself? In other words, is it a true BMS function? And voltage cutoff when discharging etc?
I'm guessing those features are not there and will need to be implemented externally
The sbox does none of the BMS functions it basically measures current through and pack voltage and has control over the contractors
Re: BMW S-Box Phev (SafeyBox 9846612)
I was not confused, I was basically asking if it is a BMS or not.andybpowell wrote: ↑Sat Mar 30, 2024 7:57 am You seem to be confused
The sbox does none of the BMS functions it basically measures current through and pack voltage and has control over the contractors
So in these BMWs the BMS function is in the car instead of in the pack. Like other cars have.
- andybpowell
- Posts: 307
- Joined: Thu Sep 02, 2021 8:04 pm
- Location: Southend,essex,uk
- Has thanked: 197 times
- Been thanked: 234 times
- Contact: