Welcome to Cockpitbuilders.com. Please login or sign up.

May 12, 2024, 07:39:49 AM

Login with username, password and session length

PROUDLY ENDORSING


Fly Elise-ng
556 Guests, 0 Users
Members
Stats
  • Total Posts: 59,641
  • Total Topics: 7,853
  • Online today: 562
  • Online ever: 831
  • (May 03, 2024, 12:39:25 PM)
Users Online
Users: 0
Guests: 556
Total: 556

COUNTDOWN TO WF2022


WORLDFLIGHT TEAM USA

Will Depart in...

Recent

Welcome

New Compass for King Air

Started by Trevor Hale, February 17, 2018, 09:01:28 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Trevor Hale

Hi Guys.


Well Printer has just paid for itself once again. I have always wanted to have a Compass in the cockpit but the $400usd price tag was always just a bit crazy in my mind.


Well, I think this is just as good.


What do you think.



Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Ed

Quote from: Trevor Hale on February 17, 2018, 09:01:28 AM
Hi Guys.


Well Printer has just paid for itself once again. I have always wanted to have a Compass in the cockpit but the $400usd price tag was always just a bit crazy in my mind.


Well, I think this is just as good.


What do you think.

I think it looks pretty darn great! Are the internals interfaced to the sim? I'm getting close to wanting one of these 3D printers.  arraghh
P3D5.3HF2, 3 x W10 PC's, FSUIPC 6.19 ,WideFS, Prosim737 V3 ,ASP3D, Vpilot, GSXL2, Pro-ATC/X, RAAS Pro, AIG Traffic, ,PFPX, TopCat, SimSounds,  http://www.737ngxca.com/

Trevor Hale

Yes, its completely interfaced to my Arduino Card.  The thing is, and this is a concession I have personally made, is that generally you would install a stepper motor, so that it can do continious rotation.  I have made the concession of installing a servo, which can only go 180 degrees, so in my programming the unit when it gets all the way to 359 degrees, the servo quickly swings to the other end of the travel and continues...

But thats just a simple mater of programming...

But yeah, does what I need to do..  More eye candy than anything.
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Joe Lavery

Hey Trev, if it works, it works.... Looks good to me  8) 8)
Life isn't about waiting for the storm to pass, it's about learning to dance in the rain

Journalist - writer for  PC Pilot Magazine

Sam Llorca

 :o  :'(

Awesome! No way, that's it!, I need a friend with a 3D printer!

Ed

Yes, it's getting very very difficult to resist the urge to order up a 3D Printer.
P3D5.3HF2, 3 x W10 PC's, FSUIPC 6.19 ,WideFS, Prosim737 V3 ,ASP3D, Vpilot, GSXL2, Pro-ATC/X, RAAS Pro, AIG Traffic, ,PFPX, TopCat, SimSounds,  http://www.737ngxca.com/

Trevor Hale

Quote from: Sam Llorca on February 19, 2018, 02:09:48 AM
:o :'(

Awesome! No way, that's it!, I need a friend with a 3D printer!


Hey!!!!  You have friends with printers bro lol.
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

_alioth_

Good work.
Why not use a.... Real one?!!
Time to time, it is posible to get a real one in ebay for 30-50€.
I have a real one. With a magnet under the compass, that spins with a  gearbox DC motor and absolute encoder in my case. A stepper motor can be used, of course. Working with arduino.
A little more work in programming that servo solution, but real 360 degree rotation.

It works perfect... and I can't be more real.

I can upload a vid, if you want.


Trevor Hale

Thanks bud..  Yes I could have gone that route also...  May in the future...
Trevor Hale

Owner
http://www.cockpitbuilders.com

Director of Operations
Worldflight Team USA
http://www.worldflightusa.com

VATSIM:

Ed

Quote from: _alioth_ on February 19, 2018, 09:01:08 AM
Good work.
Why not use a.... Real one?!!
Time to time, it is posible to get a real one in ebay for 30-50€.
I have a real one. With a magnet under the compass, that spins with a  gearbox DC motor and absolute encoder in my case. A stepper motor can be used, of course. Working with arduino.
A little more work in programming that servo solution, but real 360 degree rotation.

It works perfect... and I can't be more real.

I can upload a vid, if you want.

Hi Arturo,

I'd be very interested in how you set up the magnet system with your compass. Do you have plans for it?

Thanks,
Ed
P3D5.3HF2, 3 x W10 PC's, FSUIPC 6.19 ,WideFS, Prosim737 V3 ,ASP3D, Vpilot, GSXL2, Pro-ATC/X, RAAS Pro, AIG Traffic, ,PFPX, TopCat, SimSounds,  http://www.737ngxca.com/

_alioth_

#10
Quote from: Ed on February 19, 2018, 01:11:55 PM
Quote from: _alioth_ on February 19, 2018, 09:01:08 AM
Good work.
Why not use a.... Real one?!!
Time to time, it is posible to get a real one in ebay for 30-50€.
I have a real one. With a magnet under the compass, that spins with a  gearbox DC motor and absolute encoder in my case. A stepper motor can be used, of course. Working with arduino.
A little more work in programming that servo solution, but real 360 degree rotation.

It works perfect... and I can't be more real.

I can upload a vid, if you want.

Hi Arturo,

I'd be very interested in how you set up the magnet system with your compass. Do you have plans for it?

Thanks,
Ed


Here is an old vid with the compass working towards the hsi and rmi:
https://www.youtube.com/watch?v=aYK5VmCKFMA&t=374s


No plans, but dont need it.
This was from and old ast simulator. There is a dc motor with gear box under the compass, which rotates a magnet. To read the position the original gauge had a synchro resolver. As I dont know how to read a synhcro resolver and very special hardware (400hz AC power supply ) is needed, I change the resolver to a moderm absolute encoder, very easy to read with arduino.

Another way to make it work is using an stepper motor and homing sensor. Easier sure.

Software process with arduino:

-Read heading in simulator.
-Read absolute encoder position.
-Compare both positions to know if you have to move dc motor CW or CCW.
-Move the motor, through a motor driver like l298n or similar.
-I move the motor faster if the position is far, and very slow if it is very near, and stops if they are in the same position.

As the compass has its fluid inside, the movement is very realistic.

Arturo.












Like the Website ?
Support Cockpitbuilders.com and Click Below to Donate