Phototransistor (light sensor)
This phototransistor light sensor, also known as a phototransistor, is a simple sensor capable of detecting ambient light. This type of sensor is, in a way, the opposite of an LED; in other words, when light strikes the small chip inside, it causes current to flow from the long pin to the short one. The optical filter built into the sensor simulates light levels in much the same way as a human eye.
This phototransistor is very simple to use. You need to connect the sensor’s longer, ‘thicker’ pin to approximately 3–15 VDC and connect the shorter, ‘thinner’ pin via a series resistor of ~1 kΩ–10 kΩ to earth. In this way, when it is dark around the sensor, almost no current will flow through the sensor or the resistor, and the analogue voltage will be close to ground. When, on the other hand, there is light near the sensor, the current through the resistor will increase, which in turn will also increase the voltage. Using a microcontroller , you can adjust the series resistor to achieve the required voltage range and measure the analogue voltage.
Note: If you do not receive any reading from the sensor, try turning it round.
Technical details
- Ambient light detector / Photosensitive sensor HW5P-1 Datasheet
- Sensor dimensions: 5mm x 5.3mm / 0.20″ x 0.21″
Adafruit name: Photo Transistor Light Sensor [ADA2831]
























Reviews
There are no reviews yet.