CAD drawing of the pivot mechanism that will allow the lamp to rotate on it’s base.
The central aluminium pin attaches to the bottom of the lamp and sits inside the outer nylon jacket which is fixed to the base. Gears are attached to both the screw threaded end of the aluminium pin and the servo-motor.