Simp BMS

Topics concerning OEM and open source BMSes
P.S.Mangelsdorf
Posts: 753
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 89 times
Been thanked: 92 times

Re: Simp BMS

Post by P.S.Mangelsdorf »

Jackk wrote: Fri Aug 13, 2021 9:57 am Hi guys,

how do I get switch the 5v supply to the nextion display to come on with ignition switch (pin 1 J5).

Currently nextion display is on all the time as Its powered from the permanent 12v in (pin 8 J4). Simp needs to have a permanent live so that the charger kicks in with ignition off...

Thanks!
A crude way to do it would be to stick a relay in the 5V line that is controlled by ignition power. Ignition closes the relay, allowing the 5V to the screen, turning ignition off opens it.

I'm sure there is a more elegant way to do it too.
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
Jackk
Posts: 57
Joined: Thu Dec 17, 2020 6:29 pm
Has thanked: 3 times
Been thanked: 2 times

Re: Simp BMS

Post by Jackk »

indeed that was my last resort option!
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: Simp BMS

Post by arber333 »

Jackk wrote: Fri Aug 13, 2021 3:34 pm indeed that was my last resort option!
You could use 5V regulator to power the display. It could feed from ignition line. As long as you turn the key, you get LCD info.
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Simp BMS

Post by Ev8 »

arber333 wrote: Fri Aug 13, 2021 4:49 pm
Jackk wrote: Fri Aug 13, 2021 3:34 pm indeed that was my last resort option!
You could use 5V regulator to power the display. It could feed from ignition line. As long as you turn the key, you get LCD info.
This is exactly what I’ve done, comes on with 1st key position so I can monitor charging
User avatar
Boxster EV
Posts: 434
Joined: Fri Jul 26, 2019 9:32 pm
Location: UK
Has thanked: 35 times
Been thanked: 26 times

Re: Simp BMS

Post by Boxster EV »

Jackk wrote: Fri Aug 13, 2021 9:57 am Hi guys,

how do I get switch the 5v supply to the nextion display to come on with ignition switch (pin 1 J5).

Currently nextion display is on all the time as Its powered from the permanent 12v in (pin 8 J4). Simp needs to have a permanent live so that the charger kicks in with ignition off...

Thanks!
I originally achieved this with a relay which works fine. Since then, for simplicity, changed to do it in the code (thanks to BogdanT).
Porsche 986 powered by a Tesla large drive unit. Backwards. Build documented here and Instagram @tesla_porsche here.
P.S.Mangelsdorf
Posts: 753
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 89 times
Been thanked: 92 times

Re: Simp BMS

Post by P.S.Mangelsdorf »

Ok I've got what is probably a dumb question.

I finally got everything wired and installed in the car.

The serial data has the correct state of charge (approx 25%) but the screen still shows 100%. What could I be missing? does the screen communication need a termination resistor?
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
User avatar
Ev8
Posts: 801
Joined: Sat Jan 30, 2021 11:05 am
Has thanked: 41 times
Been thanked: 149 times

Re: Simp BMS

Post by Ev8 »

Try swapping tx/rx
P.S.Mangelsdorf
Posts: 753
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 89 times
Been thanked: 92 times

Re: Simp BMS

Post by P.S.Mangelsdorf »

Ev8 wrote: Sat Aug 28, 2021 8:44 pmTry swapping tx/rx
That appears to work, thanks!
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
tom91
Posts: 1273
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 97 times
Been thanked: 201 times

Simp Charge Support

Post by tom91 »

SimpCharge Update

I have spent a few hours today working through the SimpBMS code to read the conditioned signal from the SimpCharge.

It now works as it should reading the Control Pilot AC Current limit and translating it into DC current limit utilizing the following two new variables:

1. Charger Efficiency - AC to DC power conversion losses approximated, best to under estimate as it can be dynamic based on output
2. Charge input Voltage - AC voltage supply into charger

Currently fully implemented in the newest Tesla Firmware

