Page 8 of 26

Re: Simp BMS

Posted: Fri Oct 23, 2020 6:50 am
by mdrobnak
Bratitude wrote: Fri Oct 23, 2020 4:30 am in theory it should be possible to add a additional gen1 volt slave onto the Chevy volt bms train? Or is the teensy 3.2 almost out of address space at this point?

I’d like to possibly add an additional cell group to the pack, increasing storage and voltage without paralleling two full packs.
It's not an issue of the Teensy - you'll hit into CAN address collisions as they are fixed IDs as I understand it. (I've yet to wire mine up :()
The Teensy is certainly powerful enough for the tasks assigned to it.

-Matt

Re: Simp BMS

Posted: Fri Oct 23, 2020 9:24 am
by tom91
mdrobnak wrote: Fri Oct 23, 2020 6:50 am
Bratitude wrote: Fri Oct 23, 2020 4:30 am in theory it should be possible to add a additional gen1 volt slave onto the Chevy volt bms train? Or is the teensy 3.2 almost out of address space at this point?

I’d like to possibly add an additional cell group to the pack, increasing storage and voltage without paralleling two full packs.
It's not an issue of the Teensy - you'll hit into CAN address collisions as they are fixed IDs as I understand it. (I've yet to wire mine up :()
The Teensy is certainly powerful enough for the tasks assigned to it.

-Matt
Correct, nearly all OEM Canbus systems have fixed IDs, or atleast a fixed number for IDs you can assign (BMW).

So usually this would mean you are limited to a MAX amount of slaves in the original pack, you can always run less if you want.

Re: Simp BMS

Posted: Fri Oct 23, 2020 10:57 am
by Bratitude
tom91 wrote: Fri Oct 23, 2020 9:24 am
mdrobnak wrote: Fri Oct 23, 2020 6:50 am
Bratitude wrote: Fri Oct 23, 2020 4:30 am in theory it should be possible to add a additional gen1 volt slave onto the Chevy volt bms train? Or is the teensy 3.2 almost out of address space at this point?

I’d like to possibly add an additional cell group to the pack, increasing storage and voltage without paralleling two full packs.
It's not an issue of the Teensy - you'll hit into CAN address collisions as they are fixed IDs as I understand it. (I've yet to wire mine up :()
The Teensy is certainly powerful enough for the tasks assigned to it.

-Matt
Correct, nearly all OEM Canbus systems have fixed IDs, or atleast a fixed number for IDs you can assign (BMW).

So usually this would mean you are limited to a MAX amount of slaves in the original pack, you can always run less if you want.
right, of course. in that case I’d run a second teensy with the additional cell group in series to the pack.

Re: Simp BMS

Posted: Fri Oct 23, 2020 12:05 pm
by P.S.Mangelsdorf
Bratitude wrote: Fri Oct 23, 2020 4:30 am in theory it should be possible to add a additional gen1 volt slave onto the Chevy volt bms train? Or is the teensy 3.2 almost out of address space at this point?

I’d like to possibly add an additional cell group to the pack, increasing storage and voltage without paralleling two full packs.
If I remember correctly, no because of the way the Chevy BMS slaves are addressed.

EDIT: Thought I posted this before the other replies, did not mean to be redundant

Re: Simp BMS

Posted: Fri Oct 23, 2020 3:25 pm
by bexander
Bratitude wrote: Fri Oct 23, 2020 10:57 am
tom91 wrote: Fri Oct 23, 2020 9:24 am
mdrobnak wrote: Fri Oct 23, 2020 6:50 am

It's not an issue of the Teensy - you'll hit into CAN address collisions as they are fixed IDs as I understand it. (I've yet to wire mine up :()
The Teensy is certainly powerful enough for the tasks assigned to it.

-Matt
Correct, nearly all OEM Canbus systems have fixed IDs, or atleast a fixed number for IDs you can assign (BMW).

So usually this would mean you are limited to a MAX amount of slaves in the original pack, you can always run less if you want.
right, of course. in that case I’d run a second teensy with the additional cell group in series to the pack.
May I suggest that the use of an extra CAN-controller+tranceiver should do the trick. No need for an extra micro controller.

Re: Simp BMS

Posted: Fri Oct 23, 2020 5:04 pm
by tom91
bexander wrote: Fri Oct 23, 2020 3:25 pm
Bratitude wrote: Fri Oct 23, 2020 10:57 am
tom91 wrote: Fri Oct 23, 2020 9:24 am

Correct, nearly all OEM Canbus systems have fixed IDs, or atleast a fixed number for IDs you can assign (BMW).

So usually this would mean you are limited to a MAX amount of slaves in the original pack, you can always run less if you want.
right, of course. in that case I’d run a second teensy with the additional cell group in series to the pack.
May I suggest that the use of an extra CAN-controller+tranceiver should do the trick. No need for an extra micro controller.
If you want to re write the code to do this, feel free to do so.

Re: Simp BMS

Posted: Sat Oct 24, 2020 4:46 am
by bexander
tom91 wrote: Fri Oct 23, 2020 5:04 pm
bexander wrote: Fri Oct 23, 2020 3:25 pm
Bratitude wrote: Fri Oct 23, 2020 10:57 am

right, of course. in that case I’d run a second teensy with the additional cell group in series to the pack.
May I suggest that the use of an extra CAN-controller+tranceiver should do the trick. No need for an extra micro controller.
If you want to re write the code to do this, feel free to do so.
Reading my post above again I realize that it did not come out right.
I do not have the knowledge to re write the code. I was only trying to suggest that it could be done with another CAN-controller but the firmware have to be adjusted accordingly.
I think what is done here is great, but even so, it can be improved further.

Re: Simp BMS

Posted: Sat Oct 24, 2020 12:25 pm
by tom91
bexander wrote: Sat Oct 24, 2020 4:46 am
Reading my post above again I realize that it did not come out right.
I do not have the knowledge to re write the code. I was only trying to suggest that it could be done with another CAN-controller but the firmware have to be adjusted accordingly.
I think what is done here is great, but even so, it can be improved further.
Ofcourse anything can be improved and changed to meet different requirements. This is why I am working, all be it slowly, on a V3 with 3 can busses.

Re: Simp BMS

Posted: Sun Nov 08, 2020 1:56 am
by Dusty4
Has anyone had an issue with charge input not working, I have 12v in J5 pin 6 but nothing comes up on input in debug. Not sure if I've set something up wrong, no errors and input for drive mode works fine.

Re: Simp BMS

Posted: Sun Nov 08, 2020 9:02 am
by joromy
I think you have an old manual, d/l ver. 0.9 (or newer)
It should be pin 2 IN2.

Edit:
Sorry wrong again, you have the right pin!!!
There was swapped pins in old manual it's fixed i new manuals.
conn5.JPG

Re: Simp BMS

Posted: Sun Nov 08, 2020 9:04 am
by arber333
Maybe input has pull up. Test if you need to show it GND? Some of the pins are active high and some active low.

Re: Simp BMS

Posted: Sun Nov 08, 2020 9:10 am
by joromy
Don't think that is necessary, the inputs are opto inputs and active high.
More important is to connect the right pin ;)

Edit:
Sorry wrong again, you have the right pin!!!

Re: Simp BMS

Posted: Sun Nov 08, 2020 10:05 am
by Dusty4
Hmmmm. where do you get that manual from? I'm using manual v0.23 off the simpbms GitHub. Pin2 is alt charge current in that table.

Re: Simp BMS

Posted: Sun Nov 08, 2020 2:07 pm
by tom91
Pin 6 is charge enable / AC present.

Have a measure on the opto coupler to see if it changes.

Please ensure you are running the latest firmware.

Re: Simp BMS

Posted: Mon Nov 09, 2020 9:48 pm
by Dusty4
Thanks Tom, on a closer look I found the opto coupler had a dry joint. I've resoldered and flashed the latest firmware. I'll hopefully be able to test after work tonight. (Australia time)

Re: Simp BMS

Posted: Mon Nov 09, 2020 10:15 pm
by mdrobnak
I noticed in Dusty4's output the same thing I see - 0V for middle cells...Is this a known issue? And is it simply ignored by the ignore cell with voltage less than threshold setting?

Re: Simp BMS

Posted: Mon Nov 09, 2020 11:06 pm
by tom91
mdrobnak wrote: Mon Nov 09, 2020 10:15 pm I noticed in Dusty4's output the same thing I see - 0V for middle cells...Is this a known issue? And is it simply ignored by the ignore cell with voltage less than threshold setting?
The reason for this is purely down to can decoding. I do not map it exactly but do it as "simple" as possible. Some slaves might skip one or two fields and leave those at "0.0 V", but not to worry the code does not care as long as your cell count says the amount of cells connected you are fine.

Re: Simp BMS

Posted: Sat Nov 14, 2020 11:06 am
by Dusty4
Hey Tom, I've got it hooked up again and inputs work correctly now :) . I've got a problem with the tc charger I'm using, the bms is in charge mode, plug in the charger and I get red,green,red led (bad communication). I see in the serial terminal the expansion module is set to 500kbps (I'm unable to change it) and the charger has the option of 250kbps or 500kbps. I'm not sure what the charger would be set at, and I got very little documentation with it. What is your thought?

Re: Simp BMS

Posted: Sat Nov 14, 2020 1:00 pm
by tom91
Dusty4 wrote: Sat Nov 14, 2020 11:06 am Hey Tom, I've got it hooked up again and inputs work correctly now :) . I've got a problem with the tc charger I'm using, the bms is in charge mode, plug in the charger and I get red,green,red led (bad communication). I see in the serial terminal the expansion module is set to 500kbps (I'm unable to change it) and the charger has the option of 250kbps or 500kbps. I'm not sure what the charger would be set at, and I got very little documentation with it. What is your thought?
What are your charger settings? Do you have any can sniffer tool to check the data coming out of the charger without the bms attached, you just need to give it AC voltage for it to start spitting out canbus.

I do not recall still having an issue with a canbus expansion module, are you on the latest firmware?

Re: Simp BMS

Posted: Sat Nov 14, 2020 1:23 pm
by Dusty4
Charger setting in pic, firmware 311020. I should be able to check CAN data tomorrow morning.

Re: Simp BMS

Posted: Sun Nov 15, 2020 1:09 am
by Dusty4
Good news Tom, This morning I've plugged the CAN module into a serial adaptor and I was able to change the baud rate to 250kbps, I was then able to change the expansion setting in the serial terminal to 250kbps. Connected it all up and it's happily charging👍 Thanks for your help

Re: Simp BMS

Posted: Sun Nov 15, 2020 9:25 am
by Dusty4
sorry to be a pain Tom, my display isn't displaying any data from the BMS. how can I check if the BMS is sending anything? Or would it be worth reflashing the display?

Re: Simp BMS

Posted: Sun Nov 15, 2020 1:51 pm
by tom91
If absolutely nothing is shown, usually reversing RX and TX wires might be the fix

Re: Simp BMS

Posted: Sun Nov 15, 2020 2:00 pm
by Dusty4
Yeah, that was my first thought.. no difference :?

Re: Simp BMS

Posted: Sun Nov 15, 2020 2:38 pm
by tom91
Try flashing the display.