I have an Arduino Micro that is going to be mounted inside an enclosure in which it would be a pain to open the enclosure to adjust programming. Is there a way that I can access the DATA+ and DATA- signals of the USB so that I can create external connector? I rather not use some sort of FTDI breakout when the Micro already has USB built in. I feel like soldering to the pin on the USB connector would be near impossible.
\$\begingroup\$
\$\endgroup\$
7
-
1\$\begingroup\$ Just use a USB cable with a USB connector on the other end? Like one side has a micro usb which you can plug into the arduino, and the other has a female Type A USB connector. The connector is outside the enclosure. \$\endgroup\$– zack1544Commented Nov 11, 2016 at 1:19
-
2\$\begingroup\$ USB wants a differential (twisted-pair) controlled-impedance signalling pair, otherwise it will not be reliable and might not work at all. Tee connections are not advised for USB. You're better off just using the connector. \$\endgroup\$– MarkUCommented Nov 11, 2016 at 1:21
-
1\$\begingroup\$ More about ISP programming here: arduino.stackexchange.com/questions/25144/programming-via-isp and also on Nick Gammon's blog. \$\endgroup\$– MarkUCommented Nov 11, 2016 at 1:24
-
1\$\begingroup\$ I had a similar need. I spliced a micro USB plug to one of these: aliexpress.com/item/… I used a right angle plug to use less space. I couldn't find the micro USB equivalent of that panel mount extension. I like the panel mount USB jack and it's much more durable than the one on the Micro, which breaks off fairly easily. You need to watch out with those cheap cables, sometimes the wire colors don't correspond to the standard USB pins so you have to do a continuity test on each one to check. \$\endgroup\$– per1234Commented Nov 11, 2016 at 1:28
-
1\$\begingroup\$ adafruit.com/products/3258 \$\endgroup\$– Ignacio Vazquez-AbramsCommented Nov 11, 2016 at 2:06
|
Show 2 more comments
1 Answer
\$\begingroup\$
\$\endgroup\$
1
You can get a USB extention cable with panel-mount female end. That would allow you to mount the female connector on the outside of your case and plug the male end of the cable into the board. One example of a source:
https://www.adafruit.com/products/936 Likely available from several other vendors.
-
\$\begingroup\$ The Arduino Micro has a Micro-B USB jack on(that one has a Mini-B plug) so adafruit.com/products/3258 would be the correct item. Thanks to @Ignacio Vazquez-Abrams for pointing out the link to me! \$\endgroup\$– per1234Commented Nov 11, 2016 at 4:06