{"id":10,"date":"2012-04-20T09:16:54","date_gmt":"2012-04-20T09:16:54","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=10"},"modified":"2014-09-26T15:05:30","modified_gmt":"2014-09-26T15:05:30","slug":"model-b-io-pins","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/pi-hardware\/raspberry-pi-model-b\/model-b-io-pins","title":{"rendered":"Model B IO Pins"},"content":{"rendered":"<p>\n&nbsp;\n<\/p>\n<h4>\n<a href=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2012\/04\/rpi_io_pinouts1.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"rpi_io_pinouts\" class=\"alignnone size-full wp-image-956\" height=\"1074\" src=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2012\/04\/rpi_io_pinouts1.jpg\" width=\"600\" srcset=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2012\/04\/rpi_io_pinouts1.jpg 600w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2012\/04\/rpi_io_pinouts1-167x300.jpg 167w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2012\/04\/rpi_io_pinouts1-572x1024.jpg 572w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><br \/>\n<\/h4>\n<h4>\n3.3V Output<br \/>\n<\/h4>\n<p>\nExternal circuitry may draw up to a total of&nbsp;50mA max current from the 3.3V Out pins.\n<\/p>\n<p>\n<a href=\"http:\/\/www.element14.com\/community\/thread\/19550\" target=\"_blank\">Is maximum current from 3.3V pin really 50mA?<\/a>\n<\/p>\n<h4>\nIO Pins<br \/>\n<\/h4>\n<p>\nAll IO pins are 3.3V, not 1.8V.&nbsp; Pins are not 5V tolerant.\n<\/p>\n<p>\nFull details are available&nbsp;<a href=\"http:\/\/elinux.org\/RPi_Low-level_peripherals\" target=\"_blank\">here<\/a>\n<\/p>\n<h5>\nMax Current<br \/>\n<\/h5>\n<p>\nMaximum&nbsp;16mA per IO pin with the total current from all pins not exceeding 51mA. See a detailed explanation&nbsp;<a href=\"http:\/\/www.thebox.myzen.co.uk\/Raspberry\/Understanding_Outputs.html\" target=\"_blank\">here<\/a>.\n<\/p>\n<h5>\nPower-up State<br \/>\n<\/h5>\n<p>\nIts likely all pins are set as inputs on power up (TBC).\n<\/p>\n<p>\nI2C pins (e.g. P1-3 and P1-5) are therefore high due to the pull up resistors&nbsp;on these pins.\n<\/p>\n<h4>\nI2C<br \/>\n<\/h4>\n<p>\n1K8 pull up resistors are included on the RPi board so are not needed externally. &nbsp;When enabling the I2C port it&nbsp;seems&nbsp;both ports are enabled &#8211; is it possible to only enable 1 port and use the other I2C port as IO pins? Our assumption in Raspbian is no but we&#39;ve not had reason to try and achieve this.\n<\/p>\n<p>\nInterfacing the RPi 3.3V&nbsp;I2C pins to a 5V device like&nbsp;an&nbsp;Arduino &#8211; see&nbsp;<a href=\"http:\/\/www.electronic-products-design.com\/geek-area\/communications\/i2c\/i2c-bus-interfacing\" target=\"_blank\">here<\/a>.\n<\/p>\n<h4>\nSPI<br \/>\n<\/h4>\n<p>\nThe Chip Select signals are for up to two independent slave devices. &nbsp;It seems that with the SPI port enabled in Raspbian&nbsp;both the CS0 and CS1 pins are assigned to it and therefore can&#39;t be used as IO (our&nbsp;assumption &#8211; correct?)\n<\/p>\n<h4>\nPWM Pin<br \/>\n<\/h4>\n<p>\nThe PWM pin available on the GPIO header is shared with the Audio system. This means that you can&#39;t use the PWM output and play audio through the 3.5mm jack at the same time.\n<\/p>\n<h4>\n3.3V \/ 5V Interfacing<br \/>\n<\/h4>\n<p>\nSee our other page <a href=\"http:\/\/www.electronic-products-design.com\/geek-area\/electronics\/interfacing\/interfacing-busses\" target=\"_blank\">here<\/a>\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; 3.3V Output External circuitry may draw up to a total of&nbsp;50mA max current from the 3.3V Out pins. Is maximum current from 3.3V pin really 50mA? IO Pins All IO pins are 3.3V, not 1.8V.&nbsp; Pins are not 5V tolerant. Full details are available&nbsp;here Max Current Maximum&nbsp;16mA per IO pin with the total current [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[90],"tags":[],"class_list":["post-10","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi-model-b"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/10","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/comments?post=10"}],"version-history":[{"count":41,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/10\/revisions"}],"predecessor-version":[{"id":1560,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/10\/revisions\/1560"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=10"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=10"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=10"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}