Difference between revisions of "I/O Connection examples"

From Sim Innovations Wiki
Jump to navigation Jump to search
(Switch image)
(Rotary encoder image)
Line 21: Line 21:
|style="width: 25%; vertical-align:top;"|
|style="width: 25%; vertical-align:top;"|
<center>{{large|Rotary encoders}}
<center>{{large|Rotary encoders}}
[[File:Ledtutorial.png|frameless|baseline|250px|]]
[[File:Rotaryencodertutorial.png|frameless|baseline|250px|]]
How to connect a rotary encoder to the simulator</center>
How to connect a rotary encoder to the simulator</center>
|style="width: 25%; vertical-align:top;"|
|style="width: 25%; vertical-align:top;"|

Revision as of 11:01, 26 November 2018

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

Buttons

Buttontutorial.png

How to connect buttons and send data to the simulator
Switches

Switchtutorial.png

How to connect a switch to the simulator
Rotary encoders

Rotaryencodertutorial.png

How to connect a rotary encoder to the simulator
LED's

Ledtutorial.png

How to connect an LED and control the brightness