Cockpit

* User Profile

Welcome, Guest. Please login or register.

Login with username, password and session length

Who's Online

  • *Users: 4
  • *Guests: 75
  • *Total: 79

Our Discord

WORLDFLIGHT 2019 - TEAM USA SUPPORTERS (HERO'S)

 
Worldflight 2019
Donations Starting Early
With 50 Days Left, it's time to start Counting Down to Worldflight 2019.  Beginning in August, we had 2 kind gentleman lead the way on our quest for donations to this amazing Charity Event.  Over the Past 6 Years, we (This community) Has helped to raise over $25,000.00USD to help the kids and their families of the All Children's Hospital in St. Petersburgh, Florida.  Kicking off the donations this year these Two Hero's are leading the way to another Successful Year.  I personally want to thank these two Gentleman and use this opportunity to have all of you donate to our wonderful cause. 
Thank you in advance for your help and please wish us much success for our 2019 event.
       
  ---Worldflight 2019 HEROS---

 James Williams, Warren Soeldner,  Sam Llorca, Doug Snow, Ryan O'Keefe, Edwin Burton, Vincent Thomas, Fred Kurasiewicz       





Thanks to all of you, You are all helping to make Worldflight 2019 a success..
Because of all you wonderful people so far we have raised a total of:

$2745.00 USD


Author Topic: 737-800 Arduino X-Plane Build  (Read 128008 times)

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
737-800 Arduino X-Plane Build
« on: September 06, 2015, 05:39:47 AM »
Hi!

I thought i should start this thread so i can keep track of all my progress and my images.

My build is targeted to be "budget with no compromises" =)

Some things i can´t build myself or get the panels for, so i just have to buy them. I think now these items will be:

Used TQ throttle
Seats
Yokes

Function is will take care of later:
Yaw damper, Authothrottle auto disengage.
Startswitches 46% disengage.

But all the other items i plan to make from Simworld Panels.
I have seen lots of panels, but i think they are among the best i have seen.
And the support from that company is great, very nice people!


So first off:

I wanted to start with the hardest part, because if i could do this i think lots of other things will be easy.
My build is based on Lots of Arduino MEGA cards and X-Plane 10.
The communication is based on COM port with Serial communications and a small program that i made in C++ for talking to X-plane.
The architectural build is done, so i just have to continue refactoring and make more datarefs handeling in the program.


Part 1:

MCP Build

I ordered the Simworld MPC panel, looks great.
I have some CTS 288 rotary encoders (i had to drill in the backpanel to make them fit)
I have ordered some knobs from acvdesign (custom drilled to fit the CTS 288), havent recieved them yet, think i will hava a problem with the length of my encoders being to long. =( need to cut them or replace them.

For the Korry switches i did something cool. I used 2x2 black Lego bricks. Becuase of the ring in the middle it cuts the lights from the display text and the Led engage light.

I have ordered the switches aswell for the Flight Directors and the Autothrottle. I have also ordered lots of MAX7219 LED display to use for this MCP. Right now the display is RED bur i will try to find some White leds later.

Anyway sofar i have this:






« Last Edit: September 06, 2015, 05:46:10 AM by kurt-olsson »

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #1 on: September 06, 2015, 02:33:37 PM »
Just ordered the MCP knob set, should be EIPC. Just hope that i don´t have to cut the rotary encoder rods... =(

Offline 727737Nut

  • I spend way too much on this forum!
  • *
  • Posts: 925
  • 737-300 Using Real parts and X-Plane 10
  • First Name: Rob Archer
Re: 737-800 Arduino X-Plane Build
« Reply #2 on: September 06, 2015, 08:30:35 PM »
Awesome work!  I'll be watching your progress.

 Question, is there a reason you didn't go with Teensy line of products with native X-Plane support?  Way more powerful than the mega.  Just curious.

Rob
737 Junkie

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #3 on: September 07, 2015, 06:31:58 AM »
Awesome work!  I'll be watching your progress.

 Question, is there a reason you didn't go with Teensy line of products with native X-Plane support?  Way more powerful than the mega.  Just curious.



Rob

Hi and thank you.

Haha i just got the feeling that i missed something with the teensy board! ;)

But i like the idea of having total control of the code both on the arduino and my c++ program, my plan is to support both the 737-200 flyjsim, x737 and the upcoming ixeg 737.

With that in mind i like the controlled code. Arduino has lots of good libraries also for led and encoders.

But i will definently look at the teensy card, my impression was that the arduino mega was more powerful.

I havent started to solder yet so i can still switch cards, i will do more resource of the teensy.

Thanks for input.

By the way, love your 737-200 sim. I admire your electric skills to get all those gauges to work. Looks amazing! The -200 cockpit is amazing, i like it better than the -800 due to more "manual".
« Last Edit: September 07, 2015, 06:55:07 AM by kurt-olsson »

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #4 on: September 07, 2015, 06:47:14 AM »
New autothrottle and flightdirector switch plus the three microbuttons for intervenes just dropped in today. Tonight there will be some soldering i think.

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #5 on: September 07, 2015, 06:49:35 AM »
This is one fat switch. Just hope that my arduino card van read it? Where is the ground? Only two connectors!??? Why?

Offline 727737Nut

  • I spend way too much on this forum!
  • *
  • Posts: 925
  • 737-300 Using Real parts and X-Plane 10
  • First Name: Rob Archer
Re: 737-800 Arduino X-Plane Build
« Reply #6 on: September 07, 2015, 07:46:34 AM »
That switch is what they call a SPST or single throw single pole sw.  Just hook one side to the arduino gnd and the other to your input pin.  You can tie all the your switch grounds together to one point to make it easier.

Thanks for the kind words on my -200 sim  :)

