Our OPT4048 breakout is ready — now with a bonus web app! 🌈💻 episode artwork

EPISODE · May 14, 2025 · 2 MIN

Our OPT4048 breakout is ready — now with a bonus web app! 🌈💻

from Adafruit Industries · host Adafruit Industries

We're wrapping up the design for the OPT4048 breakout: mostly putting the finishing touches on the Arduino library (https://github.com/adafruit/Adafruit_OPT4048). Since the whole point of this sensor is that it gives you CIE X & Y coordinates, we thought it would be cool to plot that onto a CIE diagram (https://en.wikipedia.org/wiki/CIE_1931_color_space). Historically, we’d have to use Processing (https://processing.org/), but now you can use WebSerial to get data directly from a microcontroller! Only catch — it’s been like 15 years since I wrote JavaScript, so we asked Claude Code (https://docs.anthropic.com/en/docs/claude-code/overview) to help out. With a little direction, it delivered a perfect demo (https://github.com/adafruit/Adafruit_OPT4048/commits/gh-pages) in about 30 minutes. It was so fun, we’re thinking of doing WebSerial demos for more products! You can try it out by uploading the code here (https://github.com/adafruit/Adafruit_OPT4048/blob/main/examples/opt4048_webserial/opt4048_webserial.ino) and then visiting this page: https://adafruit.github.io/Adafruit_OPT4048/webserial/ #Arduino #WebSerial #ColorSensor Visit the Adafruit shop online - http://www.adafruit.com ----------------------------------------- LIVE CHAT IS HERE! http://adafru.it/discord Subscribe to Adafruit on YouTube: http://adafru.it/subscribe New tutorials on the Adafruit Learning System: http://learn.adafruit.com/ -----------------------------------------

Episode metadata supplied by the publisher feed · Published May 14, 2025

Embed this episode

NOW PLAYING

Our OPT4048 breakout is ready — now with a bonus web app! 🌈💻

0:00 2:13

No transcript for this episode yet

We transcribe on demand. Request one and we'll notify you when it's ready — usually under 10 minutes.

No similar episodes found.

No similar podcasts found.

Frequently Asked Questions

How long is this episode of Adafruit Industries?

This episode is 2 minutes long.

When was this Adafruit Industries episode published?

This episode was published on May 14, 2025.

Can I download this Adafruit Industries episode?

Yes. Use the download control on the episode player to save the publisher-provided media file.
URL copied to clipboard!