Skip to content

Arduino Multiple devices support

Wotever edited this page Jan 5, 2020 · 7 revisions

Introduction

SimHub can aggregate multiple arduinos as if it was only a single device. In this configuration the following features will be addressable (configurable) separately :

  • 7 segments displays (TM1638, TM1637, MAX7219 ...)
  • 20x4 LCD
  • LEDS : RGB and TM1638 leds
  • Motors : each motor will be addressable separately
  • Custom protocol

All the other features will be replicated on all the arduinos (Tach, boost, Gear indicator) ...

How to configure multiple arduinos

  • At the sketch UPLOAD make sure to use unique names for each aduino for easier recognition !

  • Enable multiple USB in Simhub

  • [Optional, recommended for a first setup] In the multi USB settings remove all the previously detected devices :

  • Press Scan now, and wait for the button to unlock, all the detected devices should appear in the list

  • Optionally, reorder devices, since all the arduino are aggregated as a single big device, the order matters

  • Press apply to take the new configuration into account

  • Simhub will now connect to the configured devices.

Troubleshooting and tips

  • Multi USB requires unique names for each arduino
  • Each arduino have a fixed display order : - TM1638 - Other seven segments - LCD
  • Always make sure your multiple USB configuration match your actual hardware setup
  • If you add a display to a previously configured device, make sure your multiple USB configuration match your actual hardware setup

Clone this wiki locally