Please let me know if you want to try it out on another firmware and I will update it for you. Be aware there might be a few bugs, so just provide feedback and I will resolve them as soon as possible.
Founder Volt Influx https://www.voltinflux.com/
Bryson
Posts: 179
Joined: Sat Jan 25, 2020 6:22 am
Location: California
Has thanked: 1 time
Been thanked: 4 times

Re: Simp BMS

Post by Bryson »

Hey Tom, still no luck getting any current readings with the ISA shunt on my end. The shunt is also sending data to other devices in the same CAN network successfully so I’ve ruled the shunt out, and it’s using the default config. I merged the changes you recently committed into my code as I have a separate issue when I run the latest out of the box code.

The issue when running the latest is that the contactors cycle through precharge, to on, to error/ open, then repeat cycling when I turn the key on. It happens seemingly indefinitely and cycles every couple seconds. I’m running 17 Tesla modules in my car and the early 2020 code has been working just fine for me for a while now, the car is my daily driver and there are no issues to report with the older software (other than ISA not working).

Any leads I should look into on either?

Also, nice work on the Simp charge. Now I have more wiring to do! :)
‘70 jag XJ6, GS450h drivetrain, 102s Tesla pack
tom91
Posts: 1273
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 97 times
Been thanked: 201 times

Re: Simp BMS

Post by tom91 »

Bryson wrote: Sat Sep 04, 2021 3:08 pm Hey Tom, still no luck getting any current readings with the ISA shunt on my end. The shunt is also sending data to other devices in the same CAN network successfully so I’ve ruled the shunt out, and it’s using the default config.
Do you see the messages appear when you got the can debug on the simpbms turned on? if so can you share a screenshot.
Founder Volt Influx https://www.voltinflux.com/
Bryson
Posts: 179
Joined: Sat Jan 25, 2020 6:22 am
Location: California
Has thanked: 1 time
Been thanked: 4 times

Re: Simp BMS

Post by Bryson »

Will try that next and report back, thank you
‘70 jag XJ6, GS450h drivetrain, 102s Tesla pack
P.S.Mangelsdorf
Posts: 753
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 89 times
Been thanked: 92 times

Re: Simp BMS

Post by P.S.Mangelsdorf »

Question, when using SimpBMS to control a Volt charger, what should the charger CAN message speed (in menu e-charging settings) be set at?

I know the Volt expects two different messages, one at 30ms to activate and one at 500ms with charge parameters.
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
Bryson
Posts: 179
Joined: Sat Jan 25, 2020 6:22 am
Location: California
Has thanked: 1 time
Been thanked: 4 times

Re: Simp BMS

Post by Bryson »

tom91 wrote: Sat Sep 04, 2021 3:15 pm
Bryson wrote: Sat Sep 04, 2021 3:08 pm Hey Tom, still no luck getting any current readings with the ISA shunt on my end. The shunt is also sending data to other devices in the same CAN network successfully so I’ve ruled the shunt out, and it’s using the default config.
Do you see the messages appear when you got the can debug on the simpbms turned on? if so can you share a screenshot.
CAB sensor reads out like this during CAN debug (contactors open, did not cycle ign):
Screen Shot 2021-09-04 at 1.19.52 PM.png
ISA sensor reads like this (nothing) during CAN debug (contactors both open and closed, cycled ign during this screen grab):
Screen Shot 2021-09-04 at 1.21.45 PM.png
exiting the menu didn't have any effect, no data showed
‘70 jag XJ6, GS450h drivetrain, 102s Tesla pack
tom91
Posts: 1273
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 97 times
Been thanked: 201 times

Re: Simp BMS

Post by tom91 »

you need to only turn on candebug and then fully exit the settings menu. It will the show the scrolling debug and between that all the canbus traffic.
Founder Volt Influx https://www.voltinflux.com/
P.S.Mangelsdorf
Posts: 753
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 89 times
Been thanked: 92 times

Re: Simp BMS

Post by P.S.Mangelsdorf »

