Skip to main content

Octopus Light Sensor(EF04092)

Introduction

Octopus Light Sensor Brick can detect the light value of the current environment. It is in a small volume with a low power consumption and it is very easy to operate with good performance.

ELECFREAKS Octopus Light Sensor

Characteristics

Specification

ItemParameter
SKUEF04092
Power Supply3V-5.5V
Connection TypeAnalog
Pins Definition1-Signal 2-VCC 3-GND
ResponseQuick response
CircuitSimple drive circuit
StabilityStable and durable

Outlook and Dimension

Quick to Start

Materials required and connections diagram

Connect to P1 port as the picture shows.

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

Link:https://makecode.microbit.org/_iMH0jK6quc2j

You can also download it directly:

Result

If the light intensity is below 50, it shows the specified icons or it shows a "smile" face.

Relevant Cases

Technical Files