Raspberry Pi Sense HAT V1 Pinout

Raspberry Pi Sense HAT V1 pinout. The production RPI-SENSE V1.0 is the original Astro Pi add-on with an 8×8 RGB LED matrix, a five-way joystick, and sensors for motion, pressure, humidity and temperature.

Jump to pin index ↓

Main pinout

The production RPI-SENSE V1.0 is the original Astro Pi add-on with an 8×8 RGB LED matrix, a five-way joystick, and sensors for motion, pressure, humidity and temperature. J1 is shown from the component side. N/C marks physical contacts with no routed connection on the HAT. The advanced view identifies the host GPIO and board signal.

100%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 advanced functions

Pin index

Pin index

Quickly scan every header pin, port name, supported function and usage note.

40 visible
PinMCU pinTypesNotes
3V3Power3.3 V input from the host. Powers the logic and sensors and is available at PP5.
5VPower5 V input from the host, shared by J1.2, J1.4, PP10 and PP14. Feeds U1 and the LED matrix through FB1.
SDA1I2CBidirectional I²C1 data for the ATtiny88 and all three sensors. Also present at PP9.
5VPower5 V input from the host, shared by J1.2, J1.4, PP10 and PP14. Feeds U1 and the LED matrix through FB1.
SCL1I2CI²C1 clock for the ATtiny88 and all three sensors. Also present at PP8.
GNDGroundConnected to the common HAT ground plane.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
GNDGroundConnected to the common HAT ground plane.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
GNDGroundConnected to the common HAT ground plane.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
IRQ23IRQATtiny88 PB6 interrupt line. The official rpi-sense device tree configures GPIO23 as the joystick interrupt. Also present at PP7.
3V3Power3.3 V input from the host. Powers the logic and sensors and is available at PP5.
IRQ24IRQATtiny88 PB7 interrupt route, also present at PP6. GPIO24 is wired on the board and is unassigned by the standard rpi-sense overlay.
MOSISPISPI0 MOSI from the host to ATtiny88 PB3 through R1 (33 Ω). PP4 taps the AVR side for ISP.
GNDGroundConnected to the common HAT ground plane.
MISOSPISPI0 MISO from ATtiny88 PB4 to the host through R2 (33 Ω). PP3 taps the AVR side for ISP.
AVR RESETResetGPIO25 drives the ATtiny88 PC6 reset input through R3 (33 Ω). Active low. PP12 taps the AVR side.
SCKSPISPI0 clock from the host to ATtiny88 PB5 through R4 (33 Ω). PP2 taps the AVR side for ISP.
CE0SPISPI0 active-low chip select from the host to ATtiny88 PB2 through R5 (33 Ω). PP11 taps the AVR side.
GNDGroundConnected to the common HAT ground plane.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
ID_SDI2CData on the dedicated HAT identification bus to U6 and PP17. Reserved for the ID EEPROM.
ID_SCI2CClock on the dedicated HAT identification bus to U6 and PP18. Reserved for the ID EEPROM.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
GNDGroundConnected to the common HAT ground plane.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
GNDGroundConnected to the common HAT ground plane.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.
GNDGroundConnected to the common HAT ground plane.
N/CNCPhysical socket contact with no electrical connection on the V1.0 HAT schematic.

Specifications

Revision
RPI-SENSE production revision 1.0 · © Raspberry Pi 2015
Host interface
J1 · 2×20 contacts at 2.54 mm · Raspberry Pi 40-pin header
Supply and logic
5 V and 3.3 V from the host · 3.3 V GPIO
PCB size
65 × 56.5 mm
Display and input
8×8 RGB matrix · five-way joystick
Display electronics
ATtiny88 controller · LED2472G driver · SN74AHCT245 column buffer
Motion
LSM9DS1 · three-axis accelerometer, gyroscope and magnetometer
Environment
LPS25H pressure and temperature · HTS221 relative humidity and temperature
Host buses
I²C1 for sensors and AVR · separate HAT ID I²C · SPI0 and GPIO25 for the AVR

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Sense HAT V1Board schematicRaspberry PiRPI-SENSE rev. 1.0. Sheet 2 shows J1, all test contacts and control circuits.Datasheet
Sense HATMechanical drawingRaspberry PiDatasheet
HLE-120-02-F-DV-BE-AJ1 socketSamtecDatasheet
ATtiny88U2 board controllerMicrochipDatasheet
HTS221U3 humidity and temperatureSTMicroelectronicsDatasheet
LSM9DS1U4 9-axis motionSTMicroelectronicsDatasheet
LPS25HU5 pressure and temperatureSTMicroelectronicsDatasheet
CAT24C32U6 EEPROM in schematiconsemiDatasheet
M24C32-FU6 EEPROM family in photographSTMicroelectronicsDatasheet
LED2472GU7 RGB LED driverSTMicroelectronicsDatasheet
SN74AHCT245U1 column bufferTexas InstrumentsDatasheet
SKRHABE010J2 joystickAlps AlpineDatasheet

Board notes

Component-side test points
TP1–TP5 and the main components.
Underside test pads
PP1–PP18 with the AVR programming and HAT ID signals.
Original product announcement
Raspberry Pi, August 2015. Hardware and peripherals of the V1.0.
Raspberry Pi host header
Physical numbering, orientations and GPIO functions.
Linux device tree
The manufacturer overlay binds the joystick to GPIO23 and lists I²C1 addresses.
Photograph
RS product photo 894-9310, cropped, rotated and background masked.