Tesla charger in conjunction with Orion BMS not charging
- medo
- Posts: 184
- Joined: Thu Dec 07, 2023 9:32 pm
- Location: Kosova
- Has thanked: 19 times
- Been thanked: 4 times
Tesla charger in conjunction with Orion BMS not charging
I'm having a pretty big problem with charging. I have the Orion BMS2 and the Tesla Gen2 charger (V1.19). I've connected the proxy and pilot to the BMS. As soon as it's plugged in, it activates the charging pin and switches on the Tesla charger via pin A3. The same pin is also fed to the Zombieverter at GP12V to activate the pumps, but unfortunately, the charger isn't charging. The pumps start running, and the Zombie also switches to charging mode. Or could it be that the proxy and pilot must be connected to the Tesla charger?
- tom91
- Posts: 2754
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 264 times
- Been thanked: 717 times
Re: Tesla charger in conjunction with Orion BMS not charging
- medo
- Posts: 184
- Joined: Thu Dec 07, 2023 9:32 pm
- Location: Kosova
- Has thanked: 19 times
- Been thanked: 4 times
Re: Tesla charger in conjunction with Orion BMS not charging
I've already tried that, the problem is that the contactors need to be closed to start the charging process. Unfortunately, it seems that output A6 only becomes active when there's voltage present, in order to control a relay so that the BMS and the zombie go into charging mode. Or am I doing something wrong?
- tom91
- Posts: 2754
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 264 times
- Been thanked: 717 times
Re: Tesla charger in conjunction with Orion BMS not charging
Yes there are differences in the SMT32 version. The V5 board and R1.19 were:
1.there never is an output before enable is present
2.ACpresent only turns on when EVSE is on
My version of the software had, ACpresent go high when the evse is detected.
So no way of detecting the plug is in via outputs.
1.there never is an output before enable is present
2.ACpresent only turns on when EVSE is on
My version of the software had, ACpresent go high when the evse is detected.
So no way of detecting the plug is in via outputs.
- medo
- Posts: 184
- Joined: Thu Dec 07, 2023 9:32 pm
- Location: Kosova
- Has thanked: 19 times
- Been thanked: 4 times
Re: Tesla charger in conjunction with Orion BMS not charging
Oh man, this is getting complicated, what options do I have now?
- tom91
- Posts: 2754
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 264 times
- Been thanked: 717 times
Re: Tesla charger in conjunction with Orion BMS not charging
Enable always high.
Then the HV request output can be used to put BMS and Zombie into charge mode.
Correct ways to fix:
1. Someone makes the change to the ACpresent output to function before enable needs to be present
2. Someone finishes the work on the CAN integration for the Zombie and Tesla Charger V5 boards
Then the HV request output can be used to put BMS and Zombie into charge mode.
Correct ways to fix:
1. Someone makes the change to the ACpresent output to function before enable needs to be present
2. Someone finishes the work on the CAN integration for the Zombie and Tesla Charger V5 boards
- medo
- Posts: 184
- Joined: Thu Dec 07, 2023 9:32 pm
- Location: Kosova
- Has thanked: 19 times
- Been thanked: 4 times
Re: Tesla charger in conjunction with Orion BMS not charging
Won't that drain the 12V battery if it's constantly switched on?
Does your software do that?
Unfortunately, compiling isn't working for me, I have no idea why.
Does your software do that?
Unfortunately, compiling isn't working for me, I have no idea why.
- tom91
- Posts: 2754
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 264 times
- Been thanked: 717 times
Re: Tesla charger in conjunction with Orion BMS not charging
Correct, so will many other things like the zombie
- tom91
- Posts: 2754
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 264 times
- Been thanked: 717 times
Re: Tesla charger in conjunction with Orion BMS not charging
https://github.com/Tom-evnut/stm32-teslacharger
EDIT: Note I do not have a charger to test on so use at your own risk.
Here is my rework of the stm32-teslacharger firmware to make the following change:
A1-OUT2 - AC present : Goes LOW when EVSE is connected and verified it allows charging.
Enable then needs to be applied to continue the charging process.
EDIT: Note I do not have a charger to test on so use at your own risk.
Here is my rework of the stm32-teslacharger firmware to make the following change:
A1-OUT2 - AC present : Goes LOW when EVSE is connected and verified it allows charging.
Enable then needs to be applied to continue the charging process.
- medo
- Posts: 184
- Joined: Thu Dec 07, 2023 9:32 pm
- Location: Kosova
- Has thanked: 19 times
- Been thanked: 4 times
Re: Tesla charger in conjunction with Orion BMS not charging
The problem is, I can't compile, I keep getting an error message on Windows.
- tom91
- Posts: 2754
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 264 times
- Been thanked: 717 times
- medo
- Posts: 184
- Joined: Thu Dec 07, 2023 9:32 pm
- Location: Kosova
- Has thanked: 19 times
- Been thanked: 4 times
Re: Tesla charger in conjunction with Orion BMS not charging
Yes, so I've now flashed the custom firmware, but as soon as I connect the charging cable, the A1 pin isn't pulled to ground. I need it to switch a relay to supply the Orion BMS2 (charge power pin), and also to activate the VCU on pin 50 GP12vin so that the pumps run.
The wiki states that this pin has no function, is that correct?
- tom91
- Posts: 2754
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 264 times
- Been thanked: 717 times
Re: Tesla charger in conjunction with Orion BMS not charging
Okay so the charger is connected to the Charge port Control Pilot and proximity, as we can see the EVSE and cable limits.
I need to review some more of the code and maybe make more changes. Made another version for you to try, as I said I have no way of testing my changes myself.
I need to review some more of the code and maybe make more changes. Made another version for you to try, as I said I have no way of testing my changes myself.
- medo
- Posts: 184
- Joined: Thu Dec 07, 2023 9:32 pm
- Location: Kosova
- Has thanked: 19 times
- Been thanked: 4 times
Re: Tesla charger in conjunction with Orion BMS not charging
Perfect, it works! Tomorrow I'll wire everything up and report back on how it all works together.
Thank you so much, you made my day!
Thank you so much, you made my day!
- medo
- Posts: 184
- Joined: Thu Dec 07, 2023 9:32 pm
- Location: Kosova
- Has thanked: 19 times
- Been thanked: 4 times
Re: Tesla charger in conjunction with Orion BMS not charging
One small thing isn't working yet; I can't get a connection to the ESP32CANWeb. It was originally on Node 2. To rule out wiring errors, I flashed the old firmware, and now everything works again and I have a connection.
- tom91
- Posts: 2754
- Joined: Fri Mar 01, 2019 9:15 pm
- Location: Bristol
- Has thanked: 264 times
- Been thanked: 717 times
Re: Tesla charger in conjunction with Orion BMS not charging
No idea how that broke, likely via the library updates. Will need to see if I can flash it on a random board I have to test the esp connection.