The DFRobot IO Expansion HAT is a compact and powerful solution for your Raspberry Pi Zero/Zero W. It offers Digital, Analog, I2C, PWM, UART, and SPI ports to meet all your requirements. This small yet efficient board leads out various I/O ports on the Raspberry Pi. The digital ports are directly available via GPIO16 - GPIO25(BCM), and the PWM and Analog ports are connected through the on - board STM32 MCU, which communicates with the Pi via IIC. With our related libraries, you can easily use the Raspberry Pi to control PWM output or read ADC input. It supports 5V power supply and 3.3V sensor modules. The PWM port can be powered by either an external 6 - 12V source or the 5V from the Raspberry Pi. Features include an on - board STM32 MCU providing 12 - bit 8 - channel ADC, multiple servos controlling, and support for various Raspberry Pi models. Specifications are: MCU STM32F030, 5V expansion hat power voltage, 6 - 12V PWM external power, 3.3V expansion hat port output voltage, 22 ports (4 PWM, 4 Analog, 10 Digital, 1 SPI, 2 IIC, 1 UART), device address 0x10, and dimensions of 65*30mm/2.56*1.18".





Using this DFRobot IO Expansion HAT is quite easy. First, connect the hat to your Raspberry Pi Zero/Zero W. You can directly use the digital ports without any extra setup as they are led out via GPIO16 - GPIO25(BCM). For the PWM and Analog ports, since they are connected through the on - board STM32 MCU, make sure to use our related libraries. This will let you control PWM output and read ADC input smoothly. When it comes to power supply, you can use a 5V power source for the expansion hat. For the PWM port, you have two options: an external 6 - 12V power supply or the 5V from the Raspberry Pi. Just choose the one that suits your needs. When handling the expansion hat, be gentle to avoid any physical damage. Keep it in a dry and clean place to prevent corrosion. If you encounter any issues, refer to the product wiki for more detailed troubleshooting steps.