APDS-9801 Avago Technologies US Inc., APDS-9801 Datasheet - Page 19
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
1.APDS-9801.pdf
(24 pages)
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
Company:
Part Number:
APDS-9801
Manufacturer:
LEGERITY
Quantity:
1 043
Company:
Part Number:
APDS-9801
Manufacturer:
Avago Technologies
Quantity:
1 781
Company:
Part Number:
APDS-9801-021
Manufacturer:
AVAGO
Quantity:
20 000
/***********************************************************************
DESC: Software Reset
RETURNS: Nothing
***********************************************************************/
void PXS_SoftwareReset(void)
{
}
/***********************************************************************
DESC: Read ADC Data Output Value
RETURNS: ADC Low Byte and ADC HIGH Byte value
***********************************************************************/
void PXS_ADCRead(void)
{
}
19
unsigned char command;
command = 0x10;
Write_i2c(DeviceAddr, command);
unsigned char command;
//Read ADC Register Low Byte data
command = CMD|ADDR_ADCDATALOW;
ReadByte_i2c(DeviceAddr, command, &ADC_DataLow);
//Read ADC Register High Byte data
command = CMD|(ADDR_ADCDATAHIGH);
ReadByte_i2c(DeviceAddr, command, &ADC_DataHIGH);
//Set the Software Reset bits