Ok so I've got a weird issue now attempting to run the Volt charger.

I have the CAN message speed setting at 30ms, and I know the charger is getting the first "initialize" message because I've heard the relay trip. But it won't actually begin charging. My EVSE still shows 0amp draw.

The fact it appears to get the first message makes me think my wiring is ok, and that its a setting problem. I know the initialize message is at 30ms and the charger command is supposed to be 500ms, so I must me missing something.


Any ideas?
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
arber333
Posts: 3241
Joined: Mon Dec 24, 2018 1:37 pm
Location: Slovenia
Has thanked: 74 times
Been thanked: 223 times
Contact:

Re: Simp BMS

Post by arber333 »

P.S.Mangelsdorf wrote: Sat Sep 04, 2021 10:06 pm
Any ideas?
Could you be sending wrong voltage or current command? I remember you need to send the CV voltage and CC current.
Or maybe try sending at 800ms.

I remember also you need to send 03 command in the 30ms telegram to get charger to output HV and AUX together. 02 is only HV and 01 is AUX.
P.S.Mangelsdorf
Posts: 753
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 89 times
Been thanked: 92 times

Re: Simp BMS

Post by P.S.Mangelsdorf »

arber333 wrote: Sat Sep 04, 2021 10:22 pm
P.S.Mangelsdorf wrote: Sat Sep 04, 2021 10:06 pm
Any ideas?
Could you be sending wrong voltage or current command? I remember you need to send the CV voltage and CC current.
Or maybe try sending at 800ms.

I remember also you need to send 03 command in the 30ms telegram to get charger to output HV and AUX together. 02 is only HV and 01 is AUX.
I'm letting the SimpBMS send the commands so I'm working within those settings. I assume its sending the right messages provided I have the settings correct. I don't have the equipment to sniff the bus to verify.
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
Bryson
Posts: 179
Joined: Sat Jan 25, 2020 6:22 am
Location: California
Has thanked: 1 time
Been thanked: 4 times

Re: Simp BMS

Post by Bryson »

tom91 wrote: Sat Sep 04, 2021 8:47 pm you need to only turn on candebug and then fully exit the settings menu. It will the show the scrolling debug and between that all the canbus traffic.
Sadly this isn't showing anything when ISA shunt is selected, just the regular serial interface with no additional data. Here's a shot with the CAB300 in debug mode, I don't see any raw CAN traffic:
Screen Shot 2021-09-04 at 4.11.17 PM.png
thanks Tom
‘70 jag XJ6, GS450h drivetrain, 102s Tesla pack
tom91
Posts: 1273
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 97 times
Been thanked: 201 times

Re: Simp BMS

Post by tom91 »

Bryson wrote: Sat Sep 04, 2021 11:23 pm
tom91 wrote: Sat Sep 04, 2021 8:47 pm you need to only turn on candebug and then fully exit the settings menu. It will the show the scrolling debug and between that all the canbus traffic.
Sadly this isn't showing anything when ISA shunt is selected, just the regular serial interface with no additional data. Here's a shot with the CAB300 in debug mode, I don't see any raw CAN traffic:
So this is what I get when enabling can debug. Since you have modded some of the code something might be getting broken.
teslacandebug.JPG
Founder Volt Influx https://www.voltinflux.com/
tom91
Posts: 1273
Joined: Fri Mar 01, 2019 9:15 pm
Location: Bristol
Has thanked: 97 times
Been thanked: 201 times

Re: Simp BMS

Post by tom91 »

P.S.Mangelsdorf wrote: Sat Sep 04, 2021 10:44 pm
arber333 wrote: Sat Sep 04, 2021 10:22 pm
P.S.Mangelsdorf wrote: Sat Sep 04, 2021 10:06 pm
Any ideas?
Could you be sending wrong voltage or current command? I remember you need to send the CV voltage and CC current.
Or maybe try sending at 800ms.

