Ship's digital compass

A digital compass for a ship is provided to automatically correct a compass deviation by obtaining a compass deviation through a digital compass device having a step motor. A digital compass for a ship comprises an upper protecting body(2), a compass part(1) installed in the upper protecting body, a lower protecting body(3), a signal controlling unit(6), a step motor(4) installed on an upper surface of the middle panel of the lower protecting body, a supporting tube(5) and a cable holder(81). The step motor is connected with the compass part through a signal cable(8) and is installed on an upper surface of the lower panel of the lower protecting body. The supporting tube is connected to the compass part and the step motor at upper/lower ends of the support tube, respectively, through a connecting pin(51).