Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 0
  • *Guests: 34
  • *Total: 34

Our Discord

WORLDFLIGHT 2018 - TEAM USA SUPPORTERS (HERO'S)


We would like to thank our HERO'S for Donating to support WORLDFLIGHT Team USA - 2018

Fred Kurasiewicz, Ray Sotkiewicz,Warren Soeldner, Kyle Hathaway-

Thanks to all of you, so far this year we have raised

$670.00 USD


Author Topic: Playing with Arduino  (Read 1488 times)

Offline Bob Reed

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 2,346
  • Bob the Builder!
  • First Name: Bob
  • Home Location: Holley, New York
Playing with Arduino
« on: April 17, 2018, 10:13:22 PM »
I spent the day playing with the Arduino today. I have Uno's and Mega's. Has anyone looked at this software?
https://www.mobiflight.com/en/index.html
Interested in what you folks are doing. I am using P3D V4.2

Offline kenrosefire

  • CockpitBuilder
  • *
  • Posts: 13
  • Aviation Enthusiast
  • First Name: Gavin
  • Home Location: KBNA (Nashville, Tennessee)
Re: Playing with Arduino
« Reply #1 on: April 17, 2018, 11:11:26 PM »
Hi Bob! I have used this software before and it is quite nice. The application itself is one small window with each row being dedicated to one input or output. It is very simple if you are familiar with FSUIPC, and there is absolutely no coding at all. On the downside, you have to upload dedicated firmware to your board so it can’t connect to the regular Arduino IDE and MobiFlight. The connection to the sim is also simple with a plugin download all that is required. It is a little confusing at first but as you go through your first 2-3 connections, it is one of the easiest programs I have ever used. There is a great FAQ/Tutorial section and forum, although I believe the developers are German. It is a little more limited than ArdSimX and it is not great for people who want to visualize their board. Overall though, it is a good program that does almost everything ArdSimX does, but it is really a matter of preference. I would recommend MobiFlight to anyone if they don’t like existing options. That’s all I’ve got to say about it and I hope I’ve answered your question.

Take care and good luck!
Gavin

Offline Bob Reed

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 2,346
  • Bob the Builder!
  • First Name: Bob
  • Home Location: Holley, New York
Re: Playing with Arduino
« Reply #2 on: April 18, 2018, 12:09:21 AM »
Thanks Gavin. So are you using Xplane? If you where going to use Arduino, and I think you are, What would you use, keeping in mind I am using P3D? I am planning on doing several things with this interface like replace several of my other interfaces. I will need it for switches, outputs and driving servos. Once you modify the firmware can it be undone? Is there a way to do some of your own programing such as to produce keystokes? I know lots of questions.
« Last Edit: April 18, 2018, 12:11:49 AM by Bob Reed »

Offline kenrosefire

  • CockpitBuilder
  • *
  • Posts: 13
  • Aviation Enthusiast
  • First Name: Gavin
  • Home Location: KBNA (Nashville, Tennessee)
Re: Playing with Arduino
« Reply #3 on: April 18, 2018, 08:27:02 AM »
Hi Bob!
Yes, the program does do switches, LEDs, encoders, servos, etc. I personally would use ArdSimX, but I think it only supports X-Plane. This is a very good alternative. Once you install the firmware, it can be removed by a board reset. The programming allows you to configure FSUIPC offsets, keystrokes, or an event ID. There is another payware program called SPAD.neXt that you might want to check out if you don’t like this, but I have not used it.
Take care!
Gavin

Offline Bob Reed

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 2,346
  • Bob the Builder!
  • First Name: Bob
  • Home Location: Holley, New York
Re: Playing with Arduino
« Reply #4 on: April 18, 2018, 10:03:23 AM »
So I will start by loading this up on a card and play. I wonder if this program will see the servo card attached to Arduino?

Offline Joe Lavery

  • I may as well be Staff!
  • *
  • Posts: 679
  • 737 Builder
  • First Name: Joseph
  • Home Location: Newport, UK
Re: Playing with Arduino
« Reply #5 on: April 20, 2018, 05:15:27 AM »
Hey Bob,
just to save some frustration, I have found that this program will only install in a genuine Arduino. I have a number of clones that it simply won't work with.
I'd be interested if anyone has managed to get it working with the clones?? :huh:

Best
Joe.
'Life isn't about waiting for the storm to pass, it's about learning to dance in the rain!'

www.pcpilot.net


Offline mikeybear

  • Forum GURU
  • *
  • Posts: 75
  • Aviation Enthusiast
  • First Name: Dave
  • Home Location: Cheshire UK
Re: Playing with Arduino
« Reply #6 on: April 20, 2018, 11:37:00 AM »
Hi Joe,

are the clones you are using , using the ch340 serial chip  ?
If not , there shouldn't be any difference .

Regards

Dave

Offline Bob Reed

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 2,346
  • Bob the Builder!
  • First Name: Bob
  • Home Location: Holley, New York
Re: Playing with Arduino
« Reply #7 on: April 20, 2018, 12:13:16 PM »
Hey Bob,
just to save some frustration, I have found that this program will only install in a genuine Arduino. I have a number of clones that it simply won't work with.
I'd be interested if anyone has managed to get it working with the clones?? :huh:

Best
Joe.

It does not work with any of the UNO cards I have but had no problem loading it on the clone Megas. I have learned a lot about these cards already. Dod not work on cards yesterday as I opted to fly the sim.. Imagine that, a sim builder flying!!  :laugh:

It does not work with UNO

Offline iwik

  • Forum GURU
  • *
  • Posts: 335
  • GA Jockey
  • First Name: Les
  • Home Location: Christchurch New Zealand
Re: Playing with Arduino
« Reply #8 on: April 20, 2018, 01:10:20 PM »
Says on their website
"Supported modules
The following Arduino Boards are currently supported:

Arduino Mega 2560 R3 or compatible
Sparkfun Micro Pro or compatible"

Les

Offline 727737Nut

  • I spend way too much on this forum!
  • *
  • Posts: 916
  • 737-300 Using Real parts and X-Plane 10
  • First Name: Rob Archer
Re: Playing with Arduino
« Reply #9 on: April 20, 2018, 01:38:26 PM »
Bob Bob Bob,  I laid out the perfect easy path for you and you still want to go down the P3D mud bath.   :huh: ??? ;D
737 Junkie

Offline Bob Reed

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 2,346
  • Bob the Builder!
  • First Name: Bob
  • Home Location: Holley, New York
Re: Playing with Arduino
« Reply #10 on: April 20, 2018, 03:18:42 PM »
Bob Bob Bob,  I laid out the perfect easy path for you and you still want to go down the P3D mud bath.   :huh: ??? ;D

lol!! I only have one thing to say.... MCP.......  ;D

Offline Joe Lavery

  • I may as well be Staff!
  • *
  • Posts: 679
  • 737 Builder
  • First Name: Joseph
  • Home Location: Newport, UK
Re: Playing with Arduino
« Reply #11 on: April 21, 2018, 06:31:10 AM »
Les,

While I agree that's what it says on the website, in reality the clones which are compatible in any other application, (that I have found to date).
They simply don't accept the programming needed to convert them. After running the program they are still the same, UNO or Mega devices. 

It would seem that the cheap clones are not compatible in some fairly specific circumstances. I guess it's not the first time the Chinese manufacturers have adopted a cheap method of copying a device that is not a one for one copy. I have had some PIC chips from China that do not work in some situations. Mostly they are fine but like we've found here are not a perfect copy. It's what you get when buying non genuine parts I guess.... ;) 

 :2cw:  Joe
'Life isn't about waiting for the storm to pass, it's about learning to dance in the rain!'

www.pcpilot.net


Offline Bob Reed

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 2,346
  • Bob the Builder!
  • First Name: Bob
  • Home Location: Holley, New York
Re: Playing with Arduino
« Reply #12 on: April 21, 2018, 12:00:15 PM »
Hey Bob,
just to save some frustration, I have found that this program will only install in a genuine Arduino. I have a number of clones that it simply won't work with.
I'd be interested if anyone has managed to get it working with the clones?? :huh:

Best
Joe.

Hey Joe, As I stated in the above post, I am using the software on 3 different clone Megas. None of my Unos work with it. I have even tried loading the firmware files manually as the recommended. I also found out they have stopped support on the Uno. They had too many problems. So far this software is pretty nice. Does anyone know if they are still supporting it? It looks like there has been no movement on the software in a while.

Hey Joe, as I stated

Offline iwik

  • Forum GURU
  • *
  • Posts: 335
  • GA Jockey
  • First Name: Les
  • Home Location: Christchurch New Zealand
Re: Playing with Arduino
« Reply #13 on: April 21, 2018, 03:07:03 PM »
Joe,
I agree with what you say, buy Chinese copies and you get  near but not perfect  copies.
When i played with Mobiflight i used Chinese Pro Micro as stated on the website and also
megas with no problems.
The Chinese are real classics when it comes to High Power Transistors. So one has to be
very careful when buying Chinese. Must say i have had some great buys.

Offline Trevor Hale

  • Administrator
  • I am chained to this website!
  • *
  • Posts: 3,595
    • Cockpitbuilders.com
  • First Name: Trevor
  • Home Location: New Liskeard, Ontario
Re: Playing with Arduino
« Reply #14 on: April 21, 2018, 03:41:40 PM »
Plus lets look at the other side of the coin...  Direct 100% copies would be subject to some sort of copywrite also...  :)
Trevor Hale

