The Build HAT uses the Pi's serial port. By default, the Pi uses this for a login console which must be disabled:
- Run
sudo raspi-config - Interface Options > Serial Port
- "Would you like a login shell to be accessible over serial?" — No
- "Would you like the serial port hardware to be enabled?" — Yes
- Reboot
Building from source on Raspbian requires:
sudo apt install libdbus-1-dev libudev-dev pkg-configThe Pi 5 uses a different UART controller and requires additional configuration for the Build HAT.
Add the following to /boot/firmware/config.txt:
enable_uart=1
dtoverlay=buildhat
Then reboot. On Pi 3 and Pi 4 these are not needed — the default UART configuration works with the Build HAT.