{"id":20586992,"url":"https://github.com/sparkfun/sparkfun_tristimulus_color_sensor-opt4048","last_synced_at":"2026-03-11T14:38:24.216Z","repository":{"id":218616024,"uuid":"650666245","full_name":"sparkfun/SparkFun_Tristimulus_Color_Sensor-OPT4048","owner":"sparkfun","description":"Documentation and Hardware for the SparkFun Tristimulus Color Sensor OPT4048","archived":false,"fork":false,"pushed_at":"2025-01-08T17:50:13.000Z","size":22774,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":5,"default_branch":"main","last_synced_at":"2025-12-08T23:31:36.054Z","etag":null,"topics":["sparkfun-tutorial"],"latest_commit_sha":null,"homepage":"http://docs.sparkfun.com/SparkFun_Tristimulus_Color_Sensor-OPT4048","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sparkfun.png","metadata":{"files":{"readme":"docs/README.md","changelog":null,"contributing":null,"funding":null,"license":"License.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-06-07T14:46:20.000Z","updated_at":"2025-07-01T23:40:05.000Z","dependencies_parsed_at":"2024-01-23T02:05:19.266Z","dependency_job_id":null,"html_url":"https://github.com/sparkfun/SparkFun_Tristimulus_Color_Sensor-OPT4048","commit_stats":null,"previous_names":["sparkfun/sparkfun_tristimulus_color_sensor-opt4048"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sparkfun/SparkFun_Tristimulus_Color_Sensor-OPT4048","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfun%2FSparkFun_Tristimulus_Color_Sensor-OPT4048","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfun%2FSparkFun_Tristimulus_Color_Sensor-OPT4048/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfun%2FSparkFun_Tristimulus_Color_Sensor-OPT4048/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfun%2FSparkFun_Tristimulus_Color_Sensor-OPT4048/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sparkfun","download_url":"https://codeload.github.com/sparkfun/SparkFun_Tristimulus_Color_Sensor-OPT4048/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sparkfun%2FSparkFun_Tristimulus_Color_Sensor-OPT4048/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30384120,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T14:10:17.325Z","status":"ssl_error","status_checked_at":"2026-03-11T14:09:37.934Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["sparkfun-tutorial"],"created_at":"2024-11-16T07:14:50.269Z","updated_at":"2026-03-11T14:38:24.208Z","avatar_url":"https://github.com/sparkfun.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"SparkFun Tristimulus Color Sensor - OPT4048\n========================================\n\n\u003ctable class=\"table table-hover table-striped table-bordered\"\u003e\n    \u003ctr\u003e\n        \u003cth class=\"text-center\"\u003e \n        \u003c/th\u003e\n        \u003cth class=\"text-center\"\u003e\n        \u003c/th\u003e\n    \u003c/tr\u003e\n    \u003ctr align=\"center\"\u003e\n        \u003ctd\u003e\u003ca href=\"https://www.sparkfun.com/products/22638\"\u003e\u003cimg src=\"https://cdn.sparkfun.com/assets/parts/2/2/7/9/8/22638-_SEN_SparkFun_Tristimulus_Color_Sensor-_01.jpg\" alt=\"\"\u003e\u003c/a\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003ca href=\"https://www.sparkfun.com/products/22639\"\u003e\u003cimg src=\"https://cdn.sparkfun.com/assets/parts/2/2/7/9/9/22639-_SEN_SparkFun_Mini_Tristimulus_Color_Sensor-_01.jpg\" alt=\"\"\u003e\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n    \u003ctr align=\"center\"\u003e\n        \u003ctd\u003e\u003ca href=\"https://www.sparkfun.com/products/22638\"\u003eSparkFun Tristimulus Color Sensor - OPT4048DTSR (Qwiic)\u003c/a\u003e\u003c/td\u003e\n        \u003ctd\u003e\u003ca href=\"https://www.sparkfun.com/products/22639\"\u003eSparkFun Mini Tristimulus Color Sensor - OPT4048DTSR (Qwiic)\u003c/a\u003e\u003c/td\u003e\n    \u003c/tr\u003e\n\u003c/table\u003e\n\nThe SparkFun Qwiic Tristimulus Color Sensors are built around the OPT4048 High-Speed High Precision Tristimulus XYZ Color Sensor from Texas Instruments. These sensors feature a single-chip high-resolution color sensor capable of measuring four channels, each with specific engineered spectral responses. The main breakout board is only 1\" x 1\", while the Mini is 0.5\" by 1\". Both have been equipped with two I\u003csup\u003e2\u003c/sup\u003eC Qwiic connectors to make interfacing with the OPT4048 a bit easier. It’s part of SparkFun’s Qwiic connect system, so you won’t have to do any soldering to figure out how things are oriented. However, we still have broken out 0.1\"-spaced pins if you prefer to use a breadboard.\n\nThree of the four channels on the OPT4048DTSR closely match the CIE tristimulus spectra, with the fourth channel having a wide-band spectral response. With measurements from these channels, essential characteristics of the lighting environment can be extracted, like (i) light intensity (lux), (ii) color in CIE XY, LUV coordinates, and (iii) Correlated Color Temperature. This aids in applications where measuring the precise characteristics of the lighting environment is critical, like display brightness, color temperature adjustment, camera color temperature correction, object true color recognition, \u0026 medical applications.\n\nWe've written an Arduino library to make reading the various measurements easy. It can be downloaded through the Arduino Library manager: search for 'SparkFun OPT4048', or it can be found in the Documents section.\n\n\n\n\n\nRepository Contents\n-------------------\n\n* **/Hardware** - Eagle design files (.brd, .sch)\n* **/Production** - Production panel files (.brd)\n* **/docs** - Related software for the \u003cPRODUCT NAME\u003e\n\nDocumentation\n--------------\n* **[Library](https://github.com/sparkfun/SparkFun_OPT4048_Arduino_Library)** - Arduino library for the SparkFun Tristimulus Color Sensor - OPT4048.\n* **[Hookup Guide](http://docs.sparkfun.com/SparkFun_Tristimulus_Color_Sensor-OPT4048/)** - Basic hookup guide for the SparkFun Tristimulus Color Sensor - OPT4048.\n\n\nLicense Information\n-------------------\n\nThis product is _**open source**_! \n\nPlease review the LICENSE.md file for license information. \n\nIf you have any questions or concerns on licensing, please contact technical support on our [SparkFun forums](https://forum.sparkfun.com/viewforum.php?f=152).\n\nDistributed as-is; no warranty is given.\n\n- Your friends at SparkFun.\n\n_\u003cCOLLABORATION CREDIT\u003e_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkfun%2Fsparkfun_tristimulus_color_sensor-opt4048","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsparkfun%2Fsparkfun_tristimulus_color_sensor-opt4048","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsparkfun%2Fsparkfun_tristimulus_color_sensor-opt4048/lists"}