Hello again!
I am working on a digital gauge for my car, it's powered by a teensy 3.6 and interfaces with a megasquirt 3 ECU. I've designed and built a PCB (or three revisions!!!) and I still haven't got it 100%...
One of the features on my board is a 10 bit ADC, MCP3008. I would like to have selectable thermistor pullups via board jumpers on four of the 8 inputs.
First I tried interfacing the ADC with 5V VREF and 3.3V VDD, that set off protection diodes and pulled my linear regulated 3.3V up to ~4V! (revision 1!)
So I went back and added a simple voltage divider for all inputs. This works, but it broke my simple 2 pin jumper that pulled the input up to 5V via a 2.49K resistor. Having anything other than a thermistor grounding the input will bias the reading so far as to be useless with such low ADC resolution. I found I can decrease the pullup resistance, but this seems wasteful!
Instead I came up with the thought to have a three pin jumper instead. If one side of the jumper is active, the input will be pulled up to 3.3V(!) and the grounded half of the voltage divider will be defeated. When the other side of the jumper is active, the pullup will be disconnected and the 2nd divider resistor will be reconnected. If no jumper is connected and more than 3.3V is input, magic smoke!!
Assuming I add some additional input protection to prevent the third "option" is this a feasible approach? Board space is tight, so I would prefer to not use opamps if I could.
Here are some quick and dirty schematics.
The current schematic
The proposed revisions
Thanks for looking, and any advise!