Hi all,
Making a transmitter for R/C project, which will have 2x joysticks.
However in using the Pi Pico, this has only 3 accessable ADC inputs.
Therefore I'd like to measure 2x joysticks (each with 2x potentiometers for X/Y axis) and if possible the battery voltage + another potentiometer.
Summing this up:
ADC1 -> Joy-1_X
Joy-2_X
ADC2 -> Joy-1_Y
Joy-2_Y
ADC3 -> Voltage from potential divider
Extra potentiometer
1) Is it possible to use MOSFETs to modulate the input voltage supplied to the potentiometers on these joysticks, such that you'd measure one (powering it, and not the other), then the other. Measuring each Joystick in sequence, Joy1-X on ADC1 and Joy1-Y on ADC2, then Joy2-X on ADC1 and Joy2-Y on ADC2.
2) It follows if above is true that ADC3 should be able to sense voltage and a extra potentiometer, again in sequence.
Right now I'm looking at BSS138 for transistors, operating at 3.3v (or 0v) gate voltage supplied from Pico GPIO, to power on/off potentiometers or allow current from potential divider circuit to flow. From my basic understanding these should be sufficent even at the relatively low gate voltages (3.3v).
I hope this made some sense, and apologies if not, I'm happy to explain more (or try to) if needed! Many thanks.