-
Hello. I am looking for a bit of help attaching the magnet for the encoder to the shaft of my 5010 motor. I know gluing is the standard approach, but I was curious about using a bearing and press fitting the magnet into the inner race and leaving a bit of the magnet sticking out vertically. And then securing the outer race of the bearing to the motor housing so the magnet can rotate freely with the shaft. This would basically absolve me of irreversibly gluing the magnet to the motor. The only thing I’m struggling with is that the inner race of the bearing is steel/magentic and I was curious if this would impact encoder accuracy (i’m leaving some of the magnet sticking out).
-
Please let me know if this is better directed somewhere else, or been done before. I found mixed responses online
-
For more details: The magnet is 6mmx2.5mm and the bearing is 3mm thick. If this is plausible, I will get thicker magnets.
-
I have attached photos for reference. Please note, I have not yet made the housing to lock the outer race of the bearing in place so the bearing is simply sitting on the motor shaft for now.
2 Answers
2I doubt the bearing steel would cause any trouble sensing it, but you’ll still need thread locker or other temporary glue to ensure that the bearing race turns with the shaft and magnet doesn’t slip, so you might as well just stick the magnet directly to the shaft with a dot of superglue. It should snap off easily if you want to change to epoxy later.
What about the steel balls? In my imagination they will collect magnetic rays and build fake poles, confusing the sensor. Maybe ceramic bearing is the answer?


Also by gluing, I also mean to include epoxy and the likes. Not just super glue.
– jermito14