I have been using the AS7265X Triad, along with some AI models to try and detect certain chemicals. However, after training my models, my data suddenly has changed on some channels by over 1000, doubling in some cases, and decreasing in others. I have an enclosure designed to reduce interference from ambient light. However, the data has abruptly changed multiple times, even with the exact same sample. Can you please help me with standardization. Is it possible to work with my old data with some editing, as I am short on time?
I would take a look at maybe redesigning the enclosure…and/or run a calibration routine on some known-wavelength samples
I’m not sure if it is being moved around when in-use but if so that might affect readings…try keeping it stationary to minimize outside light as a variable
What might I use for calibration? How would I implement this?
You’d just collect data from a known source sample for light character and sample purity (while controlling the variables as much as possible) and gather data across several points in time…and you can adjust the data in post-processing to ensure your readings are consistent
Grabbing a few decent LED sources (small range for their wavelength output) and a couple metal samples worked well for me
Is it okay if I just use a piece of cardstock and the built-in illumination?
Sure - it all depends on your needs
As I commented in reply to another poster, I don’t think you can ever get clean, consistent, noise free readings with the Sparkfun version of this board if you are using a 5v microcontroller and the sparkfun connectors. It can work, possibly, but i wouldn’t trust the results if it did. You really need to use a power shifter for both signal and power wires to maintain a good reference voltage and pull up values on 3.3v and 5v sides of i2c wires. I use BSS138 MOSFET boards (dirt cheap) in a 4 ‘channel’ (plus pwr/gnd) package, and it solved so many problems.
I’m not sure if this is your issue, but it may be. In theory, if the wiring and literal physical space in which your stuff is fixed (ie, you are not moving it around in space such that varying RF/EMI demons that lurk on earth can attack from different directions (which might manifest in varying noise signals), you might get very consistent reads, but they may be noise and not signal.
That’s just a guess as to your issue but hopefully helpful.