background image

   

EVAL-ADP5588

 

Rev. 0 | Page 11 of 20 

081

02-

026

 

Figure 25. Light Sensors Configuration 

 

Light Sensor Comparator Trip Reference Programming  

The ADP5588 is equipped to support two light sensor comparator 
inputs. Both light sensors (D12 and D13) are mounted on the 
motherboard (see the layout for the light sensor location in 
Figure 32). 

Use the 

Light-Sensors

 tab to program the light sensors and 

comparator parameters. Column 8 and Column 9 are used as 
the light sensor comparator inputs. When Column 8 and 
Column 9 are programmed as light sensor comparator inputs, 
LK1 and LK2 should be placed on the daughterboard. LK1  
and LK2 connect C19 and C20 to the comparator inputs; these 
capacitors are needed for the light sensor comparator operation 
and should be placed only if Column 8 and/or Column 9 is 
configured as a light sensor input.  

To program Column 8 and Column 9 as light sensor inputs 

1.  Clear Bit 0 and Bit 1 in Register 0x1F. 
2.  Set Bit 0 and/or Bit 1 in Register 0x30 to enable 

Comparator 1 and/or Comparator 2.  

3.  Set Bit 2 and/or Bit 3 of Register 0x30 to enable interrupt 

for the comparators, if needed. 

4.  Set Bit 0 and Bit 1 of Register 0x31 and Register 0x32 to 

enable the comparator trip points. 

Use Register 0x33 through Register 0x3A to set individual 
comparator trip references and hysteresis. 

Trip point values are expressed in μA or lux. Ensure that the 
right values are picked for the correct lighting environment; the 
comparator does not trip if the values are not within the brightness 
range of the lighting environment. 

Use the filter time to increase the number of photo sensor readings 
necessary to trip from one lighting environment to another.  
The filter time register is programmable from 80 ms minimum 
to 10.24 sec (see the 

ADP5588

 data sheet for more details on 

sensor operation). 

Comparator 

L3 OUT

 and Comparator 

L2 OUT

 are used in 

conjunction with the force read bits in Register 0x31 and 
Register 0x32 to determine the photo sensor readings during  
a force read.  

Summary of Contents for ADP5588

Page 1: ...he hardware necessary to power the IC and establish USB communication with the PC Two 20 pin connectors J11 and J12 are used to plug in the daughterboard The ADP5588 IC is mounted on the daughterboard...

Page 2: ...tion Board Assembly 3 Software Installation 4 ADP5588 Evaluation Installation 4 LabVIEW Runtime Engine Installation 5 USB Driver Installation 6 Using the Software 7 The Application Tabs 7 Schematics 1...

Page 3: ...EVAL ADP5588 Rev 0 Page 3 of 20 DEMONSTRATION BOARD ASSEMBLY 08102 002 Figure 2 Daughterboard 08102 003 Figure 3 Motherboard...

Page 4: ...rs click Next to continue with installation 08102 007 Figure 4 ADP5588 Evaluation Software Setup 2 When the screen in Figure 5 appears click Yes to accept the license agreement 08102 005 Figure 7 Setu...

Page 5: ...OK to continue 08102 010 Figure 10 LabVIEW WinZip Self Extractor 2 When the screen in Figure 11 appears click Unzip to extract the files 08102 011 Figure 11 LabVIEW Unzipped Files 3 When the screen in...

Page 6: ...be restarted to complete installation 08102 019 Figure 18 Restart Screen USB DRIVER INSTALLATION When the GUI and LabVIEW Runtime Engine are installed assemble the daughterboard onto the motherboard...

Page 7: ...ware Downloaded okay at the bottom left side of the screen see Figure 23 If USB communication is not established a Firmware not Downloaded USB Communication Error prints instead If the latter message...

Page 8: ...the unused GPIOs can be used for other functions other functions include GPIs GPOs and light sensor comparator inputs 2 Enable KE interrupt for key presses and releases if needed by setting Bit 0 in...

Page 9: ...interrupt triggering is needed set the GPIO interrupt enable bit for the rows and columns in Register 0x1A Register 0x1B and Register 0x1C 4 Define the trigger level for any of the rows or columns fo...

Page 10: ...0x1F 2 Set the bit for the row or column that needs to be configured as a GPO in Register 0x23 Register 0x24 and Register 0x25 3 Set the drive level for the GPO lines in Register 0x17 Register 0x18 an...

Page 11: ...it 0 and Bit 1 in Register 0x1F 2 Set Bit 0 and or Bit 1 in Register 0x30 to enable Comparator 1 and or Comparator 2 3 Set Bit 2 and or Bit 3 of Register 0x30 to enable interrupt for the comparators i...

Page 12: ...n command sequences are recorded the list of commands can be saved as a script file and later used as input to program all of the registers for a particular configuration or setting The script file al...

Page 13: ...e LK1 LK2 C19 and C20 as closed to U2 as possible 1 2 LK3 1 Way Link LK3 1 Way Link C1 1UF 16V C1 1UF 16V 1 3 5 7 9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20 J2 J2 1 2 LK2 1 Way Link LK2 1 Way Link 1 2...

Page 14: ...EVAL ADP5588 Rev 0 Page 14 of 20 08102 029 Figure 28 Daughterboard Layout Top Layer 08102 030 Figure 29 Daughterboard Layout Bottom Layer...

Page 15: ...0 0k R3 8 1 0 0k R3 1 1 0 0k R3 1 1 0 0k R59 6 80 R59 6 80 4 5 6 1 2 3 J5 J5 2 1 3 SW3 SW3 2 1 3 SW14 SW14 C34 0 1 uF C34 0 1 uF 3 4 2 1 S40 S40 IN 1 1 S 1 3 D 1 2 IN 2 1 6 IN 3 9 IN 4 8 D 2 1 5 S 2...

Page 16: ...9 11 13 15 17 19 2 4 6 8 10 12 14 16 18 20 J11 J11 C24 2 2uF C24 2 2uF D13 APDS 9005 D13 APDS 9005 R15 680 R15 680 D19 LED D19 LED A0 A1 A2 VSS SDA SCL WP VCC U8 M24C64 R U8 M24C64 R R17 100k R17 100k...

Page 17: ...H3 39 I3 40 J3 Row4 41 A4 42 B4 43 C4 44 D4 45 E4 46 F4 47 G4 48 H4 49 I4 50 J4 Row5 51 A5 52 B5 53 C5 54 D5 55 E5 56 F5 57 G5 58 H5 59 I5 60 J5 Row6 61 A6 62 B6 63 C6 64 D6 65 E6 66 F6 67 G6 68 H6 6...

Page 18: ...EVAL ADP5588 Rev 0 Page 18 of 20 08102 033 Figure 33 Motherboard Layout Bottom Layer...

Page 19: ...On Inc LTW 170TK 8 2 D12 D13 Photo sensor Avago Technologies APDS 9005 9 1 JP1 USB connector Hirose Electric UX60 MB 5ST 10 18 J1 to J8 J13 to J22 3 2 connector Sullins Connector Solutions PEC36DAAN...

Page 20: ...GUIDE ESD CAUTION Model Temperature Range ADP5588 EVALZ1 Evaluation Board 1 Z RoHS Compliant Part 2009 Analog Devices Inc All rights reserved Trademarks and registered trademarks are the property of...

Reviews: