{"id":16655652,"url":"https://github.com/mtrudel/rpi-breakout","last_synced_at":"2026-05-19T22:37:03.548Z","repository":{"id":66311772,"uuid":"174464851","full_name":"mtrudel/rpi-breakout","owner":"mtrudel","description":"A simple Raspberry Pi pHAT to break out common interfaces \u0026 GPIO","archived":false,"fork":false,"pushed_at":"2026-02-07T20:20:42.000Z","size":223,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-02-08T04:53:14.628Z","etag":null,"topics":["1-wire","gpio","i2c","oshpark","phat","raspberry-pi","uart"],"latest_commit_sha":null,"homepage":"https://oshpark.com/shared_projects/pOZPamMf","language":null,"has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mtrudel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-03-08T03:46:57.000Z","updated_at":"2026-02-07T20:20:45.000Z","dependencies_parsed_at":"2023-03-13T08:15:28.375Z","dependency_job_id":null,"html_url":"https://github.com/mtrudel/rpi-breakout","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mtrudel/rpi-breakout","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtrudel%2Frpi-breakout","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtrudel%2Frpi-breakout/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtrudel%2Frpi-breakout/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtrudel%2Frpi-breakout/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtrudel","download_url":"https://codeload.github.com/mtrudel/rpi-breakout/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtrudel%2Frpi-breakout/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33235802,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-19T15:49:41.270Z","status":"ssl_error","status_checked_at":"2026-05-19T15:49:22.917Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["1-wire","gpio","i2c","oshpark","phat","raspberry-pi","uart"],"created_at":"2024-10-12T09:53:41.365Z","updated_at":"2026-05-19T22:37:03.516Z","avatar_url":"https://github.com/mtrudel.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Raspberry Pi Breakout Board\n\n\u003cimg src=\"https://644db4de3505c40a0444-327723bce298e3ff5813fb42baeefbaa.ssl.cf1.rackcdn.com/abf2c8821eae01d58bc2440b78aae8c9.png\" width=\"200\"/\u003e\n\nA simple Raspberry Pi pHAT to break out common interfaces \u0026 GPIO. \n\nAvailable at [OSH Park](https://oshpark.com/shared_projects/pOZPamMf).\n\nThe board provides the following interfaces:\n\n## 40 Pin Duplicate\n\nThe [40 pin header](https://pinout.xyz) is duplicated pin-for-pin; use this for one-off access to pins as needed.\n\n## I2C\n\nBreaks out the RPi's primary [I2C](https://pinout.xyz/pinout/i2c) interface (ie: not the EEPROM interface). Pinout is (from left to right looking at the top of the board): \n\n* Pin 1: 3.3V\n* Pin 2: I2C Data (RPi BCM2)\n* Pin 3: I2C Clock (RPi BCM3)\n* Pin 4: Ground\n\n## UART\n\nBreaks out the RPi's [UART](https://pinout.xyz/pinout/uart). Pinout is (from left to right looking at the top of the board): \n\n* Pin 1: 3.3V\n* Pin 2: Tx (RPi BCM14)\n* Pin 3: Rx (RPi BCM15)\n* Pin 4: Ground\n\n## 1-Wire\n\nBreaks out the RPi's [1-Wire](https://pinout.xyz/pinout/1_wire) interface. Pinout is (from left to right looking at the top of the board): \n\n* Pin 1: 3.3V\n* Pin 2: Data (RPi BCM4)\n* Pin 3: Ground\n\nThe 1-Wire spec mandates a 4.7k pullup resistor on the data line; this can be done by populating the resistor marked `4.7k` on the left of the breakout board (there is provision to install either a through hole resistor or an 0805 SMD; both connections are wired in parallel)\n\n## GPIO\n\nEight GPIOs are broken out, corresponding to BCM12-BCM13 and BCM22-BCM27. The pinout for each column is as follows (from top to bottom looking at the top of the board):\n\n* Pin 1: In-line resistor terminal (common with pin 4)\n* Pin 2: Ground\n* Pin 3: GPIO pin (corresponds to BCMXX)\n* Pin 4: In-line resistor terminal (common with pin 1)\n\nThis layout is a bit odd but allows each pin to be used either as an input (making use of the Pi's internal pullup resistors), or as an LED driver (by populating an optional resistor on each GPIO, detailed below).\n\n### Using a GPIO as an input\n\n1. Wire your sensor between pins 2 and 3 of the relevant GPIO column, and set the GPIO to use a pullup resistor in software. \n2. The GPIO will be high when the sensor is open, and go low when the sensor closes.\n\nIn pictures:\n\n```\n   O\n   \n   O ----- \n          |\\  \u003c-- switch\n   O -----\n   \n   O\n```\n\n### Driving an LED\n\nThis comes with the usual caveats about driving LEDs directly off GPIO pins; so long as you're driving small LEDs in a non-continuous manner you should be fine, but caveat emptor etc.\n\n1. Wire an appropriate (~ 300\u0026ohm;) resistor between pins 1 and 2 of the relevant GPIO column (there is provision to install either a through hole resistor or an 0805 SMD; both connections are wired in parallel)\n2. Wire your LED with the anode (longer leg) in pin 3 and the cathode (shorter leg) in pin 4. \n3. You can now turn the LED on by driving the relevant GPIO output high.\n\nIn pictures:\n\n```\n   O -----\n         || \u003c-- 330 ohm resistor\n   O ----- \n          \n   O    ---------|\\\n                 | | \u003c-- LED\n   O       ------|/\n```\n\n# License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtrudel%2Frpi-breakout","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtrudel%2Frpi-breakout","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtrudel%2Frpi-breakout/lists"}