#Problems mapping a Pot to Throttle H145

1 messages · Page 1 of 1 (latest)

dapper axle
#

Hi all, I've been trying to get a 10k sliding pot working in MSFS with an arduino nano and the hpg h145 throttle. Using this command "@ 16.0147 * 0 max 16383 min (>K:THROTTLE_SET)" I've been able to move the collective lever from the top to about 30% but no matter what I do, I can't get it further down. Any help?
Cheers

bold thorn
#

Need to know what is the operating range of your sliding pot. Monitor the pot readings in the Mobiflight log.

#

The code you used looks correct for a full range pot with 0 to 1023.

dapper axle
#

Heya, thanks for the response, I've tried it in my collective lever setup where the range is around 530 to 1000, just to be sure I also tried removing the pot and just sliding it from one end to the other, there I get the full 0 to 1023 range but even still the collective won't move all the way down

dapper axle
#

I've decided to go down another route and use the arduino joystick library in order to make everything a little easier, I'll gladly post the code and the setup if anyone's interested, but I finally got everything to work