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

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
Read ADC Data Output Values
Software Examples
/**********************************************************************
Definitions
**********************************************************************/
#define
#define
#define
#define
#define
#define
#define
#define
#define
#define
/**********************************************************************
Global Variable
**********************************************************************/
unsigned char PFR_Data;
unsigned char ICR_Data;
unsigned char ReadThresholdLow, ReadThresholdHigh
unsigned char ADC_DataLow, ADC_DataHIGH
unsigned char IntSta;
14
//Read the ADC low byte channel and store at ADC_DataLow
DeviceAddr = 0x55
//Set Command bit and addr of low byte of ADC Data output register
Command = 0x85
ReadByte_i2c(DeviceAddr, Command, &ADC_DataLow)
//Read the ADC high byte channel and store at ADC_DataHigh
//Set Command bit and addr of high byte of ADC Data output register
command = 0x86
ReadByte_i2c(DeviceAddr, Command, &ADC_DataHigh)
DeviceAddr
CMD
ADDR_SD
ADDR_PFR
ADDR_ICR
ADDR_THRESLOW
ADDR_THRESHIGH
ADDR_ADCDATALOW
ADDR_ADCDATAHIGH
ADDR_INTP
0x55
0x80
0x00
0x01
0x02
0x03
0x04
0x05
0x06
0x07
//Slave address also be – 0x55
//Slave address for device
//Command
//Shutdown Register address
//Pulse_Freq Register address
//Interval delay & Control Register address
//Threshold Low Register address
//Threshold High Register address
//ADC Data Output Low Register address
//ADC Data Output Low Register address
//Interrupt Register address
//hold data of Pulse_Freq Register
//hold data of Interval delay & Control Register
//read back threshold register value
//read back ADC data
//read back interrupt status

Related parts for APDS-9801