
The magnetometer detects magnetic north and then represents your heading in degrees with north
being 0 degrees, east being 90 degrees, south being 180 degrees and west being 270. Pretty cool!
Now let’s put this compass to good use!
Hardware Hookup
Ready to start hooking everything up? Check out the wiring diagram below to see how everything is
connected.
Polarized
Components
Pay
special
attention
to
the
component’s
markings
indicating
how
to
place
it
on
the
breadboard.
Polarized
components
can
only
be
connected
to
a
circuit
in
one
direction.