I'm trying to make my Arduino read the 10K potentiometers on a joystick using analogRead(), but the values returned fluctuate too much when the joystick isn't being touched. I'm not using shielded cables, but they are very short (the distance from the joystick to the MCU is only about the length of the MCU itself).
The Arduino I'm using is a Teensy 3.2, so I went to get tech support at their website. The solution I found most was to use a unity gain buffer, so I was hoping to get some help building a circuit for my situation.
The Teensy 3.2 is a 3.3V device that has 5V tolerant pins and uses USB to directly upload the programs. I have some 358 op amps on hand, but it is my understanding that these won't deliver rail to rail voltage which I would need when the potentiometer's wiper is at the minimum and maximum positions. I also have a lot of 4558 op amps but I don't think these are suitable for single supply circuits that I was hoping to power from the USB this device uses.