Main Content

Electronic version of the Compass, where the position of the needle is indicated by group of a three light-emitting diodes.

Compass is device used for navigation and orientation, and consists of a magnetic needle that is mounted on a pivot and is free to rotate horizontally. The needle aligns itself with the Earth’s magnetic field, and scale under her typically has four cardinal directions marked on it: North, East, South, and West.

In addition to these four main directions, many compasses also have additional markings indicating the degrees or fractions of a circle.

The device presented in the video represents an electronic version of the Compass, where the position of the needle is indicated by group of a three light-emitting diodes.

There is also an Oled display in the middle of the device, which shows the angle relative to the North Pole. In this case the resolution is greater than one degree, while in the case of LEDs the resolution is 6 degrees when moving one diode. When the red diode coincides with the top of the arrow and the value of the angle on the Oled display is about 0 and 360 degrees, then this side is North, opposite to it is South, and East and West are located at an angle of 90 degrees.

The device is relatively simple to build and consists of several components:

- Arduino Nano microcontroller
- HMC5883L compass module
- Led ring with 60 adressable RGB Leds type WS2812B

Link to article