I am working on a project where I would like to use a photodetector or multiple detectors to read light signals on a rotating disk (6000rpm). Currently I am using the SDfat library in combination with a teensy 4.1 and am able to read at 25kHz.
The disk will have 22 channels (symmetrical) that need to be read. The diode(s) could either be below or above the disk.
I have tinkered a bit but I am a novice when it comes to this type of projects. I have a setup where I have two diodes connected to an op-amp (TL072) and a second op-amp (opa350pa) as a comparator. The amplification is working as intended (transimpedance amplification). The channels have two points of light, and I am interested in the absolute difference of the light intensity.
What I need help with now is a way to get these values, currently I get a lot of data points and can't figure out if the data is from a channel or the empty space on the disk. I thought about making a peak finder code but that will only give me the channels with light, and I am interested in the value of the channel itself, so I need to know if there is light there or not.
I hope that I have included all the information needed,