- There are no more items in your cart
- Shipping
- Total lei0.00
- Electronics
- GroundStudio®
- Arduino®
- Raspberry PI
- micro:bit
- Development boards
- Modules
- Displays and LEDs
- Motors and drivers
- Wires and connectors
- Tools
- Power supply
- Buttons / switches
- Discreet components
- Sensors
- Cases and boxes
- Communication
- Screws and nuts
- Robots
- Projects (complete KITs)
- Shields
- Breadboards and cables
- Orange Pi
- SMD Components
- TH Components
- 3D Printing
- Storage boxes
- CNC
- Stock Clearance
- Fun socks
- Documentation / books
- Gift Cards
- Services
- Home
TEMT6000 Ambient Light Sensor
Pick up your orders anytime, hassle-free!
Orders placed by 2:00 PM are shipped the same day. Delivered within 24h!
Reliable products, worry-free!
Unused items? No questions asked!
Product Description:
Basic breakout board for the TEMT6000 Ambient Light Sensor. Only what you need, nothing you don't. Sensor acts like a transistor - the greater the incoming light, the higher the analog voltage on the signal pin.
Technical Specifications:
- Collector emitter voltage: 6V;
- Collector emitter voltage: 1.5V;
- Maximum current: 20mA;
- Power supply module: 3.3V - 5V;
- Wavelength: 570nm;
- Detection angle: 60 o .
- Dimensions: 14 x 8 mm.
- Phototransistor datasheet : link
Pinout:
Connection Example:
For this example you'll need:
1 x TEMT6000 Ambient Light Sensor | Reference: BZJVJR_TEMT6000
1 x Development board UNO R3 Arduino compatible | Reference: TXVMOK_DB-UNO-R3
wires for electrical connections
Code example:
#define LIGHT_SENSOR A0 // define input pin
void setup() {
Serial.begin(9600);
}
void loop() {
int Lvalue = analogRead(LIGHT_SENSOR);// read the light
int mVolt = map(Lvalue,0, 1023, 0, 5000);// map analogue reading to 5000mV
int percent = map(Lvalue,0, 1023, 0, 100);// map analogue reading to 100%
float volt =(double)mVolt/1000;// convert millivolt to volt
Serial.print(mVolt);// print millivolt
Serial.print( "mV ...... ");
Serial.print(volt,3);// print volts with 3 decimal places
Serial.print( "V ...... ");
Serial.print(percent);// print percentage
Serial.println( "%");
delay(1000);// wait for 1000 milliseconds
}
The signal on A0 pin is transformed into values in Serial Monitor relatively to 5V from VCC.
Contents of the package:
1 x Ambient light sensor module TEMT6000
1 x 3 Pin male header
Reference: BOQWRO_HX711
Digital scale sensor reader module HX711
Reference: NMMXJA_module-vibration