Starter Guide
www.adeept.com
- 18 -
Lesson 05 Light level
Introduction
In this lesson, Let's make a smart table lamp with the light sensor on the
micro:bit.
The light sensor is integrated on the 5x5 matrix LED of micro:bit.
Operating steps
1. Just prepare a micro:bit and a USB cable and bring your own flashlight
(the phone’s built-in camera flash)
2. Connect the microbit to the computer with the USB cable.
Experimental code:
Lesson 05 Light level->code->microbit-Light_Level.hex
3. Click “Download” and download the code onto the micro: bit
4. Illuminate the matrix LED with a flashlight. When the light is strong,
nothing will be displayed. When the light is weak, a smile will be displayed.
In fact, the smart lights in our life are also based on this principle.
Effect Picture: