LED Magnetometer
Summary
A fully analog magnetometer readout. The raw sensor output is small and sits on a DC offset, so it is first passed through a cascaded op-amp stage that removes the offset and amplifies the signal into a usable range. The conditioned signal then drives a bank of comparators with staggered thresholds, lighting one to four LEDs as the field strength increases. No microcontroller is involved.
What I did
- Designed and built a cascaded op-amp circuit to amplify and remove the offset from the magnetometer signal.
- Designed and built a multi-threshold comparator circuit to drive the 4-level LED display.
- Prototyped on breadboard and verified each stage with an oscilloscope.
Results
- LED bar responds proportionally to field strength as a magnet is brought closer (see video).
Skills
Breadboard Prototyping
Analog Circuit Design
Op-Amps
Comparators
Oscilloscope