The head of BB8 floats across the body on bearings. It’s held to the body by strong magnets that coorespond to other magnets on the inside of the sphere. Those inner magnets are affixed atop a mast that projects from the center of the vector bot. By rotating the shaft, you rotate the head.
This poses a few neat mechanical problems to address:
- It needs to attach to the center of the vector bot
- It must rotate freely
- It should be driven by a motor
- Need to be able to track it’s rotation
- Needs to fit through the 5.25″ opening in the sphere
The yellowish blocks represent the center of the vector bot. It’s important that this shaft be very close to the exact center so it always points to the outside of the sphere at the correct angle.
I have the code for this motor working. I need to refine it to make it smoother. There complications when programming bothe stepper motors and regular dc motors on the same controller. I’ll get into those in a later post once I solve the issues I’m experiencing.