SparkFun Triad Spectroscopy Sensor - AS7265x (Qwiic)

The SparkFun Triad Spectroscopy Sensor is a powerful optical inspection sensor also known as a spectrophotometer. Three AS7265x spectral sensors are combined alongside a visible, UV, and IR LEDs to illuminate and test various surfaces for light spectroscopy. The Triad is made up of three sensors; the AS72651, the AS72652, and the AS72653 and can detect the light from 410nm (UV) to 940nm (IR). In addition, 18 individual light frequencies can be measured with precision down to 28.6 nW/cm2 and accuracy of +/-12%. Utilizing our handy Qwiic system, no soldering is required to connect it to the rest of your system. However, we still have broken out 0.1"-spaced pins in case you prefer to use a breadboard.

The SparkFun Triad Spectroscopy Sensor communicates over I2C by default or over 115200bps serial. We've written a fully formed Arduino library to access all the various features include taking readings and illuminating LEDs all over the Qwiic I2C interface. In addition, the Triad can be setup to communicate over serial. The serial interface uses an AT command set.

What can you do with light spectroscopy? It’s an amazing field of study, and the SparkFun Triad brings what used to be prohibitively expensive equipment to the desktop. The AS7265x should not be confused with highly complex photon spectrometers, but the sensor array does give the user the ability to measure and characterize how different materials absorb and reflect 18 different frequencies of light. We've also written a full Arduino library that makes reading and interacting with the Triad simple and easy!


The SparkFun Qwiic Connect System is an ecosystem of I2C sensors, actuators, shields and cables that make prototyping faster and less prone to error. All Qwiic-enabled boards use a common 1mm pitch, 4-pin JST connector. This reduces the amount of required PCB space, and polarized connections mean you can’t hook it up wrong.


  • Selectable interface: I2C or Serial (115200bps)
  • 18 frequencies of light sensing from 410nm to 940nm
  • 28.6 nW/cm2 per count
  • Accuracy of +/-12%
  • Integrated 405nm UV, 5700k White, and 875nm IR LEDs
  • Software control over each illumination LED as well as current control
  • Optional external bulb or illumination control
  • Programmed with latest firmware from AMS

SparkFun Triad Spectroscopy Sensor - AS7265x (Qwiic) Product Help and Resources

Spectral Triad (AS7265x) Hookup Guide

November 8, 2018

Learn how to wield the power of 18 channels of UV to NIR spectroscopy with AS72651 (UV), AS72652 (VIS), and AS72653 (NIR) sensors!

Python Examples

For customers interested in using Python instead of Arduino, check out the following GitHub repositories:


Core Skill: Programming

If a board needs code or communicates somehow, you're going to need to know how to program or interface with it. The programming skill is all about communication and code.

3 Programming

Skill Level: Competent - The toolchain for programming is a bit more complex and will examples may not be explicitly provided for you. You will be required to have a fundamental knowledge of programming and be required to provide your own code. You may need to modify existing libraries or code to work with your specific hardware. Sensor and hardware interfaces will be SPI or I2C.
See all skill levels


Core Skill: Electrical Prototyping

If it requires power, you need to know how much, what all the pins do, and how to hook it up. You may need to reference datasheets, schematics, and know the ins and outs of electronics.

2 Electrical Prototyping

Skill Level: Rookie - You may be required to know a bit more about the component, such as orientation, or how to hook it up, in addition to power requirements. You will need to understand polarized components.
See all skill levels


Comments

Looking for answers to technical questions?

