Howto:Build your own procedure trainer: Difference between revisions

Jump to navigation Jump to search
+-cat: Hardware → Cockpit building
m (→‎Instrument Panel: Link to the (new) FGpanel article)
(+-cat: Hardware → Cockpit building)
Line 1: Line 1:
[[File:Pmpt-0.1.jpg|thumb|250px|A first version of the PMPT - functional!]]
[[File:Pmpt-0.1.jpg|thumb|250px|A first version of the PMPT - functional!]]
This page is about '''building your own procedure trainer device''' using basically [[FlightGear]], other OpenSource software and home brew hardware. It is probably far from being a FNPT [http://de.wikipedia.org/wiki/Flight_and_Navigation_Procedures_Trainer Flight Navigation Procedure Trainer ], so I'd like to call it a '''PMPT''' for ''Poor Man's Procedure Trainer''.
This page is about '''building your own procedure trainer device''' using basically [[FlightGear]], other OpenSource software and home brew hardware. It is probably far from being a FNPT [http://de.wikipedia.org/wiki/Flight_and_Navigation_Procedures_Trainer Flight Navigation Procedure Trainer ], so I'd like to call it a '''PMPT''' for ''Poor Man's Procedure Trainer''.
The goal is to have most of the components, "real" FNPT have:
The goal is to have most of the components, "real" FNPT have:
Line 40: Line 41:
[[File:Pmpt-ButtonAssy.jpg|thumb|250px|Another view of a rotary encoder]]
[[File:Pmpt-ButtonAssy.jpg|thumb|250px|Another view of a rotary encoder]]
=== Yoke and Switch Panel ===
=== Yoke and Switch Panel ===
=== Rudder Pedals ===
=== Rudder Pedals ===
<br clear="all"/>
<br clear="all"/>
=== Radio Stack ===
=== Radio Stack ===
[[File:Pmpt-Radiostack.jpg|thumb|250px|The future radio stack]]
[[File:Pmpt-Radiostack.jpg|thumb|250px|The future radio stack]]
Line 55: Line 58:


== The Basic Hardware Interface ==
== The Basic Hardware Interface ==
=== The Almighty USB HID Controller ===
=== The Almighty USB HID Controller ===
[[File:Pmpt-Controller.jpg|thumb|250px|The USB HID controller]]
[[File:Pmpt-Controller.jpg|thumb|250px|The USB HID controller]]
Line 69: Line 73:
The ATMega8 itself needs a firmware before it is usable for our PMPT and to be recognized as a USB HID device. The source code for the firmware is mostly written in C and can be compiled with the avr-gcc toolchain. To get the resulting binary into the controller, no special programmer hardware is needed as long as you have a computer with a [http://en.wikipedia.org/wiki/Parallel_port parallel port]. [http://www.captain.at/electronics/atmel-programmer/ Here] is a description of the required interface - just two resistors and five wires between your computer and the controller do the trick.
The ATMega8 itself needs a firmware before it is usable for our PMPT and to be recognized as a USB HID device. The source code for the firmware is mostly written in C and can be compiled with the avr-gcc toolchain. To get the resulting binary into the controller, no special programmer hardware is needed as long as you have a computer with a [http://en.wikipedia.org/wiki/Parallel_port parallel port]. [http://www.captain.at/electronics/atmel-programmer/ Here] is a description of the required interface - just two resistors and five wires between your computer and the controller do the trick.
Your best friend for programming the ATMega is a dude called [http://www.nongnu.org/avrdude/ avrdude].
Your best friend for programming the ATMega is a dude called [http://www.nongnu.org/avrdude/ avrdude].
==== Panel Controller ====
==== Panel Controller ====
[[File:Pmpt-RotaryWiring.jpg|thumb|250px|Basic wiring of the encoders]]
[[File:Pmpt-RotaryWiring.jpg|thumb|250px|Basic wiring of the encoders]]
==== Yoke Controller ====
==== Yoke Controller ====


[[Category:Hardware|Procedure trainer Build your own]]
[[Category:Cockpit building|Procedure trainer Build your own]]
[[Category:Howto|Procedure trainer Build your own]]
[[Category:Howto|Procedure trainer Build your own]]

Navigation menu