How to connect AMT103-v encoder to gimbal motor?

I look up the instructions from the CUI which corrsponds to the general motor example.
AMT103-v
Now I get ipower GM2804 gimbal motor which is like:


So i want to know how to connect them with each other

Hey,

The CUI encoders are designed to mount around a shaft, so you will have to add a shaft or 3D print some adapter to allow you to mount the encoder’s shaft collet…

@runger ,I find it’s diffcult for me. I choose the encoder because of the inverse pendulum example (but i can’t figure out how to connect AMT103 to motor. Would you like to tell me the details?