The solar sensor is a component in the Climate Action Kit. It detects the level of light and can attach to blocks that come in the Climate Action Kit.

Solar Sensor

This video will guide you through the basics of how to connect the solar sensor to the Climate Action Kit breakout board, and how to use the solar code blocks in MakeCode.

Solar Sensor | Tutorial

MakeCode Blocks

The Forward Education extension comes with several new blocks you can use to control the solar sensor. Download the sample code below to your micro:bit to get started with testing your solar sensor.

Lessons Using the Solar Sensor

Ready for more? Check out these curriculum-aligned lessons featuring the solar sensor.

Feeling Stuck? Explore the Knowledge Base for common questions and troubleshooting tips.