Compass-Needle steering PCB
Make four printed coils in a square, arrange for current to flow opposite directions in each of each pair of diagonally opposite coils, place the compass in the centre. Driving one pair will align the compass with that pair, reverse polarity will reverse the direction.


Using  PWM, or analogue proportional control of the currents you can point the needle any direction, but there will be some deflection due to environmental masgnetic fields (such as the Earth's magnetic field).