Pimoroni Skywriter HAT Pinout

Skywriter HAT uses a Microchip MGC3130 to track X, Y and Z and report gestures such as flicks and taps at distances up to 5 cm from the sensing face. The photograph looks into the female socket on the component side. Pin 1 is at the bottom of the inner row. The even-numbered row is along the board edge. Gray number-only labels mark positions with no documented HAT function.

Main pinout

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 signal details

Pin index

Pin index

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

40 visible
PinMCU pinTypesNotes
Pi referencePhysical pin 1 mates with Pi 3V3 on the Raspberry Pi.
Pi referencePhysical pin 2 mates with Pi 5V on the Raspberry Pi.
I2CPhysical pin 3. Bidirectional serial data for the onboard MGC3130.
Pi referencePhysical pin 4 mates with Pi 5V on the Raspberry Pi.
I2CPhysical pin 5. I²C clock from the Raspberry Pi to the MGC3130. The sensor supports clock stretching.
GNDPhysical pin 6, part of the HAT ground return.
Pi referencePhysical pin 7 mates with BCM4 on the Raspberry Pi.
Pi referencePhysical pin 8 mates with BCM14 on the Raspberry Pi.
GNDPhysical pin 9, part of the HAT ground return.
Pi referencePhysical pin 10 mates with BCM15 on the Raspberry Pi.
ResetPhysical pin 11. Active-low sensor reset driven by the Raspberry Pi (BCM17).
Pi referencePhysical pin 12 mates with BCM18 on the Raspberry Pi.
Transfer statusPhysical pin 13. Active-low, bidirectional transfer handshake on BCM27.
GNDPhysical pin 14, part of the HAT ground return.
Pi referencePhysical pin 15 mates with BCM22 on the Raspberry Pi.
Pi referencePhysical pin 16 mates with BCM23 on the Raspberry Pi.
PowerPhysical pin 17. Documented 3.3 V supply input from the Raspberry Pi.
Pi referencePhysical pin 18 mates with BCM24 on the Raspberry Pi.
Pi referencePhysical pin 19 mates with BCM10 on the Raspberry Pi.
GNDPhysical pin 20, part of the HAT ground return.
Pi referencePhysical pin 21 mates with BCM9 on the Raspberry Pi.
Pi referencePhysical pin 22 mates with BCM25 on the Raspberry Pi.
Pi referencePhysical pin 23 mates with BCM11 on the Raspberry Pi.
Pi referencePhysical pin 24 mates with BCM8 on the Raspberry Pi.
GNDPhysical pin 25, part of the HAT ground return.
Pi referencePhysical pin 26 mates with BCM7 on the Raspberry Pi.
HAT IDPhysical pin 27. Data on the dedicated Raspberry Pi HAT identification bus.
HAT IDPhysical pin 28. Clock on the dedicated Raspberry Pi HAT identification bus.
Pi referencePhysical pin 29 mates with BCM5 on the Raspberry Pi.
GNDPhysical pin 30, part of the HAT ground return.
Pi referencePhysical pin 31 mates with BCM6 on the Raspberry Pi.
Pi referencePhysical pin 32 mates with BCM12 on the Raspberry Pi.
Pi referencePhysical pin 33 mates with BCM13 on the Raspberry Pi.
GNDPhysical pin 34, part of the HAT ground return.
Pi referencePhysical pin 35 mates with BCM19 on the Raspberry Pi.
Pi referencePhysical pin 36 mates with BCM16 on the Raspberry Pi.
Pi referencePhysical pin 37 mates with BCM26 on the Raspberry Pi.
Pi referencePhysical pin 38 mates with BCM20 on the Raspberry Pi.
GNDPhysical pin 39, part of the HAT ground return.
Pi referencePhysical pin 40 mates with BCM21 on the Raspberry Pi.

Specifications

Model
Pimoroni Skywriter HAT (PIM058). Exact PCB revision unconfirmed.
Sensor
Microchip MGC3130 in a 28-pin QFN package, with electrodes built into the four-layer PCB.
Host connector
Female Raspberry Pi 2 × 20 socket, 2.54 mm pitch.
Power and signal levels
3.3 V from physical pin 17, common ground and 3.3 V logic.
Gesture data
Raspberry Pi I²C1, sensor address 0x42 (7-bit).
Control
Pin 11 (BCM17) resets the MGC3130. Pin 13 (BCM27) is the bidirectional transfer-status line.
Board identification
HAT ID EEPROM on the dedicated host contacts 27 and 28.

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
PIM058Board specificationsPimoroniMGC3130, four-layer board, sensing range and host compatibility.Datasheet
PIM058Board pin mapPinout.xyzLinked by Pimoroni. The source overlay identifies physical pin 17 for power and lists the eight ground positions.Datasheet
MGC3130Sensor data sheetMicrochipTable 1 and sections 6.6.1 and 6.6.2 cover the QFN terminals, I²C and transfer status.Datasheet
PIM058Official Python driverPimoroniHost I²C1, 0x42, active-low reset and the transfer handshake.Datasheet
Raspberry Pi HATHost numberingRaspberry PiPhysical connector numbers, BCM names and HAT ID contacts.Datasheet