ELECFREAKS Octopus Analog Photocell Brick

Photocells are basically a resistor that changes their resistive value (in ohms Ω) depending on how much light is shining onto the squiggly face. They are very low cost, easy to get in many sizes and specifications, but are very inaccurate. Each photocell sensor will act a little differently than the other, even if they are from the same batch. The variations can be really large, 50% or higher! 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

In stock
SKU
EF04032
$1.90

DESCRIPTION

Octopus Electronic Bricks, you can use them to build electronics projects just as easy as piling bricks. By using Octopus electronic bricks, you may connect Arduino/Freaduino compatible boards easily with various digital, analog, and I2C/Uart interfaces. These breadboard-less firm connections are prepared to extensive modules like potentiometers, sensors, relays, servos even buttons, just plug and play.

What is a photocell?
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. They are often referred to as CdS cells (they are made of Cadmium-Sulfide), light-dependent resistors (LDR), and photoresistors.

Photocells are basically a resistor that changes their resistive value (in ohms Ω) depending on how much light is shining onto the squiggly face. They are very low cost, easy to get in many sizes and specifications, but are very inaccurate. Each photocell sensor will act a little differently than the other, even if they are from the same batch. The variations can be really large, 50% or higher! 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.

For most light-sensitive applications like "is it light or dark out", "is there something in front of the sensor (that would block light)", "is there something interrupting a laser beam" (break-beam sensors), or "which of multiple sensors has the most light hitting it", photocells can be a good choice!

The Freaduino Sensor Shield is the perfect shield to connect this sensor to Arduino. Or Freaduino UNO which we had a pre-stray Octopus Brick interface.

 

FEATURES

3P buckled wires connector
Easy to 'plug and play
Able to achieve very interesting and an interactive work

 

PACKAGE LIST

Module Quantity
Analog Photocell Brick 1
Analog Sensor Cable 1

 

HARDWARE CONNECTION

Connect the module to the P1 port on octopus:bit.

 

CODE

You can see the whole program from the link here: link
Or you can download it from the page below.

 

RESULT

When the mapped value of light is above 700, micro:bit will display a heart; when the value is under 700, it will display a rectangle.

No Related Posts