Author Topic: Trying to find a USB connector with sensor spring/pin  (Read 3914 times)

0 Members and 1 Guest are viewing this topic.

Offline newbadboyTopic starter

  • Regular Contributor
  • *
  • Posts: 94
  • Country: se
Trying to find a USB connector with sensor spring/pin
« on: April 28, 2017, 06:11:13 am »
As topic i'm trying to find a Usb connector with a sensor pin such as mounted on SD card holders. A spring which can detect if a connector is connected or not. I have found one but it's a standing and i prefer one standard mounted SMD.

https://electronics.stackexchange.com/questions/215755/special-usb-port-with-sensor-contact
http://portal.fciconnect.com/Comergent//fci/drawing/73725.pdf

Pls help me.
« Last Edit: April 28, 2017, 06:40:35 am by newbadboy »
 

Offline Jeroen3

  • Super Contributor
  • ***
  • Posts: 4195
  • Country: nl
  • Embedded Engineer
    • jeroen3.nl
Re: Trying to find a USB connector with sensor spring/pin
« Reply #1 on: April 28, 2017, 07:28:33 am »
This seems redundant. USB already has this in timeouts and voltage levels on the data lines.

It feels like you're using the USB connector for non-USB business?
 

Offline newbadboyTopic starter

  • Regular Contributor
  • *
  • Posts: 94
  • Country: se
Re: Trying to find a USB connector with sensor spring/pin
« Reply #2 on: April 28, 2017, 09:09:34 am »
Both yes and no. Unfortunatly i cannot say to much about what i'm trying to do at this state :(
 

Offline cowana

  • Frequent Contributor
  • **
  • Posts: 325
  • Country: gb
Re: Trying to find a USB connector with sensor spring/pin
« Reply #3 on: April 28, 2017, 09:47:33 am »
I spent a while trying to find the same thing - my application was to give my bench power supply a USB output, which automatically switches to 5V output (and enables the over-voltage protection at 5.5v) when a USB lead is connected (regardless of whether it is plugged into a device or not).

That FCI connector you linked to was the only one I could find in my searching - however I'd love to know if they are available from any other manufacturers (especially if you can get them in other orientations).
 

Offline newbadboyTopic starter

  • Regular Contributor
  • *
  • Posts: 94
  • Country: se
Re: Trying to find a USB connector with sensor spring/pin
« Reply #4 on: April 28, 2017, 01:21:42 pm »
Shit, well i let you know if i find something.
 

Offline grifftech

  • Frequent Contributor
  • **
  • Posts: 369
  • Country: us
    • youtube channel
Re: Trying to find a USB connector with sensor spring/pin
« Reply #5 on: April 28, 2017, 07:04:49 pm »
have a sliding cover over the port that activates a switch when open.
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9238
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Trying to find a USB connector with sensor spring/pin
« Reply #6 on: April 29, 2017, 12:47:26 am »
Probably the biggest use case are USB battery packs that automatically turn on when there is something plugged in.
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 

Offline aargee

  • Frequent Contributor
  • **
  • Posts: 877
  • Country: au
Re: Trying to find a USB connector with sensor spring/pin
« Reply #7 on: April 29, 2017, 02:34:05 am »
If it's not part of the USB standard, then finding what you want may be a case of build your own non-standard device.
Not easy, not hard, just need to be incentivised.
 

Offline Ampera

  • Super Contributor
  • ***
  • Posts: 2578
  • Country: us
    • Ampera's Forums
Re: Trying to find a USB connector with sensor spring/pin
« Reply #8 on: April 29, 2017, 04:30:25 am »
Does it have to be USB? Maybe DIN could be a better option as you can just have a pin to register if the device is connected.

Speaking of DIN, why don't we use it anymore? I love the DIN connectors. My only issue with it is the name. I wish we didn't have to either call it DIN to confuse everybody, or to call it by the DIN number to make it even more confusing.
I forget who I am sometimes, but then I remember that it's probably not worth remembering.
EEVBlog IRC Admin - Join us on irc.austnet.org #eevblog
 

Offline 1audio

  • Frequent Contributor
  • **
  • Posts: 308
  • Country: us
Re: Trying to find a USB connector with sensor spring/pin
« Reply #9 on: April 29, 2017, 04:57:11 am »
Microusb has an extra pin normally for OTG but easily hijacked for other tasks.

Sent from my LG-H811 using Tapatalk

 

Offline newbadboyTopic starter

  • Regular Contributor
  • *
  • Posts: 94
  • Country: se
Re: Trying to find a USB connector with sensor spring/pin
« Reply #10 on: April 29, 2017, 01:57:51 pm »
Well, it's hard to explain without reveiling to much.

But yes it is connected to usb ports. Making own slider and so is possible but not realistic. It's intended to go on crowdfunding if it will work as i hope.

Basically i want to detect if something is connected and disconnected to a usb port. And without any really intelligence such as controller. Measuring logical levels and such is ok but not more.

Also it's important that detection is done really early att connection/disconnection. Before any real data traffic i sent

Do you guys have any ideas?
 

Offline jpc

  • Supporter
  • ****
  • Posts: 68
  • Country: gb
Re: Trying to find a USB connector with sensor spring/pin
« Reply #11 on: April 29, 2017, 02:49:33 pm »
Are you powering it from the USB port you plug it into or is it self powered.
 

Offline dgtl

  • Regular Contributor
  • *
  • Posts: 183
  • Country: ee
Re: Trying to find a USB connector with sensor spring/pin
« Reply #12 on: April 29, 2017, 02:55:27 pm »
The device detection protocol of the USB is pretty trivial. The host side has very weak pull-down resistors. The device pulls up with a resistor either D+, D- or both (depending on what speed it wants to use). The host side sees that both lines are not low anymore.
On the device side, you can just verify the presence of the vbus power.
 

Offline newbadboyTopic starter

  • Regular Contributor
  • *
  • Posts: 94
  • Country: se
Re: Trying to find a USB connector with sensor spring/pin
« Reply #13 on: April 30, 2017, 08:17:54 pm »
It's powered by vbus. Thx ill look into it
 

Offline aandrew

  • Frequent Contributor
  • **
  • Posts: 277
  • Country: ca
Re: Trying to find a USB connector with sensor spring/pin
« Reply #14 on: May 02, 2017, 04:48:25 pm »
Probably the biggest use case are USB battery packs that automatically turn on when there is something plugged in.

This can already be done by sensing current on the D+/D- lines (and in fact is required if you are complying with the  battery charge spec on usb.org).
 

Offline NiHaoMike

  • Super Contributor
  • ***
  • Posts: 9238
  • Country: us
  • "Don't turn it on - Take it apart!"
    • Facebook Page
Re: Trying to find a USB connector with sensor spring/pin
« Reply #15 on: May 03, 2017, 02:34:07 am »
Probably the biggest use case are USB battery packs that automatically turn on when there is something plugged in.

This can already be done by sensing current on the D+/D- lines (and in fact is required if you are complying with the  battery charge spec on usb.org).

The device detection has to work with practically zero standby current (including no voltage applied to the USB port in the off state) and work regardless of whether or not the device does anything with the data lines.
One USB battery I have uses an extra contact that the outside of the USB plug shorts to ground. That triggers the boost converter to turn on. The interesting part is that there's a small microcontroller measuring the output current and switch off the output when the output current falls in a manner that suggests a connected device has finished charging, but is pretty resistant to false triggering by USB devices that directly use the USB power. (It appears that a long duration of nearly constant current draw is one of the preconditions.)
Cryptocurrency has taught me to love math and at the same time be baffled by it.

Cryptocurrency lesson 0: Altcoins and Bitcoin are not the same thing.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf