Difference between revisions of "I/O Connection examples"

From Sim Innovations Wiki
Jump to navigation Jump to search
(Needled instruments)
(Servo motor added)
 
(One intermediate revision by the same user not shown)
Line 39: Line 39:
How to connect stepper motors and set their position. Stepper motors can be used to create for example a trim wheel, vertical speed indicator, heading indicator, etc...</center>
How to connect stepper motors and set their position. Stepper motors can be used to create for example a trim wheel, vertical speed indicator, heading indicator, etc...</center>
|style="width: 25%; vertical-align:top;"|
|style="width: 25%; vertical-align:top;"|
<center>[[Character display connection tutorial| {{large|Character displays}}]]
[[File:Display.png|frameless|baseline|250px|link=Character display connection tutorial]]
How to connect character displays and set their text or digits. Character displays can be used to create for example a COM/NAV radio, autopilot, etc...</center>
|style="width: 25%; vertical-align:top;"|
|style="width: 25%; vertical-align:top;"|
<center>[[Servo motor connection tutorial| {{large|Servo motors}}]]
[[File:Servo motor example.png|frameless|baseline|250px|link=Servo motor connection tutorial]]
How to connect a servo motor and control its position. Servo motors can be used to control needles, moving platforms, etc...</center>
|}
|}

Latest revision as of 09:10, 22 May 2020

Introduction

Air Manager and Air Player allow you to utilize Arduino's or Raspberry Pi's as hardware input/output. We will explain the most common possibilities with an example. The examples consists of a wiring diagram and a small example script. You can take these examples as a starting point to create your own project. We will gladly explain you more. If you think that something is missing, then please let us know through our forums and we will consider writing a how-to for your question.

Remember that in all cases you are responsible for any damage that might occur. Sim Innovations can not be hold liable for any damage. Creating a shortcircuit for example can damage or even destroy your Raspberry Pi or Arduino. Always be careful and read all instructions before taking actions. It's better to check twice than seeing your hardware going up in smoke. To measure is to know!

General knowledge

Examples

Info These examples use named hardware, this requires at least Air Manager 3.5.
Buttons

Buttontutorial.png

How to connect buttons and send data to the simulator. Buttons can be used to build a CDU keyboard, starter push-button, etc...
Switches

Switchtutorial.png

How to connect a switch to the simulator. Switches can be used to build an overhead panel, gear switches, starter switches, etc...
Rotary encoders

Rotaryencodertutorial.png

How to connect a rotary encoder to the simulator. Encoders can be used for the altimeter setting, radio frequencies, etc...
LED's

Ledtutorial.png

How to connect an LED and control the brightness. LED's can be used to build an annunciator panel, gear indicator lights, etc...
Potentiometers

Potentiometer.png

How to connect potentiometers and send data to the simulator. Potentiometers can be used to build a throttle quadrant, panel lighting dial, etc...
Stepper motors

Stepper motor example.png

How to connect stepper motors and set their position. Stepper motors can be used to create for example a trim wheel, vertical speed indicator, heading indicator, etc...
Character displays

Display.png

How to connect character displays and set their text or digits. Character displays can be used to create for example a COM/NAV radio, autopilot, etc...
Servo motors

Servo motor example.png

How to connect a servo motor and control its position. Servo motors can be used to control needles, moving platforms, etc...