This Photo Transistor Light Sensor is a simple sensor that detects ambient light. It's kind of the opposite of an LED - when light hits the little chip inside, it induces current to flow from the long pin to the short pin. This sensor has a built-in optical filter (probably IR filter) so it'll do a fair job of simulating light levels as the human eye does.  Basically, connect the long + pin to 3-15VDC or so, and the short - pin through a ~1K-10K series resistor to ground. When its dark, there's almost no current flowing through the sensor or resistor and the analog voltage is near ground. When there's light near the sensor, the current through the resistor will increase, raising the voltage. You can adjust the series resistor to get the voltage range you need, and measure the analog voltage with a microcontroller.

These are, essentially, replacements for CdS photocells, but are RoHS compliant.

Technical Details

  • Datasheet
  • Sensor Dimensions: 5mm x 5.3mm / 0.20" x 0.21"
  • Weight:

Photo Transistor Light Sensor [2831]

  • Brand: Adafruit
  • Product Code: ADA-2831
  • Reward Points: 2
  • Availability: 1
  • £2.86

  • Ex Tax: £2.38
  • Price in reward points: 100

  • 5 or more £2.22

Photo cell (CdS photoresistor) [161]

Photo cell (CdS photoresistor) [161]

£3.70

CdS cells are little light sensors

Qty: 4

Mini Photocell [SEN-09088]

Mini Photocell [SEN-09088]

£3.02

This is a very small light sensor

Qty: 3