isl29125 rgb color light sensor
play

ISL29125 RGB Color Light Sensor Arjun Arunasalam Varun Kutirakulam - PowerPoint PPT Presentation

ISL29125 RGB Color Light Sensor Arjun Arunasalam Varun Kutirakulam Vinay Revankar Avi Singh 1 Contents 1. Overview 2. Camera vs. Color Sensor 3. Real World Applications 4. How were using it 5. Electrical Characteristics 6.


  1. ISL29125 RGB Color Light Sensor Arjun Arunasalam Varun Kutirakulam Vinay Revankar Avi Singh 1

  2. Contents 1. Overview 2. Camera vs. Color Sensor 3. Real World Applications 4. How we’re using it 5. Electrical Characteristics 6. Registers 7. Protocols and Operations 8. Conclusion 2

  3. SparkFun RGB Light Sensor (ISL29125) 3

  4. Camera vs. Color Sensor - Cameras - More Versatile - More expensive - Color Profiling - Color Sensor - Cheaper - Can be calibrated to be more accurate and tune out external light - Generally more reliable (depends on application) 4

  5. Applications Smart phones, PDAs, GPS, tablet PCs, LCD-TVs, digital picture frames, ● digital cameras Industrial/commercial LED lighting color management ● Dynamic display color balancing ● Printer color enhancement ● Industrial Sorting or Matching ● [https://learn.adafruit.com/adafruit 5 -color-sensors/overview]

  6. Use Case - Tron light cycle game - Utilize the RGB data that the color sensor provides - Compare it against the marker color detected - Deduct health points from that vehicle based on comparison results [https://www.lifehack.org/article s/featured/10-things-to-do-with [https://www.topbestalternative 6 -dry-erase-markers.html] s.com/encom-tron/psp/]

  7. Electrical Characteristics Sensing Ranges ● 5.7 mlux to 375 lux ○ 0.152 lux to 10,000 lux ○ ADC Resolutions ● 12 bits ○ 16 bits ○ ADC Conversion Time ● Inversely proportional to ○ the resolution I2C Clock ● 500 kHz ○ Active IR Compensation ● 7

  8. Spectral Response 8

  9. Registers (Configuration and Status) 9

  10. Registers (RGB Data) 10

  11. Write Transaction 2 bytes of data is written 1 byte for the address of data , 1 byte for data you want to store in register Signals From Receiver 11

  12. Example of Write Transaction 0 0 0 0 0 1 0x01 0x02 Signals From Receiver 12

  13. Read Transaction Signals From Receiver 13

  14. Read Transaction 0x09 0x00 - 0xFF Signals From Receiver 14

  15. Read and Burst Read Transactions Signals From Receiver Signals From Receiver 15

  16. Read and Burst Read Transactions Signals From Receiver Signals From Receiver 16

  17. Read Transaction 17

  18. Signals From Receiver 18

  19. Interrupt Function An interrupt can be generated on INT whenever the value from either the red, green, or blue light sensor crosses either a minimum or maximum threshold. When the value crosses one of the two thresholds, the RBGTHF bit in register 0x08 is asserted to HIGH and the INT pin goes LOW. User can configure which light sensor (RGB) will ● generate interrupt, but interrupt can only be configured to one color. User can choose to throw an interrupt after ● threshold is crossed multiple times, not every single instance. 19

  20. Interrupt Function 20

  21. Configuring the interrupt 21

  22. Conclusion More optimal than camera for simple applications ● Works well in our project ○ Uses I2C bus protocol ● Has a convenient interrupt function ● Straightforward and understandable configurations ● 22

  23. Documentation Data sheet (https://cdn.sparkfun.com/datasheets/Sensors/LightImaging/isl29125.pdf) Note: All Images taken from datasheet unless otherwise specified 23

  24. Any Questions? 24

Recommend


More recommend