Page 3 of 3
Re: AC charging with Foccci and Zombie, not starting
Posted: Fri Feb 07, 2025 8:19 am
by manny
Yes can confirm this. on 50% no pwm on 30% there is pwm.
Is it normal that when selecting ActuatorTest closed the lock cycles. so lock en than unlock. and after that ActuatorTest unlock does nothing.
this is @ 50%
Sorry for the battery warning.
Re: AC charging with Foccci and Zombie, not starting
Posted: Fri Feb 07, 2025 9:04 am
by uhi22
manny wrote: ↑Fri Feb 07, 2025 8:19 am
Is it normal that when selecting ActuatorTest closed the lock cycles. so lock en than unlock. and after that ActuatorTest unlock does nothing.
Well, from users perspective this is indeed strange. The reason is, that the actuator test stops itself when it triggered the locking, and then the application comes and sees "oh, it is locked, and the AcObcState demands IDLE, so let's unlock". From my point of view there is a little bit more decoupling needed between the actuator test and the application, so that the tests for locking and unlocking are performed no matter what the application wants.
Re: AC charging with Foccci and Zombie, not starting
Posted: Fri Feb 07, 2025 9:09 am
by johu
The last time I tested the ActuatorTest wasn't disturbed as long as no cable is plugged in. So testing "Lock" locks it and only testing "Unlock" unlocks it. As soon as you plug in a cable the application logic takes over. Can you check that?
EDIT: nevermind, genius here added some new logic to allow charging again without power cycle:
Code: Select all
//Not Plugged in and no CCS going (just to make sure we don't interfere with CCS if PP is not connected)
else if (!Param::GetBool(Param::PlugPresent) && Param::GetInt(Param::opmode) == 0)
{
hardwareInterface_setStateB();
Param::SetInt(Param::PortState, PS_IDLE);
if (Param::GetInt(Param::LockState) == LOCK_CLOSED) //always unlock when nothing is plugged in
{
hardwareInterface_triggerConnectorUnlocking();
}
}
And that always operates the lock even with nothing plugged in.
Without this code stateC can get stuck on (in standalone mode) and some chargers don't like going straight to stateC. But maybe the lock doesn't need to be unlocked again and always...
Re: AC charging with Foccci and Zombie, not starting
Posted: Fri Feb 07, 2025 9:21 am
by tom91
Good to see we are getting to the bottom of this.
It would be good to get someone else to also replicate these findings with a Foccci and Zombie setup.
Re: AC charging with Foccci and Zombie, not starting
Posted: Fri Feb 07, 2025 10:01 am
by uhi22
Btw: I really like this kind of working together, everybody contributes some pieces and in the end we are together improving the things quite fast. Especially seeing the users perspective helps a lot to find the gaps of current Implementations. Thanks a lot

Re: AC charging with Foccci and Zombie, not starting
Posted: Fri Feb 07, 2025 10:08 am
by manny
Same here. Love this stuff, not a lot of people in the netherlands working on/ building electric cars.
Thanks to you guys as well for building this tech in the first place, and helping out.
Re: AC charging with Foccci and Zombie, not starting
Posted: Fri Feb 07, 2025 2:38 pm
by johu
I think I will change the "nothing plugged in" action to edge triggered so it fires only once when someone without lock just unplugs.
Right now it also inhbits the stateC test I guess