Hi Guys,
Im making an handheld device with buttons and lights. This is connected with an usb to the "main device"
things i need to send/recieve
5 v
ground
data (to LEDs from main)
data (from buttons to main)
now i like to hook up a LED when you plug the usb in the LED wil get on.
is it possible to use the "5th wire" for this?
Zapro
March 9, 2016, 7:50pm
#2
Mini/Micro-USB-leads do have 5 wires, although the cable does not carry 5 wires.
The 5th pin is usually used as ID, wired to ground directly or trough a resistor.
// Per.
DrAzzy
March 9, 2016, 8:46pm
#3
The 5th pin is "insert detect", and that's exactly what the pin is for. I think it's connected to ground when plugged in? You can check what it's connected to with your multimeter.
Paul_B
March 10, 2016, 9:43am
#4
But it has been frequently used for headsets and such.
dlloyd
March 10, 2016, 3:33pm
#5
Connecting pin4 to pin5 creates an "OTG" cable for USB Host applications. Pinout