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.