Description
Octopus Light Sensor Brick can read the light value of the current environment.
CHARACTERISTICS
The 3-pin ports are easy to plug and play with.
It can work with micro:bit in 3V.
OUTLOOK & DIMENSIONS
SPECIFICATIONS
| Items | Parameters |
|---|---|
| SKU | EF04092 |
| Power Input | 3V-5.5V |
| Connector Type | Analog |
| Pins Definition | 1-Signal 2-VCC 3-GND |
| Response | Quick response with high sensitivity |
| Circuit | Simple |
| Stability | Stable and durable |
MATERIALS USED & CONNECTION DIAGRAM
Connect to the P1 port as the picture shows
Take sensor:bit for example

PROGRAM AS THE PICTURE SHOWS
Click “Advanced” in the drawer of the MakeCode to see more choices.

We need to add a package for programming, click “Extensions” on the bottom of the drawer and search with “smarthomer“ in the dialogue box to download it.

Note: If you met a tip indicating codebase will be deleted due to incompatibility, you may continue as the tips tell or build a new project.

REFERENCE
Links: https://makecode.microbit.org/_iMH0jK6quc2j You can also download the links below:
RESULT
If the light intensity is below 50, it shows the specified icons or it shows a “smile” face.













