Happy sunday everyone..
I want to read the inputs from 2 LM35 thermistors. Unfortunately, i only have 1 analog pin left.
I tried to alternate the readings with my code, using 2 amplifier/transistors, such that it turns on one thermistor, gets the analog reading, then turns off. Then it repeats this cycle for the other thermistor.
Here's the transistor im using.
2N 2222 A338
The problem with this solution is that the readings start to jump all over the place. Does anybody know why? Im open to suggested workarounds, but do not want to rework my entire circuit to make other analog pins available:-)