We welcome your comments and suggestions below. However, if you are looking for solutions to technical questions please see our Technical Assistance page.

  • This is my version of a python script that plots spectra obtained with this sensor: link

  • Dear SparkFun Community,

    I have written a few simple Python programs that visualize the output of your AS7265x Spectral Triad connected to an Arduino / Teensy. It goes from a simple 2D Plot to a colormapped scatterplot against the measured wavelength

    https://github.com/hwreverse/pySpectralTriad
    

    Feel free to test, share, and enhance - still lots of work to be done !

    Cheers,

    HWR0

  • Hi Why six channels of each sensor show same values?

    Thanks

    jagath

  • Really this is a spectrophotometer. Great job by the way guys.

    I was trying to make this exact thing for like 2 years. Unfortunately when I started I knew exactly nothing about electronics. The whole reason I got into electronics was because I had the idea for a cheap photospectrometer to be used in water quality analysis. Damn, o well. Bravo. I was even planning on using these AMS sensors for the first iteration after I saw it on mouser and emailed AMS about it, then once you guys released your sparkx spectral sensors and I saw another cheap and easy spectrophotemeter in the wild I knew Id never catch up. You guys should make a water proof container that allows water analysis, although the light source has to be much bigger.

    The applications of this in water chemistry and water quality are huge, although the precision would have to be bumped up. AMS has a couple other options, which of course make it much more complicated. Distributed sensor networks analyzing our water distribution networks, or wastewater, or streams and rivers for water quality would be BIG government contract style money. That market is still there, but im still relatively useless in electronics. Water is my thing.

    • Thanks! I added a bit to the description to try to capture spectrophotometer.

      Welcome to electronics! I'm glad you had a project to get you started. That's how I always learned best. Sorry to hear this product sort of usurped your idea :/ Technology has a way of doing that...

      I hope you can find good applications for the Triad. It's a fun, powerful sensor today, and I'm excited to see where the sensor world takes us in the next 2-3 years.

      • Not at all usurped, I am happy I was pointing in the right direction. Thanks for the response. I am definitely picking one of these up, see if I can try to pull out the the kind of data I had envisioned.

        By the way, thanks for a great site, store, and resource. This has always been my favorite site, due to the quality of your products and the range of depth of your tutorials. I recently used the eagle tutorials on here to design my very first PCB, a VNH5019 Motor Driver board. Not too pretty, but it handles 10-20 amps so I am proud. So thank you.

        • Also, it might be useful to either normalize the readings to the specific emission spectra of the white led or even use an RGB LED and string out the measurements over a time span with each spectrum range being read, or at least saved in memory from the register while that spectrum is being emitted. I know I could do this myself, but I figured other people might want to know that too. The code, as it is, reads all ranges in one function call, from my understanding of it. Maybe ill try to work this out and share it somewhere. I imagine this would do alot for the precision of the readings. This might even allow this sensor to do some readings related to atomic absorption spectroscopy, which is extremely powerful. Thanks again, this has actually inspired me to get back to this idea. Now I just need this sensor to be available again haha.

    • Hello, I'm student and trying to create the a small device for analysis of water. If you can enter in contact me. We can to exchange ideas and informations about this sensor. Await your return. thanks. My e-mail is skylyne@gmail.com

  • This is an exciting tool!

    But please consider changing the phrase "highly complex mass spectrometers" to "highly complex photon spectrometers". Mass spectrometers use magnetic fields and the velocity of accelerated ions to determine mass. As photons are without mass, photon spectrometers utilize the wavelength to diverge the light based on energy. Sorry to pick at nits.

    Thanks!

  • when it will be available?

  • When it will be ready ?

Customer Reviews

3.7 out of 5

Based on 3 ratings:

Currently viewing all customer reviews.

Great product

I am working on spectroscopy research and this is an ideal piece of electronic kit for the job. It works exactly how the support staff has described. I can see endless science application using the Triad sensor. Take my hat off to people who design the Triad.

STEM Simplicity

Bought two units for a STEM-based experiment, building upon the classic Photoelectric Effect (PE) experiment. Students created an RGBAI light source to measure the photoelectric effect and test theories with varying wavelengths to determine the efficiencies of the detector.

A really useful outcome for such a basic physics prac.

Terrible Data Sheet

No explanation of what to do with calibration data. How do you apply this to the raw data? Very poor explanation on how to use the virtual register. There are very large variations in my raw data. If I collect the data for a copper plate ten times, my standard deviation can be as high as 20,000 (yes, 20 THOUSAND). Did your data show such wide variations?

It makes me believe I got a defective AS7265x board!

Sorry to hear that you are running into issues with this product. I highly suggest that you post on the SparkFun forums providing as many details as possible if you believe that you have received a defective product. Our forum moderators can assist with troubleshooting and confirm if the product is defective: https://forum.sparkfun.com/viewforum.php?f=147&sid=ea4afd8ee56e1a69fa23186739a28b6c