Cadmium Sulfide Photocell (Light Sensor)

CdS-Photocell.png

General Information

Hooking up to the LogoChip

LogoChip-with-CdS.png

  1. Plug the sensor from the +V row to the middle section.
  2. Hook the same column of the middle section to your LogoChip pin. (A red jumper is the right size.)

  3. Plug a 100KΩ resistor from the same column to the ground (-V) row.

LogoChip Code

I have it plugged into pin A0.

The LogoChip console should print out a number in the upper hundreds, representing the brightness of the light falling on it. Brighter light should increase the number; dimmer light or shadow should decrease it.

How It Works

The photocell's resistance decreases when bright light shines on it. It's wired in a voltage-divider bridge like a potentiometer, with the photocell on top.

When the light is bright and the photocell's resistance decreases, the bridge voltage climbs. When the light is dim and the photocell's resistance increases, the bridge voltage drops.

TASD2007/Cookbook/CdS (last edited 2010-08-04 16:50:55 by localhost)