Search found 193 matches

by baranismen
Fri Feb 19, 2021 10:44 am
Forum: Arduino
Topic: Display Module Support
Replies: 7
Views: 3347

Re: Display Module Support

Hi Ralph, Understood, I will move down a different route, I think custom PCBs for smaller MAX7219 modules and different digit counts will be the solution. I just want the new sim to be "all Air Manager", not a combo of Am and "other". :) Thanks man! have a great day, BuddyM That...
by baranismen
Fri Feb 19, 2021 10:39 am
Forum: Arduino
Topic: Determining pot values
Replies: 19
Views: 7810

Re: Determining pot values

Huberflight wrote: Sat Feb 13, 2021 8:36 pm Hi all. @baranismen can you please post your final code?
thx
Hi, sorry for the late response, If I won't forget, I'll do it tonight :)
by baranismen
Tue Feb 02, 2021 7:54 am
Forum: Air Manager
Topic: Air Manager 4.0
Replies: 119
Views: 52615

Re: Air Manager 4.0

Oh yes, 3rd part.. :D :D
by baranismen
Sun Jan 31, 2021 8:06 am
Forum: Air Manager
Topic: Air Manager 4.0
Replies: 119
Views: 52615

Re: Air Manager 4.0

I've just installed the Beta for giving it try with MS2020, however, it's asking me for activation and my current license with 3.7 seems not to work with it. Is it gonna be the same when it's fully released, I mean do we have to pay extra to upgrade to 4.0 & further?
by baranismen
Tue Jan 26, 2021 7:48 am
Forum: Arduino
Topic: Determining pot values
Replies: 19
Views: 7810

Re: Determining pot values

Thanks for the help, I've finally managed to do everything in the correct order. I had a minor problem with the flaps axis but I used the throttle panel codes in the community to fix the angles to 0.125 and multiples until 1 using <= and => and it's all good now.
by baranismen
Sat Jan 09, 2021 9:53 am
Forum: Arduino
Topic: Determining pot values
Replies: 19
Views: 7810

Re: Determining pot values

function adc_input_change(value) print(value) xpl_dataref_write("laminar/B738/axis/speedbrake_lever", "FLOAT", (value - 0.4) * (1/(0.56-0.4))) end hw_adc_input_add("ARDUINO_UNO_A_A0", 0.009, adc_input_change) this works okay, just need to integrate the var_cap function...
by baranismen
Sat Jan 09, 2021 9:03 am
Forum: Arduino
Topic: Determining pot values
Replies: 19
Views: 7810

Re: Determining pot values

Basically, I need something to convert this 3.5- 7 range into 0 and 1. That’s just a simple maths conversion. Multiplying does indeed help but only if you make sure to apply an offset. AM actually gets 0 to 1 on ADC inputs so given your example this would be something like 0.35 to 0.7. If you want ...
by baranismen
Sat Jan 09, 2021 8:22 am
Forum: Arduino
Topic: Determining pot values
Replies: 19
Views: 7810

Re: Determining pot values

I tried to explain it in here better.

https://www.dropbox.com/s/wg8jtz515ao6v ... 1.mp4?dl=0
by baranismen
Sat Jan 09, 2021 7:51 am
Forum: Arduino
Topic: Determining pot values
Replies: 19
Views: 7810

Re: Determining pot values

Ok so, my current pots are 10k, and multiplying the value with 4 gives a good range, but the thing is I have to arrange the pots physical position so precisely otherwise it doesn't move within my physical movement range. Let's say pot range is between 0 and 10, and the dataref value in XP11 is 0 and...
by baranismen
Fri Jan 08, 2021 8:50 pm
Forum: Arduino
Topic: Determining pot values
Replies: 19
Views: 7810

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.