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

Thread: Connecting two teensy boards using the USB host interface

  1. #1
    Junior Member
    Join Date
    Aug 2019
    Posts
    9

    Connecting two teensy boards using the USB host interface

    I want to connect two Teensy boards together using the USB host interfaces (one as the host and the other as the device), and send data back and forth. Eventually I want to perform streaming real-time transfers. I am currently using Teensy 3.6 boards, but plan to move to Teensy 4.0. I've been going through the USBHost_t36 library and examples, and I'm trying to determine what I need to do. Has someone already connected two teensy boards like this? If not, what are the high level steps that I would need to take to accomplish this? Any advice is greatly appreciated!

  2. #2
    Junior Member
    Join Date
    Aug 2019
    Posts
    9
    I used the Serial Test example and was able to get the communication to work.

  3. #3
    Senior Member
    Join Date
    Dec 2016
    Posts
    122
    Where do you get a cable that can connect the two?

    -jim lee

  4. #4
    Junior Member
    Join Date
    Aug 2019
    Posts
    9
    I cut a USB cable and soldered the wires to a header and connected it to the USB host connections on the board.

  5. #5
    Junior Member
    Join Date
    Aug 2019
    Posts
    9
    I used the host interface on one and plugged in unmodified portion of the cable to the device interface of the other. I tried to attach a picture but the uploading of attachments keeps failing for me.

  6. #6
    Junior Member
    Join Date
    Aug 2019
    Posts
    9
    Click image for larger version. 

Name:	usb_host_pict1_.jpg 
Views:	2 
Size:	82.0 KB 
ID:	17617Click image for larger version. 

Name:	usb_host_pict2_.jpg 
Views:	3 
Size:	95.0 KB 
ID:	17618

Posting Permissions

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