What I'm trying to do is get a joystick with 3 analog pedals, X, Y, Z to read as well as all 6 buttons and so forth. It's a lot of amperage for a Teensy as each pedal is a 5K pot, when I hooked this up it immediately shut down, if I removed the pots or connected only one pot it worked.
So I cut the trace for 5V, and then I ran an external adjustable 5v power supply to the teensy. I had the analog return hooked up the teensy and the teensy's ground hooked to the power supply's ground, the teensy overheated after about 30 sec.
So since the power supply has 3x 5V sources and 3x grounds, I used 2 sources and 2 grounds, 1x 5v for the teensy and 1x 5v for the 5k Pots (In parallel). With the variable arm to go into the teensy's analog pins A0-A2.
This seems to give no real readable values... 1023 across 2 pots, and some wild values for the third (slider)... everything from 100-900 but no sequential or consistent values.
In this scenario, how should this be wired? What am I missing and is 3x 5k pots, +9 buttons that much to handle?
So I cut the trace for 5V, and then I ran an external adjustable 5v power supply to the teensy. I had the analog return hooked up the teensy and the teensy's ground hooked to the power supply's ground, the teensy overheated after about 30 sec.
So since the power supply has 3x 5V sources and 3x grounds, I used 2 sources and 2 grounds, 1x 5v for the teensy and 1x 5v for the 5k Pots (In parallel). With the variable arm to go into the teensy's analog pins A0-A2.
This seems to give no real readable values... 1023 across 2 pots, and some wild values for the third (slider)... everything from 100-900 but no sequential or consistent values.
In this scenario, how should this be wired? What am I missing and is 3x 5k pots, +9 buttons that much to handle?
Last edited: