Skip to content

Arduino Press Buttons

Wotever edited this page Apr 25, 2021 · 9 revisions

Read before

Only arduino pro micro have Gamepad native support, if you want to get it recognized as a controller within the game, make sure to use arduino pro micro. Otherwise only SimHub will see inputs

Supported buttons

Any momentary switch will do the trick.

Wiring

On nano avoid A6, A7 as they don't have digital capability. And D13 due to arduino on board led

Pin TO GND Wiring

VCC TO Pin wiring

This wiring can be useful when using illuminated buttons for instance. (This wiring is available starting from Simhub 7.4.0)

In this wiring you need a 10kohms resistor

Configuration

Set how many buttons are wired, pins and the wiring mode for each one then upload the sketch,

Gamepad/Controller mode (Arduino pro micro or ATMega32U based boards)

Usage

Buttons can be used in simhub for any arduino board, or be seen as Gamepad for arduino micro (when enabling the option)

Clone this wiki locally