The Raspberry PI GPIO breakout board is the most convenient way to directly connect to an RPi, either by plugging the RPi GPIO header directly into the board or by using an extension cable. An extension cable is necessary to connect a Raspberry Pi 400.