Owner
http://www.cockpitbuilders.com

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

VATSIM:

Offline iwik

  • Forum GURU
  • *
  • Posts: 335
  • GA Jockey
  • First Name: Les
  • Home Location: Christchurch New Zealand
Re: Playing with Arduino
« Reply #15 on: April 21, 2018, 07:46:25 PM »
Trev,
I dont think Copywrite means much to the Chinese though. I remember a year or two back
the serial interface chip they were using on Arduino clones was  a copy of a well known chip.
Well the original manufacture just put out a driver fix which immediately bricked all said clones. That did not go down well.

Offline Joe Lavery

  • I may as well be Staff!
  • *
  • Posts: 679
  • 737 Builder
  • First Name: Joseph
  • Home Location: Newport, UK
Re: Playing with Arduino
« Reply #16 on: April 22, 2018, 12:37:22 AM »
Trev,

In fact I understand the Arduino is an open source product, where all the documentation and design elements are available and free to copy. So there is no reason for our Chinese friends to change the design, other than to use slightly inferior, or possibly substitute components. 

The only thing you can't do is call it an Arduino, the name is copyright, that's why these boards (usually) have some subtle difference in the name of the board itself; like the Funduino, or they simply leave the word Arduino off altogether. 

Hey Bob, I've got a couple of newer Mega clones, I'll give them a go.

Joe.
'Life isn't about waiting for the storm to pass, it's about learning to dance in the rain!'

www.pcpilot.net


Offline paulnd

  • Forum GURU
  • *
  • Posts: 51
  • Aviation Enthusiast
  • First Name: Paul
  • Home Location: London
Re: Playing with Arduino
« Reply #17 on: April 22, 2018, 07:12:51 AM »
Trev,

In fact I understand the Arduino is an open source product, where all the documentation and design elements are available and free to copy. So there is no reason for our Chinese friends to change the design, other than to use slightly inferior, or possibly substitute components. 

The only thing you can't do is call it an Arduino, the name is copyright, that's why these boards (usually) have some subtle difference in the name of the board itself; like the Funduino, or they simply leave the word Arduino off altogether. 

Hey Bob, I've got a couple of newer Mega clones, I'll give them a go.

Joe.
Many Arduino boards use a commercial and relatively expensive usb to serial chip developed by FTDI which is not open source.

A few years ago FTDI released an update (later withdrawn) which soft bricked non-genuine FTDI chips used in cloned Arduinos preventing these boards from communicating via usb.

Most Chinese cloned Arduinos now use the CH340 chip, an alternative usb to serial chip which is also cheaper.

The usb to serial chip is used by the PC operating system to identify the board which is why some cloned boards are not recognised by Mobiflight or required additional drivers.

There is a risk that cloned boards may use cheaper inferior components which may have a higher failure rate than more expensive components but many consider that risk acceptable given the significantly lower cost of these boards.

I've only used cloned Arduino boards and have had no issues so far, I do however avoid buying the super cheap, to good to be true boards.

Paul

Sent from my Nexus 7 using Tapatalk


 

Recent Posts

More Throttle Quadrant nightmares.
by Trevor Hale
[Today at 06:04:23 PM]
Join me on Vatsim Tonight
by Trevor Hale
[Today at 05:21:30 PM]
737-800 Arduino X-Plane Build
by Steenos
[Today at 05:18:55 PM]
Korry 318 push to test logic
by kurt-olsson
[Today at 01:02:43 PM]
Had to Post (True Story) Funny as Hell though (glad noone was hurt)
by Trevor Hale
[Today at 12:01:36 PM]
#Worldflight2018 Less than 20 Days to go!
by Trevor Hale
[Today at 10:39:46 AM]
Active Sky 16 Networked to P3D V4 ?
by brianwilliamson
[October 14, 2018, 07:52:08 PM]
B737 Desktop sim project
by archen
[October 14, 2018, 02:42:41 PM]
Computer Power supply strange 5V and strange behaviour Teensy is connected
by iwik
[October 14, 2018, 01:39:14 PM]
FOR SALE - Pair of IPECO Seats and J-Rails
by fsaviator
[October 14, 2018, 09:14:26 AM]
Teensy LC Hydralic Panel
by archen
[October 14, 2018, 05:17:53 AM]
For Sale: Jetmax JetMax-737SKTQ
by Trevor Hale
[October 13, 2018, 08:56:35 PM]
Laser CNC cutting/etching using a 3D printer?
by Joe Lavery
[October 12, 2018, 11:28:59 AM]
For Sale GoFlight Jet Console, 2 Private Pilot Racks all with GoFlight Modules.
by Joe Lavery
[October 12, 2018, 10:57:35 AM]
Project Magenta with Xplane 11
by kevinsayre
[October 12, 2018, 08:14:25 AM]
13.8V ok for 12V use?
by kurt-olsson
[October 11, 2018, 12:40:48 PM]
INTRODUCTION
by twkster
[October 10, 2018, 11:31:27 PM]
For sale New FlightsimPM B737 Throttle Quadrant v2.1
by fairchild
[October 10, 2018, 04:13:13 PM]
For sale,Commercial Packege Saitek Modules
by fairchild
[October 10, 2018, 03:05:47 PM]
CR-10, CR-10S, CR-10S4 and CR-10S5 3d Printer Info and Links...
by Trevor Hale
[October 10, 2018, 01:02:44 PM]
Mickey's Flightdeck - A Boeing 737-800 Cockpit on Youtube
by Joe Lavery
[October 10, 2018, 12:28:18 PM]
For Sale: CPFlight MCP 737 EL $400 USD Shipped Lower 48
by Giovan
[October 10, 2018, 05:18:11 AM]
Can you guyse please check this link
by fsaviator
[October 09, 2018, 09:30:46 PM]
Printing the Fuel Panel
by blueskydriver
[October 09, 2018, 01:12:39 PM]
New ACE Yokes Pro Version CT/FO for sale
by fairchild
[October 09, 2018, 12:43:08 PM]
What have you done for your simulator today?
by blueskydriver
[October 09, 2018, 03:03:28 AM]
Boeing 737-800 Next Generation Simulator
by fsaviator
[October 09, 2018, 12:15:11 AM]
Ground loop gremlins
by Trevor Hale
[October 08, 2018, 04:49:40 PM]
What can a 3D printer do?
by blueskydriver
[October 08, 2018, 12:53:30 PM]