damienmaguire / Nissan-Leaf-Inverter-Controller

OpenSource Control Unit for the Nissan Leaf Gen 1 and Gen 2 inverter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Forward-Reverse-Slow

andrewacid opened this issue · comments

Awesome code, got my ZE0 gen2 EM57 spinning! On my motor the inverter and resolver must be connected, so I had to get the factory wiring loom before it would work.

I used a potentiometer for throttle , with averaging and capacitors in an attempt to get a solid reading.

So, my questions are:

1/ How do you switch from Forward-Reverse?

2/ How do you reduce the RPM without loading the motor? If there is no/small load on the motor, reducing the ThrotVal via the analogRead/potentiometer doesnt slow the motor, it keeps spinning the same speed...

3/ And when I use batteries for my HV supply, how do you set regen?