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

December 02, 2021, 01:29:55 AM

Login with username, password and session length

PROUDLY ENDORSING


Fly Elise-ng
15 Guests, 0 Users
Members
Stats
  • Total Posts: 58094
  • Total Topics: 7715
  • Online Today: 44
  • Online Ever: 582
  • (January 22, 2020, 08:44:01 AM)
Users Online
Users: 0
Guests: 15
Total: 15

COUNTDOWN TO WF2021


WORLDFLIGHT TEAM USA

Will Depart in...

Recent

Welcome

Great Arduino video

Started by FSAddon_boss, October 06, 2021, 01:03:38 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

FSAddon_boss

Great to me, that is, as a total novice on all of this stuff.

It appears that I have the WRONG Arduino board though, as it is not one that can relay keyboard commands ???

The man who made the video is many steps ahead of me, and has a 15 year reserve ga pin age, but things like these are helping me a lot!

I now plan to dismantle my Flightlink switches and use them to connect to an Arduino (bread)board to toggle the switches in X-Plane. The EPIC board is just too old and too much of a black-box.

https://youtu.be/A5s_9UNFDck
Best regards,
Francois
_____________________________________
Francois A. 'Navman' Dumas
former FSAddon Publishing - Italy
https://www.fsaddon.com/fsblog/
retired

Joe Lavery

Francois,

Before you get too involved with the arduino coding, have a look at Mobiflight.

There are lots of tutorials and it does work with X-Plane by using a plugin that works like FSUIPC.

Worth a look

https://www.mobiflight.com

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

Jason L

A big second behind mobiflight.  Very easy to use and continuously updated.  Supports 3 different arduino boards if I remember correctly.

_alioth_

October 06, 2021, 06:37:21 AM #3 Last Edit: October 06, 2021, 06:42:58 AM by _alioth_
Although mobiflight is quite good I have to say you should try with arduino code. Mobiflight has its limits.
If xplane, then teensy board with Teensyduino plugin.  https://www.pjrc.com/teensy/td_flightsim.html
If p3d, arduino + fsuipc LUA script.

If you can learn it, the only limit will be your imagination.
If you think the learn curve is too much, then mobiflight can do the job.

RayS

Another vote for Arduino/Teensy.

Mobiflight is good, but there are several limitations still, especially when using Stepper motors..

I prefer using Teensy 3.2 devices connected directly to X-Plane. No middleware involved.

The only drawback to using the PJRC Teensy 3.2 plugin is it only works with the Teensy 3.2 devices.

With that said, my sim has about 15 of them installed without issue.
Ray Sotkiewicz

_alioth_

Quote from: RayS on October 06, 2021, 10:04:11 AMThe only drawback to using the PJRC Teensy 3.2 plugin is it only works with the Teensy 3.2 devices.

I only use p3d. But some time ago I tested teensy 3.5 with xplane and worked great. Is there any problem with 3.5?
https://www.youtube.com/watch?v=1TnGI2Vj_S4

In p3d, with a lua script in fsuipc for serial data transfer, you can use whatever you want.
I use arduino mega, arduino due, arduino micro, and teensy 3.5 in my cockpit...




FSAddon_boss

Thanks for all the comments. I looked at SimVim and MobiFlight too....... they both are interesting in terms of ' ease of use'..... but being an ancient programmer AND hoping to use my simpit for more than one sim, I am still leaning towards Arduino and doing it myself..... My main hurdle is electronics, of which I know next to nothing.... not programming.  :D
Best regards,
Francois
_____________________________________
Francois A. 'Navman' Dumas
former FSAddon Publishing - Italy
https://www.fsaddon.com/fsblog/
retired

RayS

Quote from: _alioth_ on October 06, 2021, 11:50:15 PMI only use p3d. But some time ago I tested teensy 3.5 with xplane and worked great. Is there any problem with 3.5?

It depends on how it's implemented. If you are using the 3.5 in conjunction with LUA scripts then it should be fine.

In my case I'm using the TeensyDuino plugin which only works with Teensy 3.2. https://www.pjrc.com/teensy/td_flightsim.html

However, you could use a Teensy 3.2 as the master device and it could be set up to drive other controllers via the serial interface.
Ray Sotkiewicz

_alioth_

Quote from: RayS on October 07, 2021, 02:52:33 PM
Quote from: _alioth_ on October 06, 2021, 11:50:15 PMI only use p3d. But some time ago I tested teensy 3.5 with xplane and worked great. Is there any problem with 3.5?

It depends on how it's implemented. If you are using the 3.5 in conjunction with LUA scripts then it should be fine.

In my case I'm using the TeensyDuino plugin which only works with Teensy 3.2. https://www.pjrc.com/teensy/td_flightsim.html

However, you could use a Teensy 3.2 as the master device and it could be set up to drive other controllers via the serial interface.

I asked beacause I tested teensy 3.5 with teensyDuino and x-plane plugin and worked great.

I have read there was a problem with tensy 3.5 and float variables in the xplane plugin. But It was fixed and now you can use teensy 3.5 fine.


RayS

Quote from: _alioth_ on October 08, 2021, 01:18:05 AMI have read there was a problem with tensy 3.5 and float variables in the xplane plugin. But It was fixed and now you can use teensy 3.5 fine.

I'll have to give it a shot this weekend. I've a few spares collecting dust. Thanks for the Info!
Ray Sotkiewicz

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