I'm not familiar with those tiny motors used in friction drives.
What ampere limits would you possibly chose for this motor?
https://flipsky.net/products/6354-190kv-2450w-2
Ready to share a beta version of the fully working Arduino code
It is tested to work both in TinkerCad and on the bench
Have fun :)
/*
Electronic gear shift for Rohloff Speedhub and other gear hubs
Arduino Nano V3 ATmega328 (old bootloader)
ver: 270_V14
status: BETA TESTING
platform: Arduino...
This one seems to be the right gear for 25T Hitec / Futaba spline:
Hitec ROB-12231
https://www.servocity.com/32p-25t-3f-spline-servo-mount-gears
http://vionics.co.uk/index.php?route=product/search&search=ROB-12231
lets see what comes out
:)
Disassembled the ex transfer box to have closer look, if a possibly even easier approach could lead to a good solution.
The brass thread was tightened strongly, but is not glued.
As I happen to have a 32T gear for servos and the driving gear of the Rohloff ex transfer box is 32T as well...
Ah, now I understand. Sorry
You may have missed the link given above:
https://www.robotshop.com/uk/actobotics-90-quad-hub-mount-e.html
So yes, the rectangular off the shelf aluminium part was turned down to roughly 25mm outer diameter to fit.
As the outer diameter is not any critical, one...
An even more complicated approach to the one above would be to replace the driving gear by a bigger one to allow to use 270° servos
Those gears from Robotshop do not exactly match modulus but metric / imperial matching in this case may be close enough to do the job.
Downside here also is...
Another approach might be to directly drive the gears inside the Rohloff ex transfer box
The brass holder for the needle bearing can be screwed off and the driven gear wheel is press fit on its shaft.
With minor machinery the gear wheel and the servo hub horn may be brought together...
Now that the first test went well, there is time to ponder the other alternatives I was tinkering.
Though the solution shown above is very simple an can be realized by almost anyone, the added bulk at an exposed place may be a less elegant solution.
One way to overcome this may be to stay with...
No such machine park accessible for me, sadly
Exorbitant costś and delivery time of pro-shops for custom machined parts are the second reason.
I hope though, others will chime in and possibly provide their expertise and skills to improve where I fall short for one reason or another, so...
reality check
http://www.74hc.co.uk/the-all-new-servo-tester/
First tests passed positive with an breadboarded Arduino.
:)
The shown servo tester from 74hc is of great help.
Nick Ward even did a custom made version with extended PWM range for me. Thanks!!!
With this thread its my intent to trigger a DIY solution for electronic gear shifting of hub gears like the Rohloff, Alfine, Nexus or others.
To my surprise such a thing is still not available as a DIY kit / solution, though technically a rather simple thing methinks :).
So I'd like to share...