Page 182 - LiteOn_Cover01
P. 182










d ALSdMeasurementdRepeatdRatedsetdtod200msdanddthisdisdthedintervaldbetweendALS_DATAdregistersdupdate.
d ALSdIntegrationdTimedmustdbedsetdtodbedequaldordsmallerdthandthedALSdMeasurementdRepeatdRate.
d Thedthresholddregistersddeterminesdthedupperdanddlowerdlimitdofdthedinterruptdthresholddvaluedrespectively.d
Thedinterruptdfunctiondisdactivedifdthedmeasurementddatadisdoutsidedthedrangeddefineddbydthedupperdandd
lowerdlimits.
d
Proximity Sensing Example
BelowdaredthedrecommendeddsettingsdfordLTR-558ALSdshowingdhowdadportableddevice,dequippeddwithdLTR-558ALS,d
candmakedusedofditsdProximitydSensingdfunctiondtode ectivelydturndtheddisplaydscreendofdthedportableddevicedon/o .


SupplydVoltage 3.0V
I CdBitdRate FastdModed(400kHz)
2
Function ProximitydSensordActived(PS)
InterruptdMode PSdTrigger
InterruptdPolarity ActivedLow
InterruptdPersist 2
LEDdPulsedModulationdFrequency 60kHz
LEDdPulsedCount 8
LEDdDrivingdPeakdCurrent 100mA
LEDdDutydCycle 50%
PSdGain X1
PSdMeasurementdTime 100ms
PSdLowdThreshold 0
PSdHighdThreshold 100

d InterruptdModedsetdtodtriggerdbydPSdonly.dInterruptdPolaritydsetdasdandActivedLowdLeveldTriggerdanddPersistdsetd
tod2dtodpreventdfalsedtriggering.
d LEDdpulsedmodulationdfrequencydsetdtod60kHz.dThisdisdtheddrivingdfrequencydfordthedIRdLED.
d LEDdPulsedCountdsetdtod8.dThisdisdthednumberdofdpulsesdtodbedemitteddbydthedIRdLEDdfordeverydintegratingdpe-
riod.
d LEDdDrivingdPeakdCurrentdsetdtod100mA,dwhichddefnesdtheddrivingdcurrentdfordthedIRdLED. Digital Light and Digital Proximity Sensor > Application Note
d LEDdDutydCycledsetdtod50%,dwhichddefnesdtheddutydcycledfordthedIRdLEDdpulsesdemitted.
d PSdGaindsetdtodX1.dThisdisdthedGaindfactordtodbeduseddfordthedPSdmeasurement.
d PSdMeasurementdTimedsetdtod100msdanddthisdisdthedintervaldbetweendPS_DATAdregistersdupdate.
d ThedLowdanddHighdThresholddregistersddeterminesdthedlowerdanddupperdlimitsdofdthedinterruptdthresholdd
valuedrespectively.dThedinterruptdfunctiondisdactivedifdthedmeasurementddatadisdoutsidedthedrangeddefneddbyd
thedlowerdanddhigherdlimits.


Note:d
LTR-558ALSdDemodKit,dDemodProgramdanddProductdDatasheetdaredalldavailabledupondrequest.dPleasedconsultdyourdlo-
caldSales/Distributordfordmoredinformation.

ThedDemodKitdisdconstructeddwithdclosedreferencedtodthedReferencedDesigndmentioneddabove,dincludingdthedMicro-
controllerdportion.


ThedDemodSoftwaredisdadgraphicalduserdinterface,dcreateddtodfacilitatedthedvariousdI2Cdcommunicationsdbetweendthed
Microcontrollerd(master)danddthedvariousdregistersdofdLTR-558ALSd(slave),dasddescribeddindthedproductddatasheet.











d2013dC
d2013dCatalogd|dwww.liteon.com/optoatalogd|dwww.liteon.com/opto 180
   177   178   179   180   181   182   183   184   185   186   187