Search found 95 matches

by ChuckK
Thu Mar 05, 2020 1:30 am
Forum: General Instrument Help
Topic: About magnetic compas faisability
Replies: 54
Views: 19175

Re: About magnetic compas faisability

My motor is a 28BYJ-48. Available on Amazon.another thought is the compass does normally drift from the Dg or AHARS system. I’m sure you have but are you certain the compass dataref is not matching the instrument.

Chuck
by ChuckK
Wed Mar 04, 2020 7:39 pm
Forum: General Instrument Help
Topic: About magnetic compas faisability
Replies: 54
Views: 19175

Re: About magnetic compas faisability

I have a few ideas, 1) In my code the command to run endlessly is done outside of any functions. This gets the motor turning and then fires the calibration function when the signal is seen, so you could try that. 2) Have you done testing to confirm the 2048 is the correct number of steps per revolut...
by ChuckK
Thu Feb 27, 2020 12:03 am
Forum: General Instrument Help
Topic: About magnetic compas faisability
Replies: 54
Views: 19175

Re: About magnetic compas faisability

See Post #17 for the code and explanation in this topic link.

viewtopic.php?f=35&t=2634#p21843


Chuck
by ChuckK
Wed Feb 26, 2020 2:44 am
Forum: General Instrument Help
Topic: About magnetic compas faisability
Replies: 54
Views: 19175

Re: About magnetic compas faisability

Hi, I have actually done two hardware whisky compasses. The first I used an actual unmodified Airpath compass Mounted to the center pillar. I rotate a neodymium magnet on an arm under my glareshield to drag the compass around. Works great. The other one is a compass taken from and old ATC 810 analog...
by ChuckK
Wed Feb 05, 2020 12:27 pm
Forum: Air Manager Help
Topic: Automatic Connection to Xplane suddenly not working
Replies: 3
Views: 2096

Automatic Connection to Xplane suddenly not working

I have always connected AM to XP with the automatic function selected. Starting yesterday it can no longer automatically find XP. If I use the manual connection, and input the IP address of the computer it connects instantly. BTW, AM and XP are on the same computer. I see thousands of this line in t...
by ChuckK
Sun Jan 19, 2020 4:23 pm
Forum: Arduino
Topic: Wiskey Compass
Replies: 23
Views: 7420

Re: Wiskey Compass

Thanks Tony, I really appreciated the compliment. It works pretty well, but like the real thing I need to develop and post a compass deviation card. So I guess its pretty realistic. :lol:

Chuck
by ChuckK
Sun Jan 19, 2020 12:43 pm
Forum: Arduino
Topic: Wiskey Compass
Replies: 23
Views: 7420

Re: Wiskey Compass

Here is the code for the hardware whiskey compass in my sim pit. I use an unaltered Airpath GA compass in the center pillar of my sim. The compass is driven by a stepper motor swinging a neodymium magnet located under the glareshield. It took a bit of work to find the right combination of location, ...
by ChuckK
Tue Dec 31, 2019 11:21 pm
Forum: Under development and finished work
Topic: Adapting a real KT76A transponder for AM
Replies: 22
Views: 9780

Re: Adapting a real KT76A transponder for AM

Here's the section of code from the Stec55 for the VS dial. function new_vs_dial(new_pos) -- the VS dial on the stec55 is actually a 12 position switch wired to send groups -- of 3 signals as its rotated, i.e. A,B,C,A,B,C,A.... print(new_pos) if new_pos == 1 and old_pos == 0 then xpl_command("s...
by ChuckK
Tue Dec 31, 2019 2:19 pm
Forum: Under development and finished work
Topic: Adapting a real KT76A transponder for AM
Replies: 22
Views: 9780

Re: Adapting a real KT76A transponder for AM

Its quite easy to determine the direction. At the end of the callback function write the switch position value to a local variable. Then when the callback runs the next time as the switch is moved to the next position, compare the new switch position to the previous position, if its greater then it ...
by ChuckK
Mon Dec 30, 2019 2:56 pm
Forum: Under development and finished work
Topic: Adapting a real KT76A transponder for AM
Replies: 22
Views: 9780

Re: Adapting a real KT76A transponder for AM

In lieu of just trying my code, May I suggest you use a DVM to map out the pins on the switch as the switch is rotated. Once that is done the code can be written. Just look for continuity to ground for each pin at each switch position. As an example on the S-tec 55 the VS selector is a 12 position s...