...
For the motorized mechanism, I laser cut a hole for the motor to fit through and reinforced its position with duct tape. To attach the motor to the mechanism, I ended up gluing one of the sides of the detachable two-winged motor shaft to the input link, and reinforced it with a bolt. Figure 5 shows the assembly of the motor.
...