{"id":21,"date":"2017-02-04T12:21:35","date_gmt":"2017-02-04T12:21:35","guid":{"rendered":"https:\/\/d-a-v-e.org\/wp\/?p=21"},"modified":"2017-02-04T12:21:35","modified_gmt":"2017-02-04T12:21:35","slug":"micro-usb-connector-pinout","status":"publish","type":"post","link":"https:\/\/d-a-v-e.org\/wp\/?p=21","title":{"rendered":"Micro USB connector pinout"},"content":{"rendered":"<p>Here is the connector in question:<\/p>\n<div class=\"picture\"><img data-recalc-dims=\"1\" decoding=\"async\" title=\"\" src=\"https:\/\/i0.wp.com\/never-stop-building-blog-production.s3.amazonaws.com\/pictures\/wiring-micro-usb-pinout\/usb-microb-plug-connector-4.jpg?w=840&#038;ssl=1\" alt=\"micro usb connector pin out\" \/><\/div>\n<p>Here are the associated pins coming out of the actual plug:<\/p>\n<div class=\"picture\"><img data-recalc-dims=\"1\" decoding=\"async\" title=\"\" src=\"https:\/\/i0.wp.com\/never-stop-building-blog-production.s3.amazonaws.com\/pictures\/wiring-micro-usb-pinout\/usb-micro-b-plug.jpg?w=840&#038;ssl=1\" alt=\"micro usb plug pin out\" \/><\/div>\n<p>Now, here is the information <a href=\"https:\/\/en.wikipedia.org\/wiki\/USB\">from Wikipedia<\/a> that ties all of these things together (in one place!)<\/p>\n<table>\n<thead>\n<tr>\n<th>Pin<\/th>\n<th>Name<\/th>\n<th>Wire color<\/th>\n<th>Description<\/th>\n<\/tr>\n<\/thead>\n<tbody>\n<tr>\n<td>1<\/td>\n<td>VBUS<\/td>\n<td>Red<\/td>\n<td>+5 V<\/td>\n<\/tr>\n<tr>\n<td>2<\/td>\n<td>D\u2212<\/td>\n<td>White<\/td>\n<td>Data\u2212<\/td>\n<\/tr>\n<tr>\n<td>3<\/td>\n<td>D+<\/td>\n<td>Green<\/td>\n<td>Data+<\/td>\n<\/tr>\n<tr>\n<td>4<\/td>\n<td>ID<\/td>\n<td>N\/A<\/td>\n<td>Permits detection of which end of a cable is plugged in, &#8220;A&#8221; connector (host): connected to the signal ground, &#8220;B&#8221; connector (device): not connected<\/td>\n<\/tr>\n<tr>\n<td>5<\/td>\n<td>GND<\/td>\n<td>Black<\/td>\n<td>Signal ground<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>If you were wanting to wire together a simple micro USB power cable (say for a Raspberry Pi or something), all you would need to do is:<\/p>\n<ul>\n<li>Run 5V to Pin 1<\/li>\n<li>Run Ground to Pin 5<\/li>\n<\/ul>\n<p>It can&#8217;t get more clear than this:<\/p>\n<div class=\"picture\"><img data-recalc-dims=\"1\" decoding=\"async\" title=\"\" src=\"https:\/\/i0.wp.com\/never-stop-building-blog-production.s3.amazonaws.com\/pictures\/wiring-micro-usb-pinout\/micro-usb-power-connector-wiring.png?w=840&#038;ssl=1\" alt=\"micro usb power plug wiring\" \/><\/div>\n","protected":false},"excerpt":{"rendered":"<p>Here is the connector in question: Here are the associated pins coming out of the actual plug: Now, here is the information from Wikipedia that ties all of these things together (in one place!) Pin Name Wire color Description 1 VBUS Red +5 V 2 D\u2212 White Data\u2212 3 D+ Green Data+ 4 ID N\/A &hellip; <a href=\"https:\/\/d-a-v-e.org\/wp\/?p=21\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Micro USB connector pinout&#8221;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[3],"tags":[7,5,6],"class_list":["post-21","post","type-post","status-publish","format-standard","hentry","category-electronic-components","tag-micro-usb","tag-power-supplies","tag-usb"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/d-a-v-e.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/21","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/d-a-v-e.org\/wp\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/d-a-v-e.org\/wp\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/d-a-v-e.org\/wp\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/d-a-v-e.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=21"}],"version-history":[{"count":1,"href":"https:\/\/d-a-v-e.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions"}],"predecessor-version":[{"id":22,"href":"https:\/\/d-a-v-e.org\/wp\/index.php?rest_route=\/wp\/v2\/posts\/21\/revisions\/22"}],"wp:attachment":[{"href":"https:\/\/d-a-v-e.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=21"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/d-a-v-e.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=21"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/d-a-v-e.org\/wp\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=21"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}