As for the Teensy, it uses Arduino code so you full control over them as well.  ;)  Just no need to write the interface between it and x-plane as that part is done. Is is an I7 compared to a PentiumI when you put it next to a Mega ;)

Rob
737 Junkie

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #7 on: September 07, 2015, 09:32:53 AM »
Ah. Thanks for the switch info, that saved me lots of google-time. =)

I have looked at the Teensy X-Plane API and it looks that i have written 99% same library! haha =)

The teensy card look really good, but i also like the connectors on the arduino that dont require the soldering, i saw that you can add adapters for it to make it the same, but i will continue with the arduino cards i have right now and see what the future has to bring. =)



« Last Edit: September 07, 2015, 09:34:45 AM by kurt-olsson »

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #8 on: September 08, 2015, 12:53:08 AM »
Ok, i am switching to the teensy board! More power same sketches and libs as the arduino and a complete api to talk and read x-plane!

Offline RayS

  • I spend way too much on this forum!
  • *
  • Posts: 824
  • Private Pilot, Sim Enthusiast
    • Anthony Scott Photography
  • First Name: Ray Sotkiewicz
  • Home Location: Seattle, WA
Re: 737-800 Arduino X-Plane Build
« Reply #9 on: September 08, 2015, 01:38:39 AM »
I'm also switching to the Teensy board for X-Plane... Seems to be the way to go over Arduino.
Ray Sotkiewicz

Offline 727737Nut

  • I spend way too much on this forum!
  • *
  • Posts: 925
  • 737-300 Using Real parts and X-Plane 10
  • First Name: Rob Archer
Re: 737-800 Arduino X-Plane Build
« Reply #10 on: September 08, 2015, 10:30:46 AM »
The really cool thing about the Teensy is that you can disconnect it during a flight, re flash, plug it in and it works immediately! Very handy when fine tuning code as no need to reboot the sim.
737 Junkie

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #11 on: September 08, 2015, 12:06:48 PM »
Ah your kidding me! No restart of the simulation!!!  ;D ;D
My project time was just cut by 70%!

Just ordered two teensy 3.1, one with pins and one without!

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #12 on: September 09, 2015, 06:39:19 AM »
My Project took a a real hit yesterday.

My soldering skills.... oh my god are they bad or are they bad? I doubt i will be able to solder all things together...  :(

should i use Heatsink for the resistors + Led. And how do i summon all the ground wires easily.

I would like to have some "ground-metal-rail" on my cardboard that i can connect all my cables to...

I would like to post my soldering, but you would laugh so hard that i wont post anything. =)
« Last Edit: September 09, 2015, 06:40:04 AM by kurt-olsson »

Offline mickc

  • I may as well be Staff!
  • *
  • Posts: 548
  • Aviation Enthusiast
  • First Name: Mick
  • Home Location: VIC, AU
Re: 737-800 Arduino X-Plane Build
« Reply #13 on: September 09, 2015, 08:28:01 AM »
We all have to start somewhere Peter!

Just get some cheap components and practice.  There a lots of good Youtube videos out there that teach you how to solder.
After a while you will get the hang of it!

