SGBotic has created a series of Micro:Bit EduFun Mini Project Kits with an aim of making advance devices available to micro:bit inventors. Much efforts have been devoted to designing the MakeCode block packages to remove the complexity of using these devices, making it easier for inventors to incorporate into their projects.
You can connect a sensor to your micro:bit board to measure light intensity. Compared to low cost photocell, the light sensor in this kit is more precise, allowing for exact lux calculation, and can be used to detect light ranges from 0.045 lux to 188,000 lux. The sensor is optimised to mimic the human eye's perception of ambient light, and incorporates infra-red and UV blocking capability. It utilises I2C for communication, so only requires four wires to connect to your micro:bit board.
A MakeCode block package has been developed to remove the complexity of using this light sensor in your project.
The projects in the printed guide will guide through the wiring as well as using the MakeCode blocks to read the sensor output and display the data on the LED matrix.
- Light sensor
- M/F jumper wire
- Printed guide
Take note that Micro:Bit, T-Expansion board and breadboard which are used in the project are not included in this kit. Instead of T-Expansion Board, you can also use any micro:bit breakout board that has SDA/SCL pin (pin 19 and 20).