Octopus Analog Photocell Brick OBPhotocell

Price:
US$2.93
EF04032
In stock
+
Add to wish list

Octopus Analog Photocell Brick OBPhotocell

Octopus Electronic Bricks, you can use them 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 the breadboard-less firm connection are prepared to extensive modules like poteniometers, 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 its 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 innacurate. 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-sentsitive 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 senor to Arduino. Or Freaduino UNO which we had pre-stray Octopus Brick interface.

Features

  • 3P buckled wires connector

  • Easy to 'plug and play

  • Able to achieve very interesting and an interactive work

Packing List

  • 1 x Analog Photocell Brick

  • 1 x Analog Sensor Cable

 

Quick Start

Hardware Connection

Connect the module to P1 port on OCTOPUS:BIT.

Programming

Code

You can see the whole program from the link here: https://makecode.microbit.org/_4ipaM9Y5AFKx

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.

Resources:

Please visit our wiki page for more info about this product. It will be appreciated if you can help us improve the documents, add more demo code or tutorials. 

Notice for California Residents: Warning symbolWARNING: Cancer and Reproductive Harm - www.P65Warnings.ca.gov