I remember also you need to send 03 command in the 30ms telegram to get charger to output HV and AUX together. 02 is only HV and 01 is AUX.
I'm letting the SimpBMS send the commands so I'm working within those settings. I assume its sending the right messages provided I have the settings correct. I don't have the equipment to sniff the bus to verify.
Without sniffing the bus its hard to diagnose what is going on. Keep the message speed slower then 30ms. What firmware and version is on the simpbms?
Founder Volt Influx https://www.voltinflux.com/
P.S.Mangelsdorf
Posts: 753
Joined: Tue Sep 17, 2019 8:33 pm
Location: Raleigh, NC, USA
Has thanked: 89 times
Been thanked: 92 times

Re: Simp BMS

Post by P.S.Mangelsdorf »

Below is a capture from the serial data with CAN debug on and CAN serial debug on

Code: Select all

BMS Status : 3 Charge   | AC Present |  96
Out:0010 Cont:0000 In:0010


Modules: 13 Cells: 96 Strings: 1  Voltage: 331.950V   Avg Cell Voltage: 3.458V  Low Cell Voltage: 3.446V   High Cell Voltage: 3.467V Delta Voltage: 21mV   Avg Temp: 13.245C 

Module #1   20.73V   Cell-1: 3.46V   Cell-2: 3.46V   Cell-3: 3.45V   Cell-4: 3.45V   Cell-5: 3.46V   Cell-6: 3.45V               
 Temp 1: 9.12               
Module #2   27.68V   Cell-7: 3.47V   Cell-8: 3.46V   Cell-9: 3.46V   Cell-10: 3.46V  Cell-11: 3.46V  Cell-12: 3.46V  Cell-13: 3.46V  Cell-14: 3.45V               
 Temp 1: 16.93               
Module #3   27.67V  Cell-15: 3.46V  Cell-16: 3.46V  Cell-17: 3.46V  Cell-18: 3.45V  Cell-19: 3.45V  Cell-20: 3.46V  Cell-21: 3.46V  Cell-22: 3.46V               
 Temp 1: 11.26               
Module #4   27.67V  Cell-23: 3.46V  Cell-24: 3.46V  Cell-25: 3.46V  Cell-26: 3.46V  Cell-27: 3.46V  Cell-28: 3.46V  Cell-29: 3.46V  Cell-30: 3.46V               
 Temp 1: 11.04               
Module #5   27.64V  Cell-31: 3.46V  Cell-32: 3.45V  Cell-33: 3.46V  Cell-34: 3.45V  Cell-35: 3.45V  Cell-36: 3.46V  Cell-37: 3.46V  Cell-38: 3.45V               
 Temp 1: 9.19               
Module #6   27.64V  Cell-39: 3.45V  Cell-40: 3.46V  Cell-41: 3.45V  Cell-42: 3.45V  Cell-43: 3.45V  Cell-44: 3.46V  Cell-45: 3.45V  Cell-46: 3.45V               
 Temp 1: 17.26               
Module #7   27.65V  Cell-47: 3.45V  Cell-48: 3.46V  Cell-49: 3.45V  Cell-50: 3.45V  Cell-51: 3.45V  Cell-52: 3.46V  Cell-53: 3.46V  Cell-54: 3.46V               
 Temp 1: 17.10               
Module #9   27.68V  Cell-55: 3.46V  Cell-56: 3.46V  Cell-57: 3.46V  Cell-58: 3.46V  Cell-59: 3.46V  Cell-60: 3.46V  Cell-61: 3.46V  Cell-62: 3.46V               
 Temp 1: 9.58               
Module #10  27.67V  Cell-63: 3.46V  Cell-64: 3.46V  Cell-65: 3.46V  Cell-66: 3.46V  Cell-67: 3.46V  Cell-68: 3.46V  Cell-69: 3.46V  Cell-70: 3.46V               
 Temp 1: 9.12               
Module #11  27.66V  Cell-71: 3.46V  Cell-72: 3.46V  Cell-73: 3.46V  Cell-74: 3.46V  Cell-75: 3.45V  Cell-76: 3.46V  Cell-77: 3.46V  Cell-78: 3.46V               
 Temp 1: 16.97               
