Could not have put it better myself.!!!!!!!!
in other words BANG.
Pete
Geeez okay well I'll install 3 transistors inside the hub casing, there's plenty of room in there anyway. That will stop any exclamation marks flying around
You could even put 3 latching relays in there if you want to get clunky.
Quick thought of code to go like this:
1.switch off controller battery power
2.delay
3.switch off fets
4delay
5check for voltage on fet emitter
6.if voltage exceeds X then goto 5. else continue
7.program wheel with desired settings
8delay
9.switch on fets
10.switch on battery power
go baby go
I'll connect the base signal wire to my unused PAS wiring. BANG
I can always just set my bike to 'power/economy' mode before commuting anyway. Or I can ride and think "hmmm my regen is not strong enough" then next set of lights or stop I can adjust it. I don't adjust it that often, but would be good to have this option with a weekend worth of work once I understand the comms.
If/when I get pulled up by the cops I can also set it to snail mode at the push of a button via an interrupt, when if I had a push on/off switch somewhere that could be found it may be a different story.
Not really sure what the worry is, I'm sure you have ridden your bike with the battery connected/disconnected to the wheel at speed. It's still connected to the controller right?
You guys and your AC scare tactics trying to put a stick in monkeys spokes!
hehe