Sensor Lab
What will you investigate?
Explore with a sensor, or follow a guided experiment.
Start an activity
About this experiment
MLX90393 external magnetometer
Compare magnetic fields from coils and magnets along three axes.
What you will measure
Magnetic field, X µTMagnetic field, Y µTMagnetic field, Z µTMagnetic field magnitude µT
Before you start
- Prepare a micro:bit V2, an Adafruit MLX90393, an expansion board and a STEMMA QT to individual female socket cable.
- Connect to 3V, GND, P20 (SDA) and P19 (SCL). Check the labels on both the board and the sensor.
- Start in small-change mode. Switch to strong-magnet mode if the reading exceeds the measurement range.
What you need
- micro:bit V2
- Adafruit MLX90393 (4022)
- Expansion board
- QT to individual female socket cable (4397)
- USB data cable
Curriculum connections
Setup
Measure and record

Change over time
Current readings
Other measurements
Recorded points
Place the sensor where you want to measure, then select Record point.
| Number | Point note | Options |
|---|
Names and units also apply to existing records. Values are not converted automatically.
Experiment notes
| Time | Note | Options |
|---|
Record an observation or a change in the experiment.
Continue a saved experiment
These records are saved in this browser. Keep a full experiment JSON file to continue your analysis on another device.
Analyze data
No data loaded yet.
Check the records you want to use, then choose Analyze selected data.
Select a point or row to inspect its data here.
Relationship between two quantities
Cumulative integral
Select a graph point to inspect its data here.
Explain the relationship you found
The graph you used when writing your explanation is kept below.
Excluded data can also support your explanation
Consider how your reasons for excluding data relate to your explanation.
Why did you calculate another quantity?
How does interpreting the measured range differ from interpreting the extended line?
Explore the x-intercept
The x-intercept is the X value where the trend line reaches Y = 0. Values estimated outside the measured range are distinct from measurements.