TSL25911 Digital Ambient Light Sensor SKU: CQRSENHJ001

From CQRobot-Wiki
Revision as of 06:40, 18 January 2022 by Chenqi (talk | contribs) (Hardware Description)
Jump to: navigation, search

Description

This is a high sensitivity digital ambient light sensor module based on TSL25911, features 600M:1 wide dynamic range, detects light intensity up to 88000Lux, controlled via I2C interface, low power consumption. It is capable of operating across various light environment.


Specifications

  • Light sensor: TSL25911FN
  • Communication interface: I2C (constant address: 0x29)
  • Effective range: 0 to 88000Lux (Bright Sunlight)
  • Operating voltage: 3.3V/5V
  • Dimensions: 28mm * 28mm
  • Mounting hole size: 3.0mm

Ocean Interface Cable Specifications

  • Cable specifications: 22AWG
  • Material: Silicone
  • Withstand Voltage: Less Than 50V
  • Withstand Current: Less Than 1000MA
  • Length: 21cm
  • Line Sequence: Black-Negative Power Supply, Red-Positive Power Supply, Green-SDA, Blue-SDA, Yellow-INT.

Hardware Description

Chip

Media: TSL2591.pdf

This product uses TSL25911FN, which is a light intensity digitizer based on IIC bus communication. The sensor combines a wideband photodiode (visible and infrared) and an infrared response photodiode on a single CMOS integrated circuit that provides near-light adaptive response over an effective 16-bit dynamic range (16-bit resolution). Two integral ADCs convert the photodiode current into a digital output representing the irradiance measured on each channel. The digital output can be inputted to a microprocessor where an empirical formula is used to derive illuminance in lux (ambient light level) to approximate the human eye response.

Timing analysis

TSL2591 use I2C interface, has a data line and a clock signal line. There are three types of signals will be used during the I2C bus data transmissing. They are Start signal, Stop signal, and Ack signal.


Start signal: When SCL is HIGH and SDA jumps from HIGH to LOW, the data transmission starts. Stop signal: When SCL is HIGH and SDA jumps from LOW to HIGH, the data transmission stops. Ack signal: When the receiver IC have received 8 bit of data, it will send out a special LOW level pulse to the transmitter IC to indicate that the data have been received.

I2C Write


At the beginning, the Host sends out a start signal, and combines the 7 bit of I2C slave address with the Write bit, then, sends this 8 bit of data to the Slave. Then, the Slave sends back an ACK signal when it has received the data. The Host transmits the slave address of the command register to the Slave as soon as it received the ACK signal. And the Slave responds an ACK signal when it has received the slave address. At this moment, the Host sends out a start signal once again, and combines its 7 bit of slave address with Read bit, then, sends this 8 bit data to the Slave. And then, the Slave responds an ACK signal to the Host when it has received the data, and sends out the data stored in the Slave register to the Host. The Host sends back an ACK signal as soon as it received the value. The I2C communication will be continued, till the Host sends out a stop signal.

I2C address

The I2C address of the TSL25911 is as follows:0x29

P28 of the TSL25911 datasheet

Note: The device address of 0x29 is 7 bits, and the 8-bits device address required to be shifted to 0x52 by moving 1 bit to high position.