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

Thread: External USB for Data / Power

  1. #1
    Junior Member
    Join Date
    Jun 2020
    Posts
    18

    External USB for Data / Power

    Hey Guys,

    Are there any diagrams floating around out there that shows how to replace the current Data/power microusb via an external usb like this?

    https://au.mouser.com/ProductDetail/...uMCg2FWQ%3D%3D

    Im going to mount it on a PCB breakout im making but i've read through the external power / USB pages but im looking to use this panel mounted USB instead of the onboard MICRO USB.

    Are there any tech guides that im missing?

  2. #2
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,222
    PJRC sold this :: pjrc.com/store/cable_usb_panel_micro.html

    What Teensy? Some have usable device pads on the underside that could be routed to a PCB mounted USB Type B Connector like that

  3. #3
    Junior Member
    Join Date
    Jun 2020
    Posts
    18
    oh sorry.

    Teensy 4.0

    Yeah as I'm designing my PCB i thought routing ti directly would be easy enough rather than an external cable.

  4. #4
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,222
    T_4.0 doesn't have alternate device pads. An adapter like linked would be the best - versus desoldering and trying to get them wired from the top connector's former spot.

  5. #5
    Junior Member
    Join Date
    Jun 2020
    Posts
    18
    im using a 4.0, but I'm also willing to use the 4.1 because of the extra IO for future use. I might go down that path as it seems more flexible.

  6. #6
    Senior Member+ MichaelMeissner's Avatar
    Join Date
    Nov 2012
    Location
    Ayer Massachussetts
    Posts
    3,833
    Quote Originally Posted by Dylpickle View Post
    im using a 4.0, but I'm also willing to use the 4.1 because of the extra IO for future use. I might go down that path as it seems more flexible.
    The Teensy 4.1 also does not have the alternative device pads for the standard USB device. The USB D-/D+ pads underneath the Teensy are for the secondary USB host connector. Paul has said that the issue was that putting pads in like the Teensy 3.x processors had made the USB connection unreliable at 480 Mbits/second.

    So if you just want to power the Teensy, but are willing to use the built-in USB connector to program it, you could just connect the external USB to VIN and ground (or VUSB and ground). On the Teensy 4.x, since there is no separate analog ground, it means you can use the first 2 pins (VIN, ground) on the right side (with the USB adapter pointing up). You could use either a panel mount USB mount, or perhaps a 5.5mm x 2.1mm power jack.

    For safety sake, you may want to include a transistor setup to prevent one USB from feeding the other. Or if it is ok to always use the external power connection when programming, cut the solder trace between VUSB and VIN.

  7. #7
    Junior Member
    Join Date
    Jun 2020
    Posts
    18
    ahhh yeah.

    to be honest i might just have the usb via a breakout that connects to a micro plug like before.

  8. #8
    Senior Member+ defragster's Avatar
    Join Date
    Feb 2015
    Posts
    12,222
    T_4.0 has under USB pads for USB Host.
    T_4.1 does present a small pad for each of D+/D- for device - but YMMV as it is 480 Mbps usb - not the slower 12 Mbps of prior T_3.x's.

    Plug in micro USB to desired alternative should work on either.

Posting Permissions

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