Is the shutdown timing controlled by the power latch board or do you need to send a shutdown pulse from the Arduino to it? Do you have your source code available somewhere? Great project. Sounds like you've pretty thououghly tested it. I have a 330 hub on my trike that I may want to automate Thanks.
The power latch board is entirely controlled by the microcontroller. If the pin isn't an input with pull up resistor it will switch off. The off is done with code and by setting the pin as an output and writing it low. if (Speed == 0){ offTimer++; } if (offTimer > 60){ pinMode(reed2, OUTPUT); digitalWrite(reed2, LOW); } Loop is half seconds when not pedaling so switches off after 30 seconds. I think I mentioned in my other comment that I want to put the code up somewhere soon, was thinking about the Arduino website. It has gone through a lot of development and is often updated which puts me of posting it as feel its never finished.
Code for the auto shifter is now available here create.arduino.cc/projecthub/erose/enviolo-nuvinci-road-bike-fully-automatic-shifter-6e9384?ref=user&ref_id=290494&offset=0