{"id":1899,"date":"2015-03-10T12:57:40","date_gmt":"2015-03-10T12:57:40","guid":{"rendered":"https:\/\/raspberry-projects.com\/pi\/?p=1899"},"modified":"2015-03-10T14:25:40","modified_gmt":"2015-03-10T14:25:40","slug":"rpi2-model-b-io-pins","status":"publish","type":"post","link":"https:\/\/raspberry-projects.com\/pi\/pi-hardware\/raspberry-pi-2-model-b\/rpi2-model-b-io-pins","title":{"rendered":"RPi2 Model B IO Pins"},"content":{"rendered":"<p>\n<a href=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/03\/rpi2_model_b_plus_io_pinouts.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"rpi2_model_b_plus_io_pinouts\" class=\"alignnone size-full wp-image-1912\" height=\"722\" src=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/03\/rpi2_model_b_plus_io_pinouts.jpg\" width=\"600\" srcset=\"https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/03\/rpi2_model_b_plus_io_pinouts.jpg 600w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/03\/rpi2_model_b_plus_io_pinouts-249x300.jpg 249w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/03\/rpi2_model_b_plus_io_pinouts-50x60.jpg 50w, https:\/\/raspberry-projects.com\/pi\/wp-content\/uploads\/2015\/03\/rpi2_model_b_plus_io_pinouts-125x150.jpg 125w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a>\n<\/p>\n<p>\n<em>Note that the schematic for the Raspberry Pi 2 Model B has not been released so we are unable to confirm if there are any changes to the specific signals used on the display and camera connectors.<\/em>\n<\/p>\n<h4>\n<span class=\"rangySelectionBoundary\" id=\"selectionBoundary_1425992044922_4213534772861749\" style=\"line-height: 0; display: none;\">\ufeff<\/span>Changes Compared to Raspberry Pi 1<br \/>\n<\/h4>\n<p>\nThe Raspberry Pi 2 uses a new&nbsp;processor model so some pin additional functions may have changed.\n<\/p>\n<p>\nThe same GPIO pins&nbsp;are used for the Raspberry Pi 2 (e.g. GPIO2, GPIO3, etc).\n<\/p>\n<p>\nThe GND, +5V, +3V3,&nbsp;UART, I2C and SPI bus pins are in the same places.\n<\/p>\n<p>\nThe PWM specific pin is no longer marked as PWM and now 7&nbsp;pins are marked as &#39;GPIO GEN0&#39;&nbsp;to&nbsp;&#39;GPIO GEN6&#39;.\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>\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<h4>\nI2C<br \/>\n<\/h4>\n<p>\nPull up resistors are included on the RPi board so are not needed externally (true for RPi1 Model B so presumably true for RPi 2 Model B,&nbsp;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>\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>Note that the schematic for the Raspberry Pi 2 Model B has not been released so we are unable to confirm if there are any changes to the specific signals used on the display and camera connectors. \ufeffChanges Compared to Raspberry Pi 1 The Raspberry Pi 2 uses a new&nbsp;processor model so some pin additional [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[92],"tags":[],"class_list":["post-1899","post","type-post","status-publish","format-standard","hentry","category-raspberry-pi-2-model-b"],"_links":{"self":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1899","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=1899"}],"version-history":[{"count":12,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1899\/revisions"}],"predecessor-version":[{"id":1917,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/posts\/1899\/revisions\/1917"}],"wp:attachment":[{"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/media?parent=1899"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/categories?post=1899"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/raspberry-projects.com\/pi\/wp-json\/wp\/v2\/tags?post=1899"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}