Yes but the motor probably doesn't have enough torque to drive mechanisms directly. It would need a gearbox to act like a servo. So the encoder goes on one of the intermediate gears if the output shaft is hollow.
You didn't give a link to the motor. I hope it's not a BLDC gimbal motor. Those things are great for nearly-balanced gimbals. They won't drive a robot arm.
A normal RC servo is an absolute positioning device. Using an incremental encoder makes it more difficult as you now need to add a method for finding the starting position.
Hi again, and thanks!
I'm actually planning to do it from the very scratch, meaning I will make my own motors too, I will have silicone steel cut from a cad file and wind them myself.
Therefore I've been reading alot on gearboxes, and I'm really interested in trying to make an magnetic gearbox, I haven't found much information on them so I will just try to create one based in the information I find.
I know they might require a bigger size to have a higher ratio, but I want to test it out anyway.
It would be really great if it would be possible to make one that works and goes into the stator hole like this one..
Any experience with magnetic gearboxes?
Regarding the encoder I read that a magnetic encoder could also be used similar to an optical encoder, where you have two lines of magnets that are a little out of sync, and therefore no position is the same.
That seems perfect, the problem is I don't know what sensor I should use for that, any idea?
To build a robot arm today isn't that hard if you buy expensive finished parts or make it very weak, and that wont make me any happier than before - The ride is the fun part! :)