
Jumper Wires Standard 7" M/M - 30 AWG (30 Pack)
P R T - 1 1 0 2 6
2 0
LED - Basic Red 5mm
C O M - 0 9 5 9 0
Resistor 100 Ohm 1/4 Watt PTH - 20 pack (Thick Leads)
P R T - 1 4 4 9 3
Suggested Reading
Before continuing with this experiment, we recommend you be familiar with the concepts in the
following tutorial:
Pulse Width Modulation
Introducing the Compass (Magnetometer)
In the previous experiment you learned about the accelerometer, which measured gravity. The
compass, or technically the magnetometer, measures a magnetic field. Magnetic fields come in
different sizes, but the biggest is the one produced by Earth itself, which is why compasses work.