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

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
/**********************************************************************
Function Protoypes
**********************************************************************/
void PXS_ShutDown(unsigned char value);
void PXS_PulseFreq(unsigned char value);
void PXS_PulseFreqRead(void);
void PXS_IntvDelay(char value);
void PXS_MeasurementEna(void);
void PXS_IntvDelayRead(void);
void PXS_ThresHold(unsigned char ThresholdLow, unsigned char ThresholdHigh);
void PXS_ThresHoldRead(void);
void PXS_IntpEna(unsigned char value);
void PXS_IntpStatusRead(void);
void PXS_IntpClr(void);
void PXS_SoftwareReset(void);
void PXS_ADCRead(void);
void Main(void)
{
}
15
PXS_ShutDown(1);
PXS_PulseFreq(0x86);
PXS_IntvDelay(0x08);
PXS_ThresHold(0xCA, 0x00);
PXS_IntpEna(0x20);
PXS_MeasurementEna();
While(1)
{
}
If(IntEna)
{
}
PXS_IntpStatusRead();
PXS_ADCRead();
PXS_IntpClr();
//Power ON.
//Enable Measurement
//if Interrupt occur
//Read ADC Output value
//20 pulses,
//25% Duty cycle, 100kHz pulse frequency
//100mA LED Current Control and
//5ms delay between burst pulses
//Set Threshold values
//Enable Interrupt Threshold
//Read Interrupt Status
//Clear Interrupt

Related parts for APDS-9801