Using Python to Program Raspberry Pi 5 for IoT Devices, Sensors, & Robotics Raspberry Pi 5 SPI and I2C portals can run IoT devices as well as robotics motors and sensors.
There’s also a Python library (basically a set of commands you can use to control the robot) available to go alongside the HAT, which will let you write software to control the robot parts you’ve got ...