Hi
I have just finished a 737 throttle, i used 6 pots (5 of them are 10k, 6th is 5k, i was out of 10ks) i just wonder how can i determine their range according to their resistence values. I used the basic adc code in example page but axis seem move barely.
Determining pot values
Re: Determining pot values
The amount of ohms doesn't matter, as long as you don't go below 250 ohm, the range will stay the same. Sounds like the wiring isn't done correctly.
-
- Posts: 193
- Joined: Sun Jun 02, 2019 6:26 pm
Re: Determining pot values
Hey Ralph
As usual, i connected 1st lug to one of digital pins of uno, middle to gnd and other lug to 5v, isnt it right?
-
- Posts: 193
- Joined: Sun Jun 02, 2019 6:26 pm
Re: Determining pot values
Omg i just googled it and saw that i completely messed up the wiring, why did i think that mid lug is gnd wow..
It should be like
Gnd
Signal
5v
And mine is
5v
Gnd
Signal
It should be like
Gnd
Signal
5v
And mine is
5v
Gnd
Signal
Re: Determining pot values
The wiper is indeed usually (or maybe always) in the middle. The outer two can be either GND - 5V or 5V - GND, doesn't matter much.
-
- Posts: 193
- Joined: Sun Jun 02, 2019 6:26 pm
Re: Determining pot values
That's true, swapping 5V and Signal determines the direction of the pot. However, right now seems like it's using the whole range and as I don't use the whole range for the axis I imply, I need to fine-tune it to the range I'll use. It doesn't automatically detect which area of the total pot range I'm using.
Re: Determining pot values
You'll need to convert the range you have to 1 if you don't want to use it all but still have full deflection in the simulator. So lets say the ADC value goes from 0 to 0.8, then you will have to multiply the ADC value with 1.25.
Re: Determining pot values
Please don't swap 5V and signal or you will short out the supply through the pot when the pot is at one end. To swap direction you swap 5V and Gnd.baranismen wrote: ↑Wed Jan 06, 2021 12:07 pm That's true, swapping 5V and Signal determines the direction of the pot.
Air Manager panels at https://www.experimentalsimavionics.com
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
Youtube Channel https://www.youtube.com/channel/UC8ZqXX ... kfZMq5BKig
Air Manager API Tutorial Video Series https://youtube.com/playlist?list=PLNr0 ... baT4gJKg5D
-
- Posts: 193
- Joined: Sun Jun 02, 2019 6:26 pm
Re: Determining pot values
All good now, but is there any chance to arrange the dead zone? Seems like 10k pots are so much for the hardware range I have now.
Re: Determining pot values
I'm not really sure what you mean by dead zone. Can you explain?