I am trying to build a voltage feedback system using the Raspberry Pi but am not incredibly familiar with it. I was really hoping somebody more experienced could make sure I'm not completely lost.
To provide a bit of background, I will be measuring a pulsed source of light with a photodector, whose output will be in a current. There will be milliAmp spikes during the pulses with microAmp levels between these pulses. I want to keep the power of the light between the pulses as low as possible (in an ideal world it would be zero).
My thinking was to use an electronic switch (something like sn74auc1g66) to block the current during pulses so I only see the current between pulses. I'd then convert the tiny current into a more readable voltage using AN1494, and then convert this signal to digital (I was heavily considering the RasPi0 Analog Zero). I would then use the Pi to measure this voltage and output a corresponding voltage to either raise or lower the light.
My question is: does this seem possible in the way I described? Will the I-V converter be necessary? Is the RasPi0 my best choice for such a task?
I would love to hear input from others on this, especially to make sure I am not in way over my head! Thank you!