APDS-9801 Avago Technologies US Inc., APDS-9801 Datasheet - Page 12

INTEGRATED DIGITAL PS AND ALS

APDS-9801

Manufacturer Part Number
APDS-9801
Description
INTEGRATED DIGITAL PS AND ALS
Manufacturer
Avago Technologies US Inc.
Type
Analog Ambient Light Sensor and Digital Proximity Sensorr
Datasheet

Specifications of APDS-9801

Peak Wavelength
940 nm
Maximum Light Current
83 uA
Maximum Dark Current
300 nA
Maximum Rise Time
1000 ns
Maximum Fall Time
300 ns
Mounting Style
SMD/SMT
Product
Integrated Ambient Light and Proximity Sensor
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
APDS-9801
Manufacturer:
LEGERITY
Quantity:
1 043
Part Number:
APDS-9801
Manufacturer:
Avago Technologies
Quantity:
1 781
Part Number:
APDS-9801-021
Manufacturer:
AVAGO
Quantity:
20 000
PS – APPLICATION SOFTWARE
Configuration the registers
The Pulse_Freq register and Interval Delay and Control register are initialized to default values when power up. Setting
these registers to desired values would be part of setup procedure. The value can be change to optimize the perfor-
mance need. Below are samples code illustrates the setting of registers for various option.
Set up Pulse_Freq
Set up Interval Delay and LED Current Control
Enable Measurement
12
//20 pulses, 25% Duty Cycle and 100kHz Pulse Frequency
DeviceAddr = 0x55
Command = 0x81
Value = 0x86
WriteByte_i2c(DeviceAddr, Command, Value)
//24 pulses, 50% Duty Cycle and 100kHz Pulse Frequency
DeviceAddr = 0x55
Command = 0x81
Value = 0x8E
WriteByte_i2c(DeviceAddr, Command, Value)
//100mA of LED current and 5ms interval delay between the burst pulses
DeviceAddr = 0x55
Command = 0x82
Value = 0x08
WriteByte_i2c(DeviceAddr, Command, Value)
//150mA of LED current and 250ms interval delay between the burst pulses
DeviceAddr = 0x55
Command = 0x82
Value = 0x1C
WriteByte_i2c(DeviceAddr, Command, Value)
DeviceAddr = 0x55
Command = 0x82
ReadByte_i2c(DeviceAddr, Command, & Value)
Value |= 0x20
WriteByte_i2c(DeviceAddr, Command, Value)
//Slave address also be –or 0x55
//Set Command bit and address of Pulse_Freq
//Slave address also be – 0x55
//Set Command bit and address of register
//Read back register value
//Set Enable Measurement bit

Related parts for APDS-9801