Main pinout
Drag to pan · Ctrl/⌘ + wheel to zoomSwipe up/down to scroll the page · Swipe sideways to pan · Use two fingers to pan and zoom
Show electrical details
Raspberry Pi pHAT with a white 17 × 7 LED matrix driven by an IS31FL3731. The photo shows the unsoldered header. Read pins 1 and 2 at the top, then count down the inner odd-numbered and outer even-numbered rows. Number-only labels show physical positions with unverified board connections.
Pin index
Quickly scan every header pin, port name, supported function and usage note.
| Pin | MCU pin | Types | Notes |
|---|---|---|---|
| Header position | Physical pin 1. The mating Raspberry Pi position is 3.3 V. | |
| Power | 5 V supply input from the Raspberry Pi. | |
| I2C | Bidirectional data for the onboard IS31FL3731, on Raspberry Pi GPIO2 (BCM2). | |
| Header position | Physical pin 4. The mating Raspberry Pi position is 5 V. | |
| I2C | Serial clock for the onboard IS31FL3731, on Raspberry Pi GPIO3 (BCM3). | |
| Header position | Physical pin 6. The mating Raspberry Pi position is GND. | |
| Header position | Physical pin 7. The mating Raspberry Pi position is GPIO4. | |
| Header position | Physical pin 8. The mating Raspberry Pi position is GPIO14. | |
| GND | Common ground for the 5 V input and I²C interface. | |
| Header position | Physical pin 10. The mating Raspberry Pi position is GPIO15. | |
| Header position | Physical pin 11. The mating Raspberry Pi position is GPIO17. | |
| Header position | Physical pin 12. The mating Raspberry Pi position is GPIO18. | |
| Header position | Physical pin 13. The mating Raspberry Pi position is GPIO27. | |
| Header position | Physical pin 14. The mating Raspberry Pi position is GND. | |
| Header position | Physical pin 15. The mating Raspberry Pi position is GPIO22. | |
| Header position | Physical pin 16. The mating Raspberry Pi position is GPIO23. | |
| Header position | Physical pin 17. The mating Raspberry Pi position is 3.3 V. | |
| Header position | Physical pin 18. The mating Raspberry Pi position is GPIO24. | |
| Header position | Physical pin 19. The mating Raspberry Pi position is GPIO10. | |
| Header position | Physical pin 20. The mating Raspberry Pi position is GND. | |
| Header position | Physical pin 21. The mating Raspberry Pi position is GPIO9. | |
| Header position | Physical pin 22. The mating Raspberry Pi position is GPIO25. | |
| Header position | Physical pin 23. The mating Raspberry Pi position is GPIO11. | |
| Header position | Physical pin 24. The mating Raspberry Pi position is GPIO8. | |
| Header position | Physical pin 25. The mating Raspberry Pi position is GND. | |
| Header position | Physical pin 26. The mating Raspberry Pi position is GPIO7. | |
| Header position | Physical pin 27. The mating Raspberry Pi position is ID_SD (GPIO0). | |
| Header position | Physical pin 28. The mating Raspberry Pi position is ID_SC (GPIO1). | |
| Header position | Physical pin 29. The mating Raspberry Pi position is GPIO5. | |
| Header position | Physical pin 30. The mating Raspberry Pi position is GND. | |
| Header position | Physical pin 31. The mating Raspberry Pi position is GPIO6. | |
| Header position | Physical pin 32. The mating Raspberry Pi position is GPIO12. | |
| Header position | Physical pin 33. The mating Raspberry Pi position is GPIO13. | |
| Header position | Physical pin 34. The mating Raspberry Pi position is GND. | |
| Header position | Physical pin 35. The mating Raspberry Pi position is GPIO19. | |
| Header position | Physical pin 36. The mating Raspberry Pi position is GPIO16. | |
| Header position | Physical pin 37. The mating Raspberry Pi position is GPIO26. | |
| Header position | Physical pin 38. The mating Raspberry Pi position is GPIO20. | |
| Header position | Physical pin 39. The mating Raspberry Pi position is GND. | |
| Header position | Physical pin 40. The mating Raspberry Pi position is GPIO21. |
References
Manufacturer references and technical documentation.
| Chip | Role | Manufacturer | Notes | Link |
|---|---|---|---|---|
PIM268 | Board brief | Pimoroni | White display and original front and rear photos. | Datasheet |
Scroll pHAT HD | Board pinout | Pimoroni / Pinout.xyz | Physical pins 2, 3, 5 and 9 and the IS31FL3731 bus address. | Datasheet |
IS31FL3731 | LED matrix driver | Lumissil | Terminal definitions, PWM and I²C addressing. | Datasheet |
scrollphathd | Official Python driver | Pimoroni | I²C bus 1 and 7-bit default address 0x74. | Datasheet |