Search found 95 matches

by ChuckK
Wed Mar 27, 2019 11:48 am
Forum: Air Manager feedback & feature requests
Topic: Add Rotary Step Values for C172SP Nav OBS
Replies: 7
Views: 2600

Re: Add Rotary Step Values for C172SP Nav OBS

Kevin, I experienced the same issue particularly with the OBS. The acceleration term for the encoder does work but it still behaves unrealistically. The typical way of programming the OBS function is to have the encoder function fire the obs1_up and obs1_down commands. A dataref subscribe is used to...
by ChuckK
Wed Jan 30, 2019 2:00 pm
Forum: Arduino
Topic: LEDs slow to respond to dataref changes
Replies: 10
Views: 3668

Re: LEDs slow to respond to dataref changes

Hi Corjan, I have 4 I2C nodes in my panel. Three are 4 digit displays from sparkfun, the fourth is a 16x2 display with and I2C backpack on it. All total they use only 4 pins. I have a short Arduino sketch to program the addresses. They work flawlessly. Here are some pics of the boards. 2019-01-30 07...
by ChuckK
Tue Jan 29, 2019 6:16 pm
Forum: Arduino
Topic: LEDs slow to respond to dataref changes
Replies: 10
Views: 3668

Re: LEDs slow to respond to dataref changes

Jacques, I like the flexibility with AM for programming. When you have hardware inputs that do not tie directly to a dataref or a command it’s difficult to deal with them in Ardsim. The Aspen is a great example. I still use Ardsim for my 7segment and character display as it supports I2C. Hopefully A...
by ChuckK
Tue Jan 29, 2019 12:55 pm
Forum: Arduino
Topic: LEDs slow to respond to dataref changes
Replies: 10
Views: 3668

Re: LEDs slow to respond to dataref changes

That did the trick! I re-coded the leds to digital outputs and now the response is instantaneous. Another on point solution, Thanks Corjan
by ChuckK
Tue Jan 29, 2019 12:18 am
Forum: Arduino
Topic: LEDs slow to respond to dataref changes
Replies: 10
Views: 3668

LEDs slow to respond to dataref changes

I have a 24 LED annunciation panel where each LED is triggered by a low side switch transistor, i.e. now current limit problems. The LEDs are sometimes very slow to respond to changes in the associated dataref. Watching Dataref Tool, the dataref changes state but it can sometimes take up to 30 secon...
by ChuckK
Tue Nov 13, 2018 1:07 pm
Forum: Arduino
Topic: Tutorials on electronics
Replies: 27
Views: 9884

Re: Tutorials on electronics

I have a full hardware very realistic PA46 Piper Malibu cockpit with a lot of lessons learned. I use both Ardsim and AM although I am slowly migrating to AM. The switche connections are straight forward basically a connection between a digital pin and ground. One thing to be aware of is you will qui...
by ChuckK
Fri Oct 06, 2017 2:18 am
Forum: Under development and finished work
Topic: ASPEN EFD 1000 Improved version
Replies: 112
Views: 45125

Re: ASPEN EFD 1000 Improved version

I checked my version of the Aspen and it’s set to 260x 494 which works out to the correct ratio. If I recall correctly the original version of the gauge did have an incorrect aspect ratio. I believe the original author set the aspect ratio to meet a particular screen that he had available. Since the...
by ChuckK
Thu Aug 24, 2017 11:02 am
Forum: Under development and finished work
Topic: ASPEN EFD 1000 Improved version
Replies: 112
Views: 45125

Re: ASPEN EFD 1000 Improved version

Avid,

What simulator are you using? I have a fully hardware driven Aspen but it is for X-plane only.

Chuck
by ChuckK
Fri Jan 27, 2017 4:37 am
Forum: Lua and API Scripting Help
Topic: Controlling how often a function is run
Replies: 4
Views: 2341

Re: Controlling how often a function is run

It's a stand alone gauge just the three 20 position tcas datarefs. . I tried the timer but it seemed to que up the calls. Would one of you be willing to give my code a once over? It's not totally done but works well enough for testing.



Chuck
by ChuckK
Wed Jan 25, 2017 4:48 pm
Forum: Under development and finished work
Topic: ASPEN EFD 1000 Improved version
Replies: 112
Views: 45125

Re: ASPEN EFD 1000 Improved version

Crash

That's what I use and agree Ardsim is awesome. Minimal Arduino coding unless u are dealing with custom data refs. In particular getting 10 second delay without using delay() for the knobs to return to default. Took about 50 lines so not really that bad.

Chuck