My first attempt at soldering looked like a bird had taken a metallic shit on the board :(

A common method for ground wires it to connect them from one component to the next in a daisy-chain fashion, so you have one wire that goes from switch to switch instead of individual ground wires to each of them.




Offline RayS

  • I spend way too much on this forum!
  • *
  • Posts: 824
  • Private Pilot, Sim Enthusiast
    • Anthony Scott Photography
  • First Name: Ray Sotkiewicz
  • Home Location: Seattle, WA
Re: 737-800 Arduino X-Plane Build
« Reply #14 on: September 09, 2015, 01:20:22 PM »
Soldering skills.... It does take practice....

http://www.amazon.com/Elenco-SP3B-Practical-Soldering-Project/dp/B0002LUALG

As you build you'll notice an exponential accumulation of wires that need to be grounded or otherwise connected to a power source.

I have about 12 of these in my sim:


They work beautifully.
Ray Sotkiewicz

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #15 on: September 09, 2015, 01:24:12 PM »
Thanks for your kind words!

-"My first attempt at soldering looked like a bird had taken a metallic shit on the board" HAHAHAHA I laught so hard i almost wet my pants! Metallic shit! heheh

Ah smart! connecting all the ground component by component seems easier than my "rale-thing".

By the way. My Teensy 3.1 is now installed and all the libs in place. Got the sample sketch up and running in 5 minutes!
Grade sofar 5/5.

Looks like the FlightControls is running async on its own core, that was my next step in my API that i was coding. Luckily i was told to try this instead! =)


Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #16 on: September 09, 2015, 01:26:00 PM »
That looks really nice RayS!


Even if its not so "nice" soldering i want to be sure nothing breaks after a while.

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #17 on: September 09, 2015, 01:27:47 PM »
Disaster hehe

Offline RayS

  • I spend way too much on this forum!
  • *
  • Posts: 824
  • Private Pilot, Sim Enthusiast
    • Anthony Scott Photography
  • First Name: Ray Sotkiewicz
  • Home Location: Seattle, WA
Re: 737-800 Arduino X-Plane Build
« Reply #18 on: September 09, 2015, 01:50:46 PM »
You can see here in the bottom center the power distribution. After it is all said and done I am still in a bit of shock at how many terminations there are to power!


It has:

2 Ground rails
1 5vdc "Always On" rail
1 12vdc "Always On" rail
2 12VDC "Switched" power rails (Only 'on' after I turn on the BATT switch)
1 5VDC   "Switched" power rails (Only 'on' after I turn on the BATT switch)

The switched rails are controlled by a relay card that uses TTL logic inputs.

The workflow for the BATT switch:

