Jumper Wires Standard 7" M/M - 30 AWG (30 Pack)
PRT-11026
20
LED - Basic Red 5mm
COM-09590
Resistor 100 Ohm 1/4 Watt PTH - 20 pack (Thick Leads)
PRT-14493
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.