geekhack

geekhack Projects => Making Stuff Together! => Topic started by: Melvang on Wed, 07 February 2018, 13:10:59

Title: USB output from Teensy to project box
Post by: Melvang on Wed, 07 February 2018, 13:10:59
I am tweaking a project box that has a Teensy with Soarers for an F122.  The problem is the USB out doesn't sit flush with the outside of the project box and it was just glued in place with some capaciters underneath to space it up high enough.  I want to remedy this situation and flush mount the USB out.  My first thought was one of the USB type changers similar to  this (https://www.amazon.com/StarTech-com-Micro-Mini-Adapter-UUSBMUSBFM/dp/B002O1S8IE/ref=sr_1_3?ie=UTF8&qid=1518030496&sr=8-3&keywords=USB+mini+adapter).  Just wondering if there is a better solution.
Title: Re: USB output from Teensy to project box
Post by: Melvang on Wed, 07 February 2018, 13:14:08
This is what I am working with. I know the plugs types are backwards but same idea.

[attach=1]
Title: Re: USB output from Teensy to project box
Post by: Tactile on Wed, 07 February 2018, 13:27:43
How about using a short cable. Most are converters so you'd end up converting from mini to micro USB. Something like this (https://www.ebay.com/itm/New-OEM-Motorola-Micro-USB-Female-to-Mini-USB-Male-Adapter-Converter/322307319312).
Title: Re: USB output from Teensy to project box
Post by: jdcarpe on Wed, 07 February 2018, 13:32:01
Get one of these and you can mount the Teensy using screws. Use the USB Mini B conntector onboard the Teensy?

(https://i.imgur.com/fCqQg8Y.png)
Title: Re: USB output from Teensy to project box
Post by: Melvang on Wed, 07 February 2018, 13:40:09
How about using a short cable. Most are converters so you'd end up converting from mini to micro USB. Something like this (https://www.ebay.com/itm/New-OEM-Motorola-Micro-USB-Female-to-Mini-USB-Male-Adapter-Converter/322307319312).

I'm not sure there is enough room in there for the cable with getting it bent and turned around.

Get one of these and you can mount the Teensy using screws. Use the USB Mini B conntector onboard the Teensy?

Show Image
(https://i.imgur.com/fCqQg8Y.png)


That's actually my design.  I think MOZ did the KiCad work for me.  There was another version that had the screw holes on the sides.  But the problem isn't mounting.  It is getting the USB receptacle on the Teensy flush with the outside of the project box that is proving the issue.