Also take into account any clutch mechanism if mtn style as that adds some resistance when shifting to bigger dia cog.
Archer and Xshifter already use motors to "pull" the cable for wireless shifting.
No need to reinvent that.
Google them.
Good luck.