Module #13  20.76V  Cell-79: 3.46V  Cell-80: 3.46V  Cell-81: 3.46V  Cell-82: 3.46V  Cell-83: 3.46V  Cell-84: 3.46V               
 Temp 1: 11.00               
Module #14  20.76V  Cell-85: 3.46V  Cell-86: 3.46V  Cell-87: 3.46V  Cell-88: 3.46V  Cell-89: 3.45V  Cell-90: 3.46V               
 Temp 1: 16.77               
Module #15  20.73V  Cell-91: 3.46V  Cell-92: 3.46V  Cell-93: 3.45V  Cell-94: 3.45V  Cell-95: 3.46V  Cell-96: 3.46V               
 Temp 1: 16.84               
High Range  -188851.61mA  26% SOC 11610.00mAh
149608,0x460,false,6, 0x8A, 0xD1, 0x0A, 0xCD, 0x0A, 0xCB
149610,0x470,false,6, 0x8A, 0xCA, 0x0A, 0xD0, 0x0A, 0xCA
149611,0x7E0,false,8, 0x0B, 0xF1, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFC
149614,0x461,false,8, 0x8A, 0xD6, 0x0A, 0xD1, 0x0A, 0xD1, 0x0A, 0xCD
149616,0x471,false,8, 0x8A, 0xCF, 0x0A, 0xD1, 0x0A, 0xCF, 0x0A, 0xCC
149616,0x7E1,false,8, 0x0B, 0xFF, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0B
149621,0x462,false,8, 0x8A, 0xD3, 0x0A, 0xD0, 0x0A, 0xD0, 0x0A, 0xCA
149622,0x472,false,8, 0x8A, 0xCD, 0x0A, 0xCE, 0x0A, 0xD0, 0x0A, 0xCE
149622,0x7E2,false,8, 0x0F, 0xAF, 0x0B, 0xEF, 0x00, 0x00, 0x10, 0xBA
149625,0x463,false,8, 0x8A, 0xD3, 0x0A, 0xCF, 0x0A, 0xCE, 0x0A, 0xD2
149626,0x473,false,8, 0x8A, 0xD1, 0x0A, 0xCF, 0x0A, 0xCE, 0x0A, 0xCF
149627,0x7E3,false,8, 0x0F, 0xAF, 0x00, 0x00, 0x00, 0x00, 0x10, 0xC1
149630,0x464,false,8, 0x8A, 0xCF, 0x0A, 0xCB, 0x0A, 0xCE, 0x0A, 0xCA
149630,0x474,false,8, 0x8A, 0xCC, 0x0A, 0xCE, 0x0A, 0xCF, 0x0A, 0xC9
149631,0x7E4,false,8, 0x0B, 0xEB, 0x00, 0x00, 0x00, 0x00, 0x10, 0xFA
149635,0x465,false,8, 0x8A, 0xCC, 0x0A, 0xCE, 0x0A, 0xCF, 0x0A, 0xC8
149636,0x475,false,8, 0x8A, 0xCD, 0x0A, 0xD0, 0x0A, 0xCB, 0x0A, 0xC8
149637,0x7E5,false,8, 0x00, 0x00, 0x0B, 0xF1, 0x00, 0x00, 0x10, 0x01
149640,0x466,false,8, 0x8A, 0xCC, 0x0A, 0xCE, 0x0A, 0xC7, 0x0A, 0xCF
149641,0x476,false,8, 0x8A, 0xCC, 0x0A, 0xCB, 0x0A, 0xCF, 0x0A, 0xD0
149641,0x7E6,false,8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x06
149666,0x468,false,8, 0x8A, 0xD2, 0x0A, 0xD3, 0x0A, 0xD0, 0x0A, 0xD1
149666,0x478,false,8, 0x8A, 0xD0, 0x0A, 0xCF, 0x0A, 0xCF, 0x0A, 0xD0
149667,0x7E8,false,8, 0x0B, 0xDB, 0x00, 0x00, 0x00, 0x00, 0x10, 0xEE
149670,0x469,false,8, 0x8A, 0xCA, 0x0A, 0xCE, 0x0A, 0xCC, 0x0A, 0xCF
149671,0x479,false,8, 0x8A, 0xD1, 0x0A, 0xD1, 0x0A, 0xCE, 0x0A, 0xCD
149672,0x7E9,false,8, 0x00, 0x00, 0x0B, 0xE8, 0x00, 0x00, 0x10, 0xFC
149675,0x46A,false,8, 0x8A, 0xCB, 0x0A, 0xD1, 0x0A, 0xD0, 0x0A, 0xCE
149675,0x47A,false,8, 0x8A, 0xCC, 0x0A, 0xD0, 0x0A, 0xCC, 0x0A, 0xCD
149676,0x7EA,false,8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0A
149685,0x46C,false,6, 0x8A, 0xD0, 0x0A, 0xD4, 0x0A, 0xD0
149685,0x47C,false,6, 0x8A, 0xD0, 0x0A, 0xCE, 0x0A, 0xD1
149686,0x7EC,false,8, 0x0F, 0xA7, 0x00, 0x00, 0x00, 0x00, 0x10, 0xC2
149690,0x46D,false,6, 0x8A, 0xD1, 0x0A, 0xD1, 0x0A, 0xCF
149690,0x47D,false,6, 0x8A, 0xD1, 0x0A, 0xCA, 0x0A, 0xD1
149691,0x7ED,false,8, 0x0B, 0xF8, 0x00, 0x00, 0x00, 0x00, 0x10, 0x10
149693,0x46E,false,6, 0x8A, 0xCE, 0x0A, 0xCF, 0x0A, 0xC5
149695,0x47E,false,6, 0x8A, 0xCA, 0x0A, 0xCE, 0x0A, 0xD0
149695,0x7EE,false,8, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x0E
If at first you don't succeed, buy a bigger hammer.

