3D Compass Kit

This documentation covers part number 10-0000031.
Overview
The 3D Compass Kit is an innovative educational tool that brings the Earth’s magnetic field to life in three dimensions. Powered by an Arduino microcontroller and vibrant Neopixel LEDs, this kit allows you to visually explore not only the directional north but also the vertical components of the Earth’s magnetic field. Whether you’re using it in a classroom or as a fun desk toy, the 3D Compass Kit offers an engaging hands-on experience that makes learning about geomagnetism exciting and accessible.
Ideal for students and hobbyists alike, this kit also lets you experiment with the magnetic fields of everyday objects using additional magnets. Complete with an educational lab activity, it’s perfect for enhancing STEM education by combining physics, earth science, and more in one engaging package.
What's in the box
Upon receipt of your unit, unpack the contents of the box and inspect all parts for any damage incurred during shipping. Immediately report any missing parts or damage to Leeman Geophysical for replacement.
- Laser cut acrylic panels
- Aluminum standoffs
- Nylon screws
- Sparkfun RedBoard (Arduino)
- Circuit Board with LEDs and Magnetometer
Operation
Tools Required
- Philips Screwdriver
- Super Glue (optional)
Parts List
- Base Panel (1x)
- Top Panel (1x)
- Red Board (1x)
- LED+Magnetometer Board (1x)
- Aluminum Standoffs (7x)
- M3 x 6mm Nylon Screws (9x)
- M3 x 12mm Nylon Screws (4x)
- Acrylic Bracket (1x)
Assembly
NOTE: Be gentle tightening screws as the screws and plates are plastic and are easily stripped. Just snug the screws so that nothing is loose.
- Remove and inventory the contents of your kit - make sure you received all parts of the kit and that they are undamaged.
-
Place the bottom plate flat on the table and align the holes in the Arduino
Red Board to the holes in the plate. Secure the Red Board with the provided
plastic screws.
-
Screw in four of the aluminum standoffs into the corner holes of the bottom
plate on the same side as the Red Board.
-
Place the top plate onto the standoffs as shown - note the offset of the slot
on the right side of center.
-
Secure the top plate with the four longest 12mm plastic screws.
-
Screw in three standoffs into the holes in the top plate.
-
Bend the inner circuit board so that it is perpendicular to the outer ring.
Attach the clear bracket to the back of the small circular circuit board with
two 6mm plastic screws.
NOTE: Exercise caution when bending the board into place, as to not break any of the wire connections. -
Attach the circuit board to the standoffs with three 6mm plastic screws.
-
With the small circular board and bracket perpendicular to the large circle,
Insert the clear tab of the bracket into the slot on the top plate. You can
secure this connection with superglue if preferred, or you may leave it loose
for future disassembly.
-
Run the wires from the back of the circuit board through the holes in the top
plate as shown. In this orientation the red, black and orange wires will go
through the left slot, and the blue, white and yellow wires will feed through
the right slot.
-
Plug the wires into the Arduino Red Board as indicated below. Double check
these connections before turning on the unit as incorrect connections may damage
the unit and are not covered as a manufacturer’s defect!
NOTE: Given the confined work space, A pair of needle nose pliers or tweezers may help to plug in the connections.
Wire Color | Arduino Connection |
Red | 5V |
Orange | 3.3V |
Black | GND |
White | 13 |
Yellow | SCL |
Blue | SDA |
There are multiple places in which ground wire can be connected, all will work. Plugging the black GND wire into the GND connection closest to the VIN pin on the left is easiest.
After double checking the connections again, plug in the mini B USB cable and power adapter. Follow the use instructions.
Using the 3D Compass
The 3D compass is powered by a USB plug, so any computer, USB charger, or even USB battery pack can be used to power the device. As soon as the unit receives power, the large ring will begin to light up green. This is the calibration procedure of the compass to compensate for any magnetic materials in the area and is done each time the unit is turned on. During this time rotate the compass and tilt it in all directions. Be sure to get upside down too! Once the ring is completely green, the calibration is complete. The rings will then turn blue and red. If the compass is inaccurate try moving further from magnetic interference and recalibrating the compass. Recalibration can be done by pressing the reset button on the Red Board or by unplugging and replugging the USB cable.
The leds turn from blue to red as they get closer to the direction of the magnetic field vector. The large ring indicates the direction of north while the smaller ring shows how much the magnetic field is dipping at your location. Be sure to check out the maps of magnetic dip and see how your readings compare!
If you plug the compass into a computer you might notice the green led calibration process restart a couple of times while the computer is opening a serial connection to the compass. You can use a program like the Arduino IDE (freely downloaded from the Arduino.cc website) to open a serial monitor and view the data from the magnetometer! The data returned are the x, y, z, components of the magnetic field followed by the estimated azimuth and dip of the magnetic field. The serial connection uses the following parameters:
- Baud: 115200
- Data Bits: 8
- Parity: None
- Stop Bits: 1
Serial Data Output
Teachers Guide
Lab Activity
Revision History
Date | Changes |
May 2025 | Fixed new image display issue with MkDocs |
October 2024 | Moved documentation to MkDocs format |