Commit graph

3 commits

Author SHA1 Message Date
RubenKelevra
59b9448b42 tcs34725: implement irradiance output per color channel
- Extracted responsivty curves for red, green, blue and clear channel from the specs
- Simulated three lights, specified in the spec sheet, emitting light onto clear responsivity curve, to get a median conversion factor for responsivity (in the graph) to counts/irradiance.
- Determine red, green, blue, clear channel range by FWHM
- Get the average responsivity for red, green, blue channels from the spec sheet curves and convert the units by the conversion factor determined ealier to counts/irradiance.
- Use channel range by FWHM to scale the responses accordingly
- Implement conversion from counts by the sensor to irradiance
2024-10-18 13:47:10 +02:00
RubenKelevra
021d593576 tcs34725: Replace clear channel with sensor saturation with more accurate overexposure detection
- Removes the clear channel and introduces sensor saturation as precentage value.
- Ensures values stays within 0-100% range - fixes a rare bug where values would massively exceed 0-100% range, likely due to floating point matching of the exposure time failing.
- Export R, G, B values as 0.0, until next PR adds calibrated irradiance values.
2024-10-18 13:47:10 +02:00
Keith Burzinski
f6848fe24d
[CI] Introduce testing for IDF 5 (and other arbitrary framework versions) (#6802)
* Initial changes to support testing of additional framework versions

* Rename Arduino test files
2024-06-17 16:32:11 -05:00
Renamed from tests/components/tcs34725/test.esp32.yaml (Browse further)