BATT switched connected via joystick card directly to X-Plane (Leo Bodnar's BUX card) --> XPUIPC connected to X-Plane --> RUSCOOL's 64-Output card --> Turns on Relay channel on Relay driver card --> connects 12vdc power to Rail(s)

Seems convoluted. Why not just use the switch itself to provide power to the 12VDC rails? I tried that but I also wanted the systems logic that turns on other related systems within the aircraft (Like flaps won't work unless BATT power is on)

Another thing to keep in mind is current draw. Make sure those primary power cables are thick enough to handle the load. Also make sure your power supplies are beefy enough. I've blown up more power supplies than I care to admit because I underestimated power requirements.
« Last Edit: September 09, 2015, 01:56:48 PM by RayS »
Ray Sotkiewicz

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #19 on: September 09, 2015, 03:12:57 PM »
Looks like a very clean setup! Great work! I think i am getting some progress, cutting the length of resistors and going component by component with the ground!
« Last Edit: September 10, 2015, 03:41:38 AM by kurt-olsson »

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #20 on: September 09, 2015, 05:02:20 PM »
Two hours later...

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #21 on: September 15, 2015, 04:58:59 PM »
Some new stuff came in the mail today. Lots of max7219 drivers and also my mcp buttons from lima,Peru!
Will have to sand the buttonholes abit then they will be perfect. One bad thing was that the vs wheel was to big! It will not show so much and will be hard to scroll... :(

The last hurdle now is the leds... It will be a pain-in-the-beeeep to extend 12x6 cables... And i also have to mount the leds somehow...

Offline kurt-olsson

  • I am chained to this website!
  • *
  • Posts: 1,233
  • 737 -mixed year OEM panel builder.
  • First Name: Peter
  • Home Location: Gothenburg
Re: 737-800 Arduino X-Plane Build
« Reply #22 on: September 15, 2015, 05:03:23 PM »
Current status
« Last Edit: September 16, 2015, 04:21:18 AM by kurt-olsson »

Offline RayS

  • I spend way too much on this forum!
  • *
  • Posts: 824
  • Private Pilot, Sim Enthusiast
    • Anthony Scott Photography
  • First Name: Ray Sotkiewicz
  • Home Location: Seattle, WA
Re: 737-800 Arduino X-Plane Build
« Reply #23 on: September 16, 2015, 01:21:22 PM »
Will have to sand the buttonholes...


...for some reason I read that a little different. Need more coffee :-)
Ray Sotkiewicz

Offline RayS

  • I spend way too much on this forum!
  • *
  • Posts: 824
  • Private Pilot, Sim Enthusiast
    • Anthony Scott Photography
  • First Name: Ray Sotkiewicz
  • Home Location: Seattle, WA
Re: 737-800 Arduino X-Plane Build
« Reply #24 on: September 16, 2015, 01:29:30 PM »
The last hurdle now is the leds... It will be a pain-in-the-beeeep to extend 12x6 cables... And i also have to mount the leds somehow...

Have you entertained using a stock Printed Circuit board? That might make for a better MCP backer and allow you to mount LEDs the way they need to be.

Maybe something like this...
http://www.ebay.co.uk/itm/like/121447132127?clk_rvr_id=897557081744&item=121447132127&lgeo=1&vectorid=229508&rmvSB=true

Then you could terminate all connections on your MCP with an IDC male plug, then simply attach a ribbon cable that also connects to your controller card.

http://www.protostack.com/connectors/idc/idc-male-connector-shrouded-header-10-pin-right-angle-leads

I also use wire-wrap wire for interconnecting components on a board such as the MCP. You could use thin-gauge wire such as 22AWG stranded, but in the end, wire-wrap wire makes for a much cleaner layout and fewer solder blobs.

https://www.sparkfun.com/products/retired/8031



« Last Edit: September 16, 2015, 01:36:03 PM by RayS »
Ray Sotkiewicz

 

COUNTDOWN TO WF2019


WORLDFLIGHT TEAM USA

Will Depart in...

Recent Posts

757/767 PROJECT
by Caflyt
[Today at 08:41:00 AM]
727/737 yokes
by Caflyt
[September 15, 2019, 02:11:06 PM]
WORLDFLIGHT 2019 - Scenery Check Volunteers Needed
by Vincent T.
[September 14, 2019, 03:08:00 PM]
WORLDFLIGHT 2019 - FLIGHT BIDS
by Vincent T.
[September 14, 2019, 03:00:40 PM]
WORLDFLIGHT 2019 - AVAILABILITY
by Trevor Hale
[September 14, 2019, 07:25:32 AM]
WORLDFLIGHT 2019 - Employer matching for Donations...
by RayS
[September 14, 2019, 12:03:45 AM]
SimFest-West 2019 Videos
by RayS
[September 13, 2019, 07:27:16 PM]
737 MAX Build
by helloo
[September 13, 2019, 04:41:17 PM]
A little pucker factor here, I'm sure... nerves of steel
by RayS
[September 12, 2019, 06:30:45 PM]
Which size fuses to use in fuse block supplying FDS boards?
by blueskydriver
[September 11, 2019, 05:56:37 PM]
I finally got the shell pulled off the ATC-810...
by geneb
[September 11, 2019, 07:29:51 AM]
Wanted: Optoma GT1080Darbee Short Throw Projector
by Flightdeck57
[September 11, 2019, 12:24:08 AM]
F16 Simulator For Sale
by blueskydriver
[September 06, 2019, 03:52:34 PM]
Ebay Assistance
by iwik
[September 06, 2019, 02:00:00 PM]
Matrox 3
by jackpilot
[September 05, 2019, 10:45:00 AM]
So I got a big crate the other day...
by geneb
[September 05, 2019, 09:20:22 AM]
Official WF 2019 Route
by fsaviator
[September 05, 2019, 08:20:10 AM]
Are some sellers off their trolly
by kurt-olsson
[September 02, 2019, 12:39:54 PM]
Display Glare FDS w/Pic
by Joe Lavery
[September 01, 2019, 02:33:47 AM]
MCP
by Caflyt
[August 27, 2019, 06:57:41 PM]
Dispatch and Career Add-on
by fsaviator
[August 26, 2019, 10:42:45 AM]
What have you done for your simulator today?
by B763
[August 25, 2019, 04:58:46 PM]
Free Jet Ranger.
by geneb
[August 23, 2019, 06:16:52 PM]
items/oem from overhead
by gufau
[August 23, 2019, 12:49:15 PM]
Hi everyone!
by jskibo
[August 23, 2019, 08:05:33 AM]
737-800 Front window post size
by kurt-olsson
[August 23, 2019, 03:35:11 AM]
Shipping Woes
by Caflyt
[August 22, 2019, 10:47:49 AM]
Worldflight 2019 Open for Business
by Trevor Hale
[August 21, 2019, 08:28:13 AM]
More ?'s - annunciators?
by kattz
[August 21, 2019, 05:44:21 AM]
Looking for annunciators
by kattz
[August 19, 2019, 10:36:39 PM]