Hey Festive Jelly,
Just wanting to say thanks for your post, using your information provided i was able to build a similar set up to derestrict my Shimano Steps (E6001) powered bike.
I opted for the arduino based approach as i wanted to clamp the detected speed just below the cutoff threshold instead of just halving the frequency to keep the DI2 automatic shifting on my bike.
Build information to help anyone researching this.
Bike: Merida Espresso 800 EQ
Motor: Shimano Steps E6001
Parts used:
- Arunino uno (plan on downsizing had a spare one)
- Hall Sensor sheild https://www.jaycar.co.nz/arduino-compatible-hall-effect-sensor-module/p/XC4434
- Relay Sheild as electromagnet https://www.jaycar.co.nz/arduino-compatible-5v-relay-board/p/XC4419
[url=https://www.jaycar.co.nz/arduino-compatible-5v-relay-board/p/XC4419][/url]
It was dead simple to put together just pull top of relay to get access to the electromagnet and remove relay contacts then just simply mount on top of existing sensor. Mount Hall senor and move existing magnet to trigger.
For the Shimano Steps motor both the frequency divider method and the speed clamping derestricting method worked really well though with the frequency dividing my auto DI2 shifting bounced between gears endlessly. Placing the magnet on your crank does not work with the Steps motor and throws an error which is kind of annoying to clear.
Just a quick question
Doesn't using a flip flop instead of the arduino result in the magnet being on for one full revolution the off for one increasing your overall power consumption?