I’m currently starting a new project which will require me to read 30-40 analog inputs (0v-5v), and control 10 odd outputs (either on or off).
As the RPI only has digital GPIO, I’m unable to read anything off of them, and have only come up with the below two options.
Stack multiple ADC shields (AB Electronics ADC has 8 channels, so need to stack 4 to achieve 32 inputs) which isn’t desired as this would make it a bit bulky.
Pair it with an Arduino, communicating via USB with all analog inputs coming from the Arduino.
Does anyone have any better options/ideas on the best way to go about this?
Ideally, I’d like some redundancy when it comes to input pins (output will be max 10), and I’d like to keep the size down. I’ll be 3d printing a case to house all this, so might also cut some of the length off pins to reduce the distance between boards/shields.