1940 Chevrolet w/ Tesla LDU - "Shocking Chevy" - Completed 2023 Hot Rod Drag Week
User avatar
arturk
Posts: 146
Joined: Wed Oct 02, 2019 3:58 am
Location: United States, MD
Has thanked: 1 time
Been thanked: 2 times

Re: Simp BMS

Post by arturk »

tom91 wrote: Tue May 25, 2021 6:01 pm So Tesla, VW, Outlander, BMW I3 all have support for the IVT-S shunts
Tom, is support for IVT-S planned for BMWPhevBMS ?
I could really use it :)
1998 Jaguar XJR, GS450h drivetrain, 48kWh/96s BMW battery
Bryson
Posts: 179
Joined: Sat Jan 25, 2020 6:22 am
Location: California
Has thanked: 1 time
Been thanked: 4 times

Re: Simp BMS

Post by Bryson »

Hey Tom, found the [Serial.print] line of code that was missing and got an output from the ISA shunt showing in the debug menu. Looks like I'm getting CAN but still nothing making it to the BMS itself. Maybe we're parsing the message incorrectly?:

Contactors open:
contactors open.png
Contactors closed and current flowing:
contactors closed.png
‘70 jag XJ6, GS450h drivetrain, 102s Tesla pack
Bryson
Posts: 179
Joined: Sat Jan 25, 2020 6:22 am
Location: California
Has thanked: 1 time
Been thanked: 4 times

Re: Simp BMS

Post by Bryson »

Got it. The variable CANmilliamps was trying to pull from the rx buffer and not the can message buffer. Set CANmilliamps as below and we're good to go! ISA shunt compatibility B)

Code: Select all

CANmilliamps = ((inMsg.buf[5] << 24) | (inMsg.buf[4] << 16) | (inMsg.buf[3] << 8) | (inMsg.buf[2]));
‘70 jag XJ6, GS450h drivetrain, 102s Tesla pack
Post Reply