Raspberry Pi Build HAT Pinout

Raspberry Pi Build HAT pinout. The Build HAT SC0622 connects up to four LEGO ® Technic ™ motors and sensors to a Raspberry Pi.

Jump to pin index ↓

Main pinout

The Build HAT SC0622 connects up to four LEGO ® Technic ™ motors and sensors to a Raspberry Pi. The diagram looks directly at the component side, which is below in the assembly. The numbers indicate the physical contacts of the header of the Raspberry Pi. The side photos show the internal contacts of the four LPF2 ports and the power input.

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 Alternative Functions

Pin index

Pin index

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

40 visible
PinMCU pinTypesNotes
PowerContact 1 header. 3.3 V lane of the host's header.
PowerContact 2 header. 5 V common lane to the host when the HAT Build is fed by the jack.
GPIOContact 3 header. BCM GPIO2 host, 3.3 V logical level.
PowerContact 4 header. 5 V common lane to the host when the HAT Build is fed by the jack.
GPIOContact 5 header. BCM GPIO3 host, 3.3 V logical level.
GNDContact 6 header. ground and common return of host and HAT.
InternalContact 7 header. The host uses this line to restart the HAT RP2040.
InternalContact 8 header. Series output of the Raspberry Pi towards the RX input of the RP2040.
GNDContact 9 header. ground and common return of host and HAT.
InternalContact 10 header. Raspberry Pi series entry from the TX output of the RP2040.
InternalContact 11 header. The HAT guide reserves this GPIO for flow control and marks it as no use.
GPIOContact 12 header. BCM GPIO18 host, 3.3 V logical level.
GPIOContact 13 header. BCM GPIO27 host, 3.3 V logical level.
GNDContact 14 header. ground and common return of host and HAT.
GPIOContact 15 header. BCM GPIO22 host, 3.3 V logical level.
GPIOContact 16 header. BCM GPIO23 host, 3.3 V logical level.
PowerContact 17 header. 3.3 V lane of the host's header.
GPIOContact 18 header. BCM GPIO24 host, 3.3 V logical level.
GPIOContact 19 header. BCM GPIO10 host, 3.3 V logical level.
GNDContact 20 header. ground and common return of host and HAT.
GPIOContact 21 header. BCM GPIO9 host, 3.3 V logical level.
GPIOContact 22 header. BCM GPIO25 host, 3.3 V logical level.
GPIOContact 23 header. BCM GPIO11 host, 3.3 V logical level.
GPIOContact 24 header. BCM GPIO8 host, 3.3 V logical level.
GNDContact 25 header. ground and common return of host and HAT.
GPIOContact 26 header. BCM GPIO7 host, 3.3 V logical level.
InternalContact 27 header. Data I²C for the EEFROM of the HAT identification.
InternalContact 28 header. Clock I²C for the HAT identification EEPROM.
GPIOContact 29 header. BCM GPIO5 host, 3.3 V logical level.
GNDContact 30 header. ground and common return of host and HAT.
GPIOContact 31 header. BCM GPIO6 host, 3.3 V logical level.
GPIOContact 32 header. BCM GPIO12 host, 3.3 V logical level.
GPIOContact 33 header. BCM GPIO13 host, 3.3 V logical level.
GNDContact 34 header. ground and common return of host and HAT.
GPIOContact 35 header. BCM GPIO19 host, 3.3 V logical level.
InternalContact 36 header. The HAT guide reserves this GPIO for flow control and marks it as no use.
GPIOContact 37 header. BCM GPIO26 host, 3.3 V logical level.
GPIOContact 38 header. BCM GPIO20 host, 3.3 V logical level.
GNDContact 39 header. ground and common return of host and HAT.
GPIOContact 40 header. BCM GPIO21 host, 3.3 V logical level.

Specifications

Model
SC0622
Sample identification
Marcaje PCB 7.5 · RP2040 with RP2-B2 21/31 code. The commercial revision of PCB is not included in the public record.
PCB dimensions
65 × 56,5 mm
Microcontroller
Raspberry Pi RP2040
Head of host
2 × 20, 2.54 mm pass and 3.3 V logic
Link to HAT
UART to 115200 baudios, GPIO4 reboot and I²C identification
Peripheral
4 × LEGO LPF2 from 6 contacts (A-D)
External food
7.2–8.5 V DC according to the screen and the specification. Official source of 8 V / 6 A.
Jack DC 5521
5,5 × 2,1 mm, centro positivo

References

Datasheets

Manufacturer references and technical documentation.

ChipRoleManufacturerNotesLink
Raspberry Pi Build HATData sheetRaspberry PiFood, compatibility and mechanical plane.Datasheet
Raspberry Pi Build HATUse and connections to the hostRaspberry PiGPIO reserved and serial port configuration.Datasheet
SC0622Commercial identificationRaspberry PiManufacturer's portal product code.Datasheet
RP2040MicrocontrollerRaspberry PiDatasheet of the HAT controller.Datasheet
40 pines headPinout and host orientationRaspberry PiPhysical numbering and levels.Datasheet
BCM2711Alternative functionsRaspberry PiTable of functions of the host Raspberry Pi 4.Datasheet
RP2040FirmwareRaspberry PiUART allocation and LPF2 control.Datasheet
LPF2Protocolo de Build HATRaspberry PiEngine control, logical power supply and detection.Datasheet
LPF2Allocation of contactsPybricksPower Up port signs and UART polarity.Datasheet
LPF2Direction of the receptaclePhilippe HurbainNumbering seen from the connector opening.Datasheet
Raspberry Pi Build HATPicturesAdafruitAnverse, reverse and views of the connectors of the product 5287.Datasheet

Board notes

GPIO reservados
GPIO0, GPIO1, GPIO4, GPIO14, GPIO15, GPIO16 y GPIO17. The guide reserves GPIO16 and GPIO17 although it indicates that the flow control is not used.
Access to host contacts
Raspberry Pi documents an optional high header with 15 mm separators.
Advanced view functions
The HAT functions and a selection of alternative signals of the BCM2711 host are shown. Other models of Raspberry Pi can offer different multiplexations.
Host feeding
The DC input also feeds the compatible Raspberry Pi through 5 V. Keyboard models require their own source.
Pads and prints without documentation
The two sides show test pans and a 2 × 2 print without connector next to the header. The public documentation of the SC0622 does not give its power networks.