Trying to build a spectrophotometer for my HS Chemistry class using RedBoard Plus, AS7343 and ASAS7331. Need programming help-nothing I have tried has worked

Need programming help. I have tried several sources but each has at least one fatal error. The majority of high school equipment will not give you a wavelength, only a color spectrum. With single point lasers and diffraction grating, along with some math, I can get decent results. This method only works for single light, it red and/or green lasers. I am trying to get numbers for spectra from various sources. This is my first time using Arduino boards.

The AS7331 UV sensor is not suitable for a spectrophotometer, but the AS7343 would be a good place to start. It measures light intensities in 11 wavelength bands across the visible part of the light spectrum.

To get started, carefully follow the instructions in the “Hookup Guide”. Feel free to post again if you have questions.

Is there a “pre-made” sketch that I can load and run the breakout boards. The goal is to get both visible and UVa, UVb, and UVc, in the same spectra.

I am new to arduino and have also never programmed.

Thanks,

Dean Moore

Yes, study the Hookup Guides and carefully follow instructions.

Is there a different board for UVa, UVb, UVc, than the one I am using?

Thanks,
Dean Moore

Why do you ask? A number of different multiband light sensors are available.

The best approach is to start with one sensor at a time, get it working, understand how it works and decide if the resulting measurements are actually useful for the project you have in mind.