Find the average and highest voltage from multiple photodiodes before analogue Arduino input? Answered
Hi, I have a large number of photodiodes (too many to connect all of them individually to the analogue inputs on my Arduino) so I was hoping I could form say 4 groups each containing several parallel photodiodes and find the average the highest voltage for each group. This way each group uses 2 analogue inputs.
The picture below depicts one group of photodiodes connected to two 'black boxes'. The 'highest voltage' black box would determine which input had the highest voltage and would then output that voltage to the Arduino. The 'average voltage' black box would average the input voltages and output this voltage to the Arduino.
I have found a passive averager circuit on this website - http://www.allaboutcircuits.com/textbook/semiconductors/chpt-8/averager-summer-circuits/ - which appears to be suitable however I have no idea how to find and output the highest voltage.
Hopefully this sufficiently explains what I'm looking to do and I look forward to getting feedback.