Forum Rule: Always post complete source code & details to reproduce any issue!
Results 1 to 4 of 4

Thread: Multiple teensies?

  1. #1
    Junior Member
    Join Date
    Jan 2018
    Posts
    2

    Multiple teensies?

    If my project called for it can I plug in multiple teensy 3.6s. I'm currently using one in a usb keyboard-mouse-joystick config. If I wanted use another teensy as another controller at the same time, wouldn't need to be named differently? And how would I do that?

    Any help for a noob appreciated.

  2. #2
    Senior Member PaulStoffregen's Avatar
    Join Date
    Nov 2012
    Posts
    18,651
    Yes, using multiple boards is certainly possible.

    Without knowing anything about your project, I can only give very generic advice...

    Using them as mouse, keyboard and joystick, the main challenge is the PC side software which is mostly designed to use only 1 of each device. When you plug 2 normal USB keyboards into the same PC, the drivers on the PC side merge their data together so typing on either controls your PC the same way. You can expect the same using Teensy - since it's just another keyboard as far as your PC is concerned. Again, not knowing anything about your project, it's hard to know if this is what you might want, or if you need each to control some separate program.

    Likewise with the other USB types, the main issue is how your PC handles more than 1. With USB MIDI, there's an example showing how to change the name which appears.

    The other less-than-ideal aspect of using more than 1 is the Arduino IDE. It's designed to be simple for 1 board. You can use more than 1, but it's a bit cumbersome. At the very least, you need to use Tools > Ports and Tools > Boards (if not the same model) to switch back and forth. In some cases where a specific Teensy port isn't selected, it will automatically try to upload to the first board it can find, which might not be the one you want. All this stuff is only a minor inconvenience, but something to mentally prepare.

  3. #3
    Junior Member
    Join Date
    Jan 2018
    Posts
    2
    Hey Paul,
    Thanks for the reply. Still in early stages.
    Thanks,

  4. #4
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    7,046
    If you do multiple Teensys - or just one - TyCommander is a very handy and useful improvement to any use

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •