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

March 28, 2024, 12:07:42 AM

Login with username, password and session length

PROUDLY ENDORSING


Fly Elise-ng
65 Guests, 0 Users
Members
Stats
  • Total Posts: 59,639
  • Total Topics: 7,853
  • Online today: 67
  • Online ever: 582
  • (January 22, 2020, 08:44:01 AM)
Users Online
Users: 0
Guests: 65
Total: 65

COUNTDOWN TO WF2022


WORLDFLIGHT TEAM USA

Will Depart in...

Recent

Welcome

P3D I/O card to drive LEDs

Started by navymustang, June 03, 2020, 10:27:42 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

navymustang

I want to drive LEDs in the cockpit from an I/O card using Lua scripting. Turns out the Pokeys cards I have no longer have a supported library for P3D v5 and FSUIPC v6. Can anyone point me to an I/O card (prefer not using Arduino) that talks to Lua and FSUIPC. I will be mostly programming LVARs and not FSUIPC offsets.
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.

_alioth_

Quote from: navymustang on June 03, 2020, 10:27:42 AM(prefer not using Arduino)

What is the problem with Arduino?
You can use a Lua script and arduino or teensy without problems to do this.

Arturo.

navymustang

It just seems to be another level of coding that I would have to learn instead of a turn-key I/O card. I could be wrong.
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

Jim, I would be happy to send you a copy of ONE my Arduino Codes, and the Matching Lua Script to go with it.

Its really easy, Copy Paste. My entire sim is Arduino/Lua based.

Trev
Trevor Hale

Owner
http://www.cockpitbuilders.com

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

VATSIM:

navymustang

Trev, your offer is outstanding!  Will enjoy looking at what you have.
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.

Fess_ter_Geek

Excellent...Now you start your journey down the path of the dark side. 8)

Trevor Hale

Which wouldn't have been possible without your help Fess!  I will never forget that!
Trevor Hale

Owner
http://www.cockpitbuilders.com

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

VATSIM:

Masterploxis

Quote from: Trevor Hale on June 04, 2020, 08:43:43 AMMy entire sim is Arduino/Lua based.

Trev


Trevor,
how many Arduinos do you have to run the simulator ? How many for MIP, MCP, FMC, Overhead etc ? I worry that too many Arduino will make too many USB disconnect issues. Do you use USB Hubs, if yes - how is the reliability of the complete setup ? I made the mistake to start with Open Cockpits cards, then introduced pokeys and also some phidgets cards... So too many different products. I want to simplify everthing and use only Arduino with mobiflight wherever possible..

Cheers
Andy

www.masterploxis.de


Trevor Hale

I am running (ALL PLUGGED INTO 1 USB HUB)

4- Mega 2560
1-Uno
1-Pro Micro
1-ESP8266
1-FDS Joystick Card for TQ

No Disconnects and since December 16th I have had usb's lockup 1 time. Probably something I did to piss it off with a lua script.

A simple reboot rectified the issue.

I will never regret dropping all the different interfaces and going strictly with Arduino, But I will make it clear I don't use 3rd party software like mobiflight I code my own LUA Scripts and talk to the arduino's through FSUIPC.

Everything in the cockpit is arduino based except the Yoke/Rudder Peddles (Pro Micro setup as game controller) and FDS Joystick card for the TQ.

Trev
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