Let's Make Robots!


combined analog input

Ahoy me hearties!

I'm working on a bot that will have a lot of sensor requirements. It must be able to sense objects both at the top and the bottom of the frame. Since I don't want to have to keep track of 8+ sensors, I was hoping to combine some of the sensor inputs.

For example, the bot will react the same to an object sensed at the bottom as one at the top, can I combine them?

Will this schematic work? And if so, will the adc reading be a sum of both sensors, or merely the highest one?