-
Notifications
You must be signed in to change notification settings - Fork 5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature Request: Add support for TCS3725 ahd VEML6040 RGB Color Sensors #6446
Comments
TCS34725 will need it's driver enabling - The VEML6040 (not VMEML6040) driver doesn't exist in 6.6, but it is there in 6.12. It also doesn't seem to require any configuration. If I have a moment I might throw together the necessary config and overlay updates against 6.12. What's your application? |
And which I2C addresses can the devices appear on - don't make me read the datasheets. |
Oh, right, TCS34725 is 0x29... VEML6040 is 0x10... The use case is that I am using these sensors to read a 'tally' light on a remote floating head camera, at the end of 25 or so foot jib or boom crane... which is beyond visibility to anyone at ground level. A micro controlller, i.e. in this case Pi Zero 2W forwards this color state to a production broadcast monitor at ground level, that has a custom GPIO interface, I have not decided if I will use solid-state relays, opto-couplers, or NPN transistors, or even mosfet to do the actual GPIO pin state changes between the Pi and monitor GPIO interface yet. but since i have the solid state relays, likely use those for the initial testing., And of course, the relays provide isolation between Pi GPIO and Production Monitor GPIO. Sensor->i2c->Pi->Evaluate RGB levels->Pi GPIO->Trigger applicable relay. On production broadcast monitor GPIO interface, Pin to GND, i.e. Low 'On', Pin High 'Off', for the respective color of tally status on-screen of monitor. So I just via relay, short pin to GND for the given pin, i.e. color, red or green. Typical broadcast switchers and cameras... Red is on-air, Green is stand-by or preview. Or none... if camera is not pending preview or on-air. TCS34725 is the first sensor I am testing, likely using initially, so VEML6040 in 6.12. is cool. As always, thanks for doing this, greatly appreciated! |
You know... I could have sworn I posted this request to the 'firmware' section... Sorry about that. I guess with all the page jumping I was doing... I did not realize I was in the wrong section when I made the request. Thanks for transferring it to the right section/queue. |
Add config settings for the HTS221, VEML6075 and AS73211 sensors. Link: raspberrypi#6446 Signed-off-by: Phil Elwell <[email protected]>
Extend the i2c-sensor overlay with support for the HTS221, VEML6075 and AS73211 sensors. Link: raspberrypi#6446 Signed-off-by: Phil Elwell <[email protected]>
Enable support for the TCS3472 family of light sensors. Link: raspberrypi#6446 Signed-off-by: Phil Elwell <[email protected]>
Extend the i2c-sensor overlay with support for the VEML6040 and TCS3472 family of light sensors. Link: raspberrypi#6446 Signed-off-by: Phil Elwell <[email protected]>
See #6448. Wait about 40 minutes for the autobuilds to complete, then run |
Extend the i2c-sensor overlay with support for the HTS221, VEML6075 and AS73211 sensors. Link: raspberrypi#6446 Signed-off-by: Phil Elwell <[email protected]>
Enable support for the TCS3472 family of light sensors. Link: raspberrypi#6446 Signed-off-by: Phil Elwell <[email protected]>
Extend the i2c-sensor overlay with support for the VEML6040 and TCS3472 family of light sensors. Link: raspberrypi#6446 Signed-off-by: Phil Elwell <[email protected]>
Yup... understood and well do. Just a side question... ball park when this will go main stream? Just curious. |
I missed a few back-port commits - it should be good now, so the build will be available to try by the morning. Stable kernels (and hence apt packages) are usually updated roughly every three months. There is likely to be at least one more 6.6 release before we move to the next LTS kernel - probably 6.12. |
Add config settings for the HTS221, VEML6075 and AS73211 sensors. Link: raspberrypi#6446 Signed-off-by: Phil Elwell <[email protected]>
Extend the i2c-sensor overlay with support for the HTS221, VEML6075 and AS73211 sensors. Link: raspberrypi#6446 Signed-off-by: Phil Elwell <[email protected]>
Enable support for the TCS3472 family of light sensors. Link: raspberrypi#6446 Signed-off-by: Phil Elwell <[email protected]>
Extend the i2c-sensor overlay with support for the VEML6040 and TCS3472 family of light sensors. Link: raspberrypi#6446 Signed-off-by: Phil Elwell <[email protected]>
Let me know when you've tested #6448 and I'll merge it (if it works...) |
Feature Request: Add support for TCS34725 ahd VEML6040 RGB Color Sensors as device tree overlays.
Example of TCS34725 RGB Color Sensor...
https://www.adafruit.com/product/1334
VEML6040 RGB Color Sensor...
https://www.taydaelectronics.com/veml6040-color-sensor-rgbw-i2c-module.html
The text was updated successfully, but these errors were encountered: