Forum Navigation
Please or Register to create posts and topics.

Roel's interfacing topic

PreviousPage 6 of 8Next

Yes , for using the Air Manager software you need some coding skills.
I think most simbuilders do not have those, then the Jet45 suite is the way to go.
If you are able to modify my LUA/Arduino coding then maybe the Air Manager is an option.

So i don't think Jason will be out of business yet 😉

Hey Roel,

Nice looking work!  As I said before, I have great respect for guys like you and Jason who have the skills to code software and I believe all the other fellas feel the same way.  I can't blame you for wanting to code your own software because if I was born with these skills, I would be trying to do the same thing because to me, there is nothing more rewarding than building or creating something on your own.  I know you get that!

I agree with your statement, "Most sim builders do not have coding skills and Jet45 will be the way to go."  Of all the guys who have come and gone in the Hangar over the years, I can only think of a couple guys that might try to follow your lead.  For the rest of us "non code skill guys", thank goodness we have Jason and his Jet45 otherwise we would not be building a Lear45 at all, unless your okay with Project Magenta.

I am having issue with disconnecting Arduino's, I have about 20 now all connected to 1 pc with powered USB hubs.  The hubs are not high end.

This occurs after a while, sometimes an hour sometimes half an hour sometimes longer.
First I was thinking this is a PC issue, but this isn't the case; on an other PC it also occurs.

I think the USB hubs cannot supply the power needed, especially when there are a lot of LED's or other energy consuming devices, like a tft screen I use for the pressurization panel; this Arduino fails a lot!

So I am thinking to use 9v power supply's, for at least some of the Arduino's.

Do you guys have issues like me???

 

 

Roel,

I also run a large powered USB hub but don’t see any disconnections. It sounds like you identified the issue being too much current. You should be able to calculate (roughly) how much current your system needs by summing all LEDs screens etc.  another thing you can do is run some Arduinos from ports off the motherboard, and some off the hub.

Jason Hite FlightDeckSoft

I would look into USB selective suspend and make sure is disabled.

Roel,

If you search elsewhere in the forum you will find threads on just this topic. I have always had USB issues. It is with different computers, different hubs ie powered, unpowered, different port numbers and different brands. I've tried some cheap chinese ones and expensive electronics store ones, usb 2 and usb 3. This has happened with Pokeys, Arduinos, Saitek pedals hubs. I have disabled the selective suspend  etc etc etc.

The offending usb disconnect is usually the same ones but random how often it occurs. not so much during a flight but more, which flight.  It now usually occurs at computer startup. Just yesterday I started up a flight with four of us and NO yoke inputs. That involves ( and a good reason to do a walk around the aircraft prior to taxi !) pulling out the offending usb in the hub and moving it to another on the same hub. Windows will make a noise on reconnection to validate and unfortunately a restart of P3D. Last time that particular usb occurred would be at least 1-2 months ago. For the sake of full disclosure, my yokes are connected to a Pokey.

So is it power consumption ? Because mine can go quite a few weeks or flights before it reoccurs I'm not so sure, otherwise it would occur every time. So why did it occur randomly yesterday ?

In my case. I put my money on two culprits. The motherboard  and the usb cable inserted into a hub port. As we all know there are times when we start up a computer and some program/s  just do not load or perform properly. We have all fixed this by restarting the computer again. Hence a windows startup glitch.

I think Jason's advice is correct and I have taken some hardware off the hubs and connected directly to the mobo, which in most cases helped.

What to do ? Well higher quality hubs can't hurt. Second I have had an astronomically reduced number of errors  from Interface IT boards since swapping alot of the panels to Arduinos. Most of the time that needed a computer restart to resolve. Only use powered hubs to make sure lack of power is not a factor. However, remember my Pokey's usb dropped offline yesterday and the pokey AND the usb hub are both powered.

Maybe the cheaper USB hubs have dodgy connections and throw in the heat of summer here and expansion and contraction and voila no connection, hence not recognised by mobo/windows on startup. Just reinsert the usb plug and instantly recognised and all good to go.

Take home message. Good quality powered usb hubs and cabling. Update motherboard and windows drivers. Keep the temperatures down. Watch the length of the usb cables esp 3.0. Other than that...................drink scotch.

Here is a good diswcussion of USB.

What’s the Maximum Length for USB Cables? How to Extend them Further

Just my 20c worth. Sorry for the rambling.

Mark S.

 

Since Jason has no issues adding Arduino's directly to the pc seems a good fix

I have 4,  8 port hubs now.
USB ports are limited on the PC, I think I have 6
Could adding 1 ore more USB cards to the PC instead of hubs be a fix?

Like this one: Amazon.com: Sedna - PCIE 7 Port USB 3.0 Adapter Card (7 External Ports) with Molex Power Connector, (NEC Host Controller) : Electronics

 

 

 

 

Roel,

Yep that USB Expansion Card looks a beauty but you may not need it.It is an option in case you run into trouble though. I assume you will have space and airflow next to your video card ?

As for a lack of usb's on your mobo. Easiest way is to use a hub and move all your low powered computer devices to that such as keyboard, mouse etc. That'll free up a few more.

A common misconception is that the hubs will increase the number of devices connected. But in practical reality terms bandwidth for a usb controller is set, it just gets divided amongst how ever many devices are connected.

This will get more interesting the more arduinos we add down the track.

This is an interesting video from a guy who built an A-10 warthog sim. To hear specifically about his USB experience it is at 26 min.




Mark S.

 

I can add two USB cards in a PC .
I am re-configuring my PC setup anyway.
I have invested in a new FlightSim PC , this is in place handling the simulator software; still prepar3d (MSFS looks great but still miss the multiple monitor support)
Now i am setting up only one PC (before two)  with an AMD 5 port mini DP , videocard which handles the Jet45 software, Air Manager and Mobiflight.
This way i can switch easily from Jet45 to my developed Airmanager instruments.

I agree it is a bit trial and error determining which Arduino's have two much load.
Usually i do see the same erroring, so first step is to connect them to the USB cards. (when i receive them)

Roel,

I'm quite excited to see how your one PC for the avionics works out. I'm sure Jason would like to know or at least have confirmation, as well.

I know that more does not always mean better. So with more computer power I think the mantra will be

"Less is best" going forward, to reduce complication and network file sharing.

 

PreviousPage 6 of 8Next