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.
I have been trying to get the redboard plus connected using QWIIC to a AS7343. After multiple attempts, and with student help, I am getting “data” from the Spectral Sensor. (I have the white light on the board illuminated.)
The “issue” now is the “data” reported by the web monitor are boxes, nothing numeric.
Help
Thanks,
Dean Moore
Collegium High School
Chemistry (AP, Honors), Forensic Science, Human Anatomy & Physiology
Place a “color wheel” that is changed with a stepper motor. The color wheel can “tighten” up the spectrum from you light source. Use a “slit” to narrow the light beam width. Some “hot” incandescent lights (halogen, etc) produce a high heat with a very broad spectrum. Then you can also use a prism of some type to spread the lightbeam across a photo detector array.
Generally you need to calibrate the device using known materials that have known absorption spectrums.
This idea started with a youtube video from “San the Tinkerer”. My Chemistry class studies the components of light, as well as the wave-particle duality. My AP class was discussing how to measure the exact wavelength across visible and the UV range. The idea of separating the light can be solved using multiple materials, but for high schools, there aren’t any “good” instruments on the market. That’s where the sensor idea comes in. As per my note(s), I have not been successful getting the visible spectrum chip to work, due to not being versed in the language to build and upload a sketch that measures the wavelength of light AND be able to plot the related data. Is there a “pre-packaged” piece of software (other than Therimino”) that would work with these sensors?
Thanks,
Dean Moore