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

Thread: Teensy 4.1 USB Host pinout

  1. #1
    Junior Member
    Join Date
    Jan 2020
    Location
    Finland
    Posts
    10

    Teensy 4.1 USB Host pinout

    Hi!

    I have searched the PJRC site and the forum, but have found no information on the pinout of the Teensy 4.1 USB host pins. There was no information either on the 4.1 pinout card supplied with the board.

    If I want to use a generic USB female port instead of the PJRC USB host cable, how should I connect the pins? I have attached an image to make clear which pins I am talking about.

    Best,
    Miro

    Click image for larger version. 

Name:	Screenshot 2020-05-30 at 11.32.39.png 
Views:	1 
Size:	212.6 KB 
ID:	20371

  2. #2
    Senior Member PaulS's Avatar
    Join Date
    Apr 2015
    Location
    Netherlands
    Posts
    181
    The pinout of the USB host port is silkscreen-printed on the bottom side of the PCB:

    Click image for larger version. 

Name:	Untitled.png 
Views:	4 
Size:	156.9 KB 
ID:	20372

    See also this page: https://www.pjrc.com/store/cable_usb_host_t36.html for the colors of the USB wires.

    Paul

  3. #3
    Junior Member
    Join Date
    Jan 2020
    Location
    Finland
    Posts
    10
    Thanks Paul!

    Silly me, didn't occur to me to check the underside of the board.
    The most obvious place is always the last to come to mind.

    Although, I must say that it wouldn't hurt to have it on the backside the pinout card like in Teensy 4.0.

    Best,
    Miro

  4. #4
    Senior Member PaulS's Avatar
    Join Date
    Apr 2015
    Location
    Netherlands
    Posts
    181
    Perhaps this board is the easiest way to mount a USB type A connector to the board?

    Click image for larger version. 

Name:	Capture.PNG 
Views:	4 
Size:	370.6 KB 
ID:	20374

    Paul

  5. #5
    Senior Member PaulS's Avatar
    Join Date
    Apr 2015
    Location
    Netherlands
    Posts
    181
    It's made by Sparkfun: https://www.sparkfun.com/products/12700

    Paul

  6. #6
    Junior Member
    Join Date
    Jan 2020
    Location
    Finland
    Posts
    10
    Yup, that looks handy!

    Thanks!
    -Miro

  7. #7
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,745
    PJRC.com resells the following cable that can be used:


    Compared to the Teensy 3.6, the one thing that 4.1 doesn't have is solder pads under the Teensy to control whether the VIN pin is connected to the 5v pin on the USB header.

  8. #8
    Senior Member+ KurtE's Avatar
    Join Date
    Jan 2014
    Posts
    6,952
    Quote Originally Posted by Myreauks View Post
    Thanks Paul!

    Silly me, didn't occur to me to check the underside of the board.
    The most obvious place is always the last to come to mind.

    Although, I must say that it wouldn't hurt to have it on the backside the pinout card like in Teensy 4.0.

    Best,
    Miro
    I am pretty sure that is the plan, but with Covid19 constraints it is just Paul and Robin, and they are pretty busy. Hopefully in the not too distant future, they will be able to catch up.

  9. #9
    Senior Member PaulS's Avatar
    Join Date
    Apr 2015
    Location
    Netherlands
    Posts
    181
    Quote Originally Posted by MichaelMeissner View Post
    Compared to the Teensy 3.6, the one thing that 4.1 doesn't have is solder pads under the Teensy to control whether the VIN pin is connected to the 5v pin on the USB header.
    As far as I can see, the Teensy 4.1 does have the solder pads:
    Click image for larger version. 

Name:	Capture.PNG 
Views:	2 
Size:	216.7 KB 
ID:	20387
    Click image for larger version. 

Name:	Capture2.PNG 
Views:	4 
Size:	30.8 KB 
ID:	20388

    Or did you mean something different?

    Regards,
    Paul

  10. #10
    Junior Member
    Join Date
    Jan 2020
    Location
    Finland
    Posts
    10
    Quote Originally Posted by MichaelMeissner View Post
    PJRC.com resells the following cable that can be used:


    Compared to the Teensy 3.6, the one thing that 4.1 doesn't have is solder pads under the Teensy to control whether the VIN pin is connected to the 5v pin on the USB header.
    Yes, that cable is always a good choice for fast prototyping and when space is not an issue. But as I mentioned in my original post, instead of the cable I want to use a plain USB port. In my case the reason is portability and minimal space consumption, but I am sure there are others who prefer just a USB connector without the cable itself for various reasons.


    Quote Originally Posted by KurtE View Post
    I am pretty sure that is the plan, but with Covid19 constraints it is just Paul and Robin, and they are pretty busy. Hopefully in the not too distant future, they will be able to catch up.
    Absolutely, that is totally understandable. Just getting the 4.1 released in the current situation is an achievement in itself.

    -Miro

  11. #11
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    11,828
    Quote Originally Posted by PaulS View Post
    As far as I can see, the Teensy 4.1 does have the solder pads:

    Or did you mean something different?

    Regards,
    Paul
    T_4.1 does have the trace to cut VIN<>VUSB.

    re:
    Quote Originally Posted by MichaelMeissner
    Compared to the Teensy 3.6, the one thing that 4.1 doesn't have is solder pads under the Teensy to control whether the VIN pin is connected to the 5v pin on the USB header.
    What the T_3.6 had room for on the underside that the T_4.1 does not is the Pads to select USB :: Host versus Device power cut/solder pads.
    Click image for larger version. 

Name:	teensy36b.jpg 
Views:	5 
Size:	82.7 KB 
ID:	20389
    Click image for larger version. 

Name:	teensy41_2.jpg 
Views:	4 
Size:	95.1 KB 
ID:	20390

Posting Permissions

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