

The TEMT6000 is a light sensor designed to detect ambient light levels. It is an analog phototransistor that outputs a voltage proportional to the intensity of light it receives. This makes it an ideal choice for applications requiring precise light measurement, such as automatic lighting control, environmental monitoring, and display brightness adjustment.








The TEMT6000 is a compact and efficient light sensor with the following key specifications:
| Parameter | Value |
|---|---|
| Supply Voltage (Vcc) | 3.3V to 5V |
| Output Voltage Range | 0V to Vcc (proportional to light) |
| Spectral Sensitivity | 570 nm (peak sensitivity) |
| Light Intensity Range | 10 lux to 100,000 lux |
| Operating Temperature | -40°C to +85°C |
| Power Consumption | Low |
| Package Type | Surface-mount (SMD) or through-hole |
The TEMT6000 typically has three pins. Below is the pinout description:
| Pin | Name | Description |
|---|---|---|
| 1 | Vcc | Power supply pin (3.3V to 5V) |
| 2 | GND | Ground connection |
| 3 | OUT | Analog output voltage proportional to light intensity |
Below is an example of how to connect and read data from the TEMT6000 using an Arduino UNO:
// TEMT6000 Light Sensor Example with Arduino UNO
// Reads the analog output of the TEMT6000 and prints the light intensity.
const int sensorPin = A0; // TEMT6000 OUT pin connected to Arduino A0
void setup() {
Serial.begin(9600); // Initialize serial communication at 9600 baud
}
void loop() {
int sensorValue = analogRead(sensorPin); // Read the analog value from the sensor
float voltage = sensorValue * (5.0 / 1023.0); // Convert to voltage (5V reference)
// Print the raw sensor value and calculated voltage
Serial.print("Sensor Value: ");
Serial.print(sensorValue);
Serial.print(" | Voltage: ");
Serial.print(voltage);
Serial.println(" V");
delay(500); // Wait for 500ms before the next reading
}
analogRead() function returns a value between 0 and 1023, corresponding to 0V to 5V.No Output or Incorrect Readings
Output Voltage is Constant
Noisy Output Signal
Sensor Not Responding to Light
Q: Can the TEMT6000 detect infrared or ultraviolet light?
A: No, the TEMT6000 is designed to detect visible light, with peak sensitivity at 570 nm. It is not suitable for detecting infrared or ultraviolet light.
Q: How do I convert the output voltage to lux?
A: The relationship between voltage and lux depends on the specific characteristics of the sensor. Refer to the sensor's datasheet for a detailed conversion formula or perform a calibration using known light sources.
Q: Can I use the TEMT6000 with a 3.3V microcontroller?
A: Yes, the TEMT6000 operates with a supply voltage range of 3.3V to 5V, making it compatible with 3.3V microcontrollers.
Q: Is the TEMT6000 suitable for outdoor use?
A: While the TEMT6000 can operate in a wide temperature range, it should be protected from moisture and extreme environmental conditions for reliable performance. Use an enclosure if deploying outdoors.