SparkX RGB Sensor (Qwiic) - BH1749NUC (SPX-14733)
Need to autonomously monitor for that specific color value? Want to hone in on that magenta ball? Or follow that aquamarine line? The BH1749NUC-based Qwiic RGB Sensor is here for all of your red, green, blue, and infrared color-sensing needs.
The BH1749NUC features an I2C interface and a programmable interrupt output. It senses red, green, blue, and infrared in its field-of-view, then reports them as a 16-bit value. Additionally, it features programmable IR and RGB gains and a variable measurement rate.
Also included on the breakout are individually-controllable white, red, green, and blue LEDs. The LEDs are managed with a PCA9536 4-channel I/O I2C expander. We've got a library for that too!
Check out the documents section for a pair of Arduino libraries -- for both the BH1749NUC and PCA9536 IC's -- and a handful of examples to help get you started.
The Qwiic RGB Sensor uses our simple Qwiic interface, so it requires no voltage translation and no figuring out which pin is SDA or SCL; just plug it in and go! As with any Qwiic board, this product includes a pair of Qwiic connectors to support a chain of multiple sensors.
SparkFun labored with love to create this code. Feel like supporting open source hardware? Buy a breakout board from SparkFun!
- /Documents - Datasheets
- /Hardware - Eagle design files (.brd, .sch)
This product is open source!
If you have any questions or concerns on licensing, please contact techsupport@sparkfun.com.
Please use, reuse, and modify these files as you see fit. Please maintain attribution to SparkFun Electronics and release any derivative under the same license.
Distributed as-is; no warranty is given.
- Your friends at SparkFun.