CANADUINO® D1 Mini Keypad / JoyPad I2C Module (PCF8574)
The CANADUINO® JoyPad module adds six tactile buttons to your D1 Mini projects, connected through an I2C I/O expander. It’s the ideal user interface for menus, games, or control applications.
The JoyPad provides:
- 4 directional buttons (Up, Down, Left, Right)
- 1 Enter button
- 1 Back button
The module is based on the PCF8574 GPIO expander and connects to the D1 Mini via standard I2C pins (D4 = SDA, D5 = SCL). The default I²C address is 0x24. A solder jumper on the back allows switching to 0x20, enabling two JoyPads on the same I²C bus or avoiding address conflicts.
Each button is connected through the expander with built‑in pull‑ups, so a pressed button reads as LOW while unpressed is HIGH.
Key features:
- 6 tactile buttons (4 cursor keys, Enter, Back)
- Controlled via I2C (PCF8574)
- Default address 0x24, changeable to 0x20 via jumper
- Simple integration with ESP8266 / ESP32 D1 Mini
Code Example:
Button Test Demo – shows the name of the pressed button on the 0.66″ D1 Mini OLED screen in real time. (Download)
Snake Game – a fun demonstration of the JoyPad’s capabilities, running directly on your D1 Mini with the D1 Mini 0.66″ OLED screen. (Download)




