DuePi
Raspberry Pi HAT Adapter
- Overview
- Driver
- Tethered Samples
- Standalone Samples
DuePi is the perfect adapter for all RPI (Raspberry Pi) models, including RPI Zero. The outer mounting holes are standard mounting holes for RPI. The bottom half of the board is a 5mm-pitched holes for mounting DUELink modules. This bottom side is breakable to make the board smaller to make it the right size for RPI Zero.
DuePi with Raspberry Pi Zero

The board includes several onboard peripherals, including buttons, buzzer, and a graphical display. The display is controlled using the DUELink native Graphics support. Simple commands are used to control the display instead of using Linux.
The onboard 800mA regulator is used to feed power to the Downlink connector, keeping any loads away from the RPI's 3.3V source.
The USB connector is conveniently there to help with loading/updating the DUELink processor's firmware/drivers. It should not be used when DuePi is used with a Raspberry Pi.
With the USB connector and the onboard power regulator, this adapter can be used as a Microcomputer with full function
Key features • Attaches to Raspberry Pi or Pi Zero Header | Resources PID: 0x0A0004 |
Driver Scripts go hand-in-hand with DUELink official firmware. See the Driver Scripts page for further details.
| Function | Description |
|---|---|
GetW() | Get display width: 128. |
GetH() | Get display height: 64. |
IsColor() | Returns 0. |
BtnA() | Returns 1 if button A is pressed. |
BtnB() | Returns 1 if button B is pressed. |
Buzzer(f,d) | Plays buzzer to f frequency(50 to 15K) for d duration in milliseconds. |
DVer() | This driver version. |
The Code!
loading...
These Tethered samples assume the driver is installed, see the Driver Tab.
- Python
- JavaScript
- .NET
loading...
loading...
loading...
These samples show how to run DUELink Standalone.
- Script
- Arduino
This example runs using the default DUELink Internal Engine using its Scripting Language, and it expects the driver to be loaded first, see the Driver Tab.
loading...
See Arduino page for more info.
loading...
Ordering Info
| Product | Part Number | Price |
|---|---|---|
| DUELink DuePi | GDL-ADDUEPI-B | $14.95 |