In the ever-increasing uses cases for the Raspberry Pi, one major way to add an extra functionality to the Raspberry Pi is making use of Pmod Modules. Pmod devices or modules are trademarks of Digilent Inc. They are set of small input and output interface boards that can be used to extend the capabilities of a development board.
The teams from DesignSpark and RS Components has released a $15 expansion board called the Pmod HAT, that allows the functionality of Pmod modules be added to the Raspberry Pi in an easy plug and play manner. The DesignSpark Pmod (Peripheral Modules) HAT allows one to interface the Raspberry Pi with any one of the multitudes of diverse Digilent Pmods that are available from RS Components like the PmodAD1 (a two channel 12-bit ADC module), PmodISNS20 (a high accuracy Hall Effect current sensor), PmodOLEDrgb (an organic RGB LED module with 96×64 pixel display), and many others.
The Pmod HAT Adapter is a 65 x 56.5mm HAT compliant board that offers three 2 x 6 pin Pmod connections with support for I2C, SPI, UART and GPIO interfaces. The board can get its power either through the Raspberry Pi Power IO lines or via a 5V barrel power jack. The Pi HAT Adapter is compatible with the following Raspberry Pi: Raspberry Pi Model A+, Raspberry Pi Model B+, Raspberry Pi 2 B, Raspberry Pi 3 B, Raspberry Pi Zero W, and Raspberry Pi Zero.
The Pmod HAT Adapter is currently able to support up to six Pmod modules, three Pmod modules can be connected through the 3 extend Pmod interface and the rest through the additional I/O available via the Raspberry Pi 40-pin GPIO connector. It includes an EEPROM that stores a device tree fragment which is used to identify the module and configure the OS and drivers.
The board has been released with support for Python-based developers through a ton of demo tutorials and example Python Libraries hosted on DesignSpark.
The following are the specifications of the Pi Pmod Adapter HAT
- 5mm Follows Raspberry Pi HAT Specification
- Provides access to full-line of Digilent Pmod Peripheral modules
- Three Pmod ports: two SPI (JA/JB), one I2C (JB), one UART (JC), all three GPIO capable
- SPU, UART, I2C, GPIO Connections are supported
- 5V barrel jack for external power
- 40-pin Raspberry Pi GPIO header
- One power supply connector, or powered by the Pi via GPIO 5v pins
- 16mA current limit for all PMOD GPIOs