Sensor Lab
What will you investigate?
Explore with a sensor, or follow a guided experiment.
Start an activity
About this experiment
DS18B20 waterproof temperature sensor
Explore changes in water temperature and compare two locations.
What you will measure
Temp. 1 (P1) ℃Temp. 2 (P2) ℃
Before you start
- Use one or two waterproof DS18B20 probes. Turn off the power. Connect each probe’s VDD to 3V and GND to GND. Connect one data wire to P1 and the other to P2.
- Check the power, ground and data markings on your probe. Wire colors alone are unreliable.
- Immerse only the waterproof part of the probe. Keep the board and connections dry. Follow the product’s temperature and immersion limits.
- Temperature readings update about once a second. After moving the probe, wait for the reading to settle.
What you need
- micro:bit V2
- One or two waterproof DS18B20 probes
- Expansion board
- Terminal modules and wires
- 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.