Micro:bit

& Magnetic Sensors

Overview

How to use magnetic sensors with the micro:bit:

Section 1: Reed Switch/Sensor

Section 2: Hall Sensor

Section 1: Reed Switch/Sensor (Magnetic field sensor)

The images below gives a quick overview of the wiring, code and basic concepts.

Section 2: Hall Sensor (Magnetic field sensor)

The images below gives a quick overview of the wiring, code and basic concepts.

Section 3: Demo Rig (Both sensors working in conjunction with a stepper motor)

E96376E9-672A-4B72-89EB-A7541E162C92.MOV