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

May 12, 2024, 01:34:35 AM

Login with username, password and session length

PROUDLY ENDORSING


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

COUNTDOWN TO WF2022


WORLDFLIGHT TEAM USA

Will Depart in...

Recent

Welcome

help coding arduino for a 737 throttle quadrant for fsx

Started by eisaacs, June 18, 2015, 03:54:40 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

eisaacs

I have been researching for months and cannot come up with a solution. My problem is I built a throttle quadrant from scratch and have noticed that arduino can communicate with FSX with just having to use fsuipc. My problem is that I cannot figure out how to code the arduino at all. my build is for a 737ng I have Eng 1/2(analog), Flaps(analog), Air brakes(analog), rev thrust, parking brake w/ light, trim and eng 1/2 cutoff. if you can help me get started or point me in that direction I would greatly appreciate it. Im using a mega 2560.

quid246

As a suggestion, you should be a little more specific as to what you want to do... since your question is very generic.

Like if you simply want to read manual input from your TQ, you just need to write a small program that will read the pin and send those values back over USB to a program like Link2FS and setup the variable there.

If you want to talk auto-throttle commands, etc... then it's a whole other ballgame.

Trevor Hale

Hey Quid, he is just looking to read POTS and Switches from the arduino and calibrate them through FSUIPC.

Trev
Trevor Hale

Owner
http://www.cockpitbuilders.com

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

VATSIM:

quid246


navymustang

The other question is what aircraft model is running, e.g., Prosim?

If so, the Adruino card is such overkill.  Just by and install in a few hours a joystick card like the Leo Bodner series.  It will be done in a flash.
My 737-800 full-scale cockpit has been sold. Now onto my full-size military helicopter project. An AOPA member and LifeTime member of National Association of Flight Instructors. Please note that I am a self-employed professional cockpit builder that provides consulting to defense contractors and civilian schools and airlines.

Trevor Hale

Hi James, I understand why he is doing it.

Arduino = $30.00 and Bodnar card is $150.00


Trevor Hale

Owner
http://www.cockpitbuilders.com

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

VATSIM:

Joe Lavery

Hey Trev, Leo does a suitable board for $38.53. It doesn't come with the push pin headers, but that shouldn't be a problem for someone attempting to interface a TQ.

http://www.leobodnar.com/shop/index.php?main_page=product_info&cPath=94&products_id=204

In fact there's actually a cheaper board that comes without any connectors at all, and that only costs $30.82

http://www.leobodnar.com/shop/index.php?main_page=product_info&cPath=94&products_id=219

Worth a look perhaps.
:2cw:

Joe.
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

eisaacs

that is a good solution. and is cheaper than what I paid for the arduino board. see I built a 737 TQ and originally took apart the Ch yoke and integrated the Throttle board to work with it. My only problem was the ch throttle attached to the yoke would only allow for one throttle lever, not making it where I can separate engine one and two. So I did so research and found out that I could use the arduino board to do everything, such as auto pilot, lights and reverse thrust. But my biggest problem like I was saying is how to start the programming. but maybe I can just order the leobodnar board and see what happens. But if anyone has a sample code they can send my way I would be so appreciative.

Thanks guys,

Everton.

navymustang

Trevor, if all he is doing is monitoring analog signals and switches - the $25 card is all he needs.  No programming!
Jim
My 737-800 full-scale cockpit has been sold. Now onto my full-size military helicopter project. An AOPA member and LifeTime member of National Association of Flight Instructors. Please note that I am a self-employed professional cockpit builder that provides consulting to defense contractors and civilian schools and airlines.

Trevor Hale

Holy Crap, I didn't know he had the smaller card.... Interesting, thanks for the heads up!

Quote from: Joe Lavery on June 19, 2015, 02:24:27 PM
Hey Trev, Leo does a suitable board for $38.53. It doesn't come with the push pin headers, but that shouldn't be a problem for someone attempting to interface a TQ.

http://www.leobodnar.com/shop/index.php?main_page=product_info&cPath=94&products_id=204

In fact there's actually a cheaper board that comes without any connectors at all, and that only costs $30.82

http://www.leobodnar.com/shop/index.php?main_page=product_info&cPath=94&products_id=219

Worth a look perhaps.
:2cw:

Joe.
Trevor Hale

Owner
http://www.cockpitbuilders.com

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

VATSIM:

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