{"id":1657,"date":"2014-09-03T18:49:30","date_gmt":"2014-09-03T18:49:30","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=1657"},"modified":"2015-03-10T14:14:26","modified_gmt":"2015-03-10T14:14:26","slug":"model-b-plus-io-pins","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/pi-hardware\/raspberry-pi-model-b-plus\/model-b-plus-io-pins","title":{"rendered":"Model B+ IO Pins"},"content":{"rendered":"<p>\n&nbsp;\n<\/p>\n<p>\n<a href=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2014\/09\/rpi_model_b_plus_io_pinouts.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"rpi_model_b_plus_io_pinouts\" class=\"alignnone size-full wp-image-1906\" height=\"722\" src=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2014\/09\/rpi_model_b_plus_io_pinouts.jpg\" width=\"600\" srcset=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2014\/09\/rpi_model_b_plus_io_pinouts.jpg 600w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2014\/09\/rpi_model_b_plus_io_pinouts-249x300.jpg 249w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2014\/09\/rpi_model_b_plus_io_pinouts-50x60.jpg 50w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2014\/09\/rpi_model_b_plus_io_pinouts-125x150.jpg 125w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a>\n<\/p>\n<p>\n<em>Note that we are not currently sure if the new pin 27-40&nbsp;PWM1, GPCLK1 and GPCLK2 peripheral pin functions will be made accessible under Raspbian and if so which pins they will be assigned to, hence the duplicated pins shown&nbsp;with these functions.<\/em>\n<\/p>\n<h4>\nLost From The Model B Rev 2 Board<br \/>\n<\/h4>\n<p>\nThe P5 connector is not present on the new Model B+ board and its pins have not been moved to the new J8 connector,. &nbsp;This&nbsp;means the loss of the 2nd I2C port (although this peripheral is available via the display and camera FFC connectors &#8211; TBC if this is easy to enable for general use under Raspbian). &nbsp;The pins that are no longer present via a&nbsp;header are:\n<\/p>\n<p style=\"margin-left: 40px;\">\nI2C0 SDA \/ GPIO28<br \/>\nI2C0 SCL&nbsp;\/&nbsp;GPIO29<br \/>\nGPIO30<br \/>\nGPIO31\n<\/p>\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&nbsp;(true for Model B so presumably true for Model B+ but not confirmed as full schematic not yet available).\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 (sink or source) with the total current from all pins not exceeding 51mA &nbsp;(true for Model B so presumably true for Model B+ but&nbsp;not confirmed as full schematic not yet available). 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. Pj-3 and P8-5) are therefore high due to the pull up resistors&nbsp;on these pins.\n<\/p>\n<h5>\nPull-Up &amp; Pull-Down resistors<br \/>\n<\/h5>\n<p>\nThe GPIO ports include the ability to enable and disable internal pull-up or pull-down resistors from code.\n<\/p>\n<p>\nPull-up is 50K min &#8211; 65K max.\n<\/p>\n<p>\nPull-down is 50K min &#8211; 60K max.\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 (true for Model B so presumably true for Model B+ but not confirmed as full schematic not yet available).\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 &nbsp;(true for Model B so presumably true for Model B+ &#8211; not confirmed as full schematic not yet available).&nbsp;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<h4>\nID_SD &amp; ID_SC Pins<br \/>\n<\/h4>\n<p>\nThese are for an auto configuration eeprom which you can include on your RPi add on board and which Raspbian will read to detect the board connected. &nbsp;For more info see <a href=\"http:\/\/www.raspberrypi.org\/introducing-raspberry-pi-hats\/\">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; Note that we are not currently sure if the new pin 27-40&nbsp;PWM1, GPCLK1 and GPCLK2 peripheral pin functions will be made accessible under Raspbian and if so which pins they will be assigned to, hence the duplicated pins shown&nbsp;with these functions. Lost From The Model B Rev 2 Board The P5 connector is not [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[89],"tags":[],"class_list":["post-1657","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi-model-b-plus"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1657","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=1657"}],"version-history":[{"count":18,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1657\/revisions"}],"predecessor-version":[{"id":1911,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1657\/revisions\/1911"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=1657"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=1657"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=1657"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}