0

TCS34725, how does it calculate the color temperature and il
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

TCS34725, how does it calculate the color temperature and il

by thaicn0108 on Sun Jun 06, 2021 5:09 am

Hi everyone,
Im using the TCS34725 sensor with arduino, im wodering how the calculateColorTemperature(r, g, b) and the calculateLux(r, g, b) work.
Thank you for reading. Im using the tcs34725 adafruit library.

thaicn0108
 
Posts: 3
Joined: Sun Jun 06, 2021 5:03 am

Re: TCS34725, how does it calculate the color temperature an

by adafruit_support_bill on Sun Jun 06, 2021 6:24 am

Color temperature and lux are calculated using the algorithms described in the application note here:
https://ams.com/documents/20143/36005/C ... 80c2f92b6b

adafruit_support_bill
 
Posts: 81576
Joined: Sat Feb 07, 2009 10:11 am

Please be positive and constructive with your questions and comments.