The moisture sensor is a component in the Climate Action Kit. It can be submersed in soil or water, and can attach to blocks that come in the Climate Action Kit.
This video will guide you through the basics of how to connect the moisture sensor to the Climate Action Kit breakout board, and how to use the moisture code blocks in MakeCode.
Moisture Sensor | Tutorial
MakeCode Blocks
The Forward Education extension comes with several new blocks you can use to control the moisture sensor. Download the sample code below to your micro:bit to get started with testing your moisture sensor.
Lessons Using the Moisture Sensor
Ready for more? Check out these curriculum-aligned lessons featuring the moisture sensor.