Skip to main content

Octopus Analog Photocell Brick OBPhotocell(EF04032)


Photocells are sensors that allow you to detect light. They are small, inexpensive, low-power, easy to use and don't wear out. For that reason they often appear in toys, gadgets and appliances.

ELECFREAKS Octopus Analog Photocell Brick


Photocells are basically a resistor that changes its resistive value (in ohms Ω) They have a low cost which is also friendly to the environment. Each photocell sensor will act a little differently than the other, even if they are from the same batch. For this reason, they shouldn't be used to try to determine precise light levels in lux or millicandela. Instead, you can expect to only be able to determine basic light changes. The 3-pins ports is easy to plug and play.


Power Supply3V-5.5V
Connector TypeAnalog
Pins Definition1-Signal 2-VCC 3-GND
ResponseQuick response with high sensitivity
StabilityStable and durable

Outlook and Dimensions

Quick to Start

Materials used and connection diagram

Connect to the P1 port as the picture shows

Take sensor:bit for example

Program as the picture shows



You can also download the links below:


While the light intensity is over 700, an icon is showing on the micro:bit; or a rectangle is showing on the micro:bit.

Relevant Cases

Technique Files