Heading lock for gearbox

Job ID: 33695366

Budget: $30 – $250 USD

I have a gearbox that rotates a pipe. I would like to design a heading lock controller (servo or DC motor) that can control the position of the pipe orientation. Both turn it left and right at slow RPM and with the press of a button hold a heading lock.