Page 2 of 2

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Thu Sep 21, 2023 2:17 pm
by Gregski
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

IMG_7965.JPG
IMG_7967.JPG
IMG_7969.JPG

Mandatory Stare and Compare: our BMW 530e contactor on the left and the Leafster on the right
IMG_7980.JPG
IMG_7982.JPG
IMG_7984.JPG

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Thu Sep 21, 2023 2:18 pm
by Gregski
and a little comparison of the Three Amigos so far

IMG_7971.JPG
IMG_7973.JPG

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Fri Oct 13, 2023 10:03 pm
by blik86
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.
B0.png

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sat Oct 14, 2023 2:11 am
by johu
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.

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sat Oct 14, 2023 8:40 am
by Bigpie
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.

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sat Oct 14, 2023 12:18 pm
by blik86
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.
Not compiled: "ACAN_ESP32.cpp:6:26: fatal error: core_version.h: No such file or directory".
How to solve it?

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Fri Oct 20, 2023 6:19 pm
by blik86
Hello everyone. In what order should contactors be switched on and off?

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Fri Oct 20, 2023 9:53 pm
by Gregski
blik86 wrote: Fri Oct 20, 2023 6:19 pm Hello everyone. In what order should contactors be switched on and off?
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)

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sun Oct 22, 2023 9:21 am
by blik86
Gregski wrote: Fri Oct 20, 2023 9:53 pm This is how I turn mine on (Close):
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)

Posted: Wed Feb 07, 2024 8:37 am
by mugball
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

531px-SBOX.jpg

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Wed Feb 07, 2024 9:55 am
by royhen99
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

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sat Feb 10, 2024 3:37 pm
by m.art.y
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?

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sat Feb 10, 2024 4:17 pm
by Jacobsmess
From memory they're 80A continuous

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sat Feb 10, 2024 7:54 pm
by LRBen
m.art.y wrote: Sat Feb 10, 2024 3:37 pm 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?
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.

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sun Feb 11, 2024 3:48 am
by Gregski
m.art.y wrote: Sat Feb 10, 2024 3:37 pm 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?
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:



Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sat Mar 30, 2024 7:42 am
by Swing
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

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sat Mar 30, 2024 7:57 am
by andybpowell
Swing 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
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

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sat Mar 30, 2024 8:27 am
by Swing
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
I was not confused, I was basically asking if it is a BMS or not.

So in these BMWs the BMS function is in the car instead of in the pack. Like other cars have.

Re: BMW S-Box Phev (SafeyBox 9846612)

Posted: Sat Mar 30, 2024 8:43 am
by andybpowell
No it's in the pack but not in the s-box