GPIO Basics on Flipper Zero — Wiring and Using Pins
flipper zerogpiohardwareelectronicspins
Flipper Zero has a GPIO header on the back that lets it interface with external electronics — sensors, displays, relays, and microcontrollers. Here's how to get started.
Pin Layout
The Flipper GPIO header has 18 pins:
| Pin | Function |
|---|---|
| 1 | +5V (500mA from USB) |
| 2 | GND |
| 3 | +3.3V (50mA max) |
| 4–15 | GPIO pins (PA0–PA7, PB2–PB3, PC0–PC3) |
| 16 | 1-Wire |
| 17 | TX (UART) |
| 18 | RX (UART) |
Full pinout available at: docs.flipper.net/gpio-and-modules
Important Limits
- GPIO is 3.3V logic — never connect 5V signals directly
- 3.3V pin: 50mA max — low current only
- 5V pin: Only available when USB connected
- Use logic level shifters for 5V devices
Simple LED Control
Wire an LED through a 330Ω resistor from a GPIO pin to GND. In the GPIO app: Apps → GPIO → GPIO Control Toggle the pin on/off to blink the LED.
Reading a Button
Wire a pushbutton between a GPIO pin and GND. Enable internal pull-up in the app. Read pin state in real time.
UART Communication
Flipper GPIO pins 17/18 are UART TX/RX:
- Apps → GPIO → UART Terminal
- Default 115200 baud
- Connect to Arduino, ESP32, or any UART device
- Useful for serial debugging hardware projects
I2C and SPI
Flipper supports I2C and SPI:
- I2C: SCL = PC0, SDA = PC1
- SPI: Available on PA4–PA7
- Community apps exist for specific sensors (BME280, SSD1306, etc.)
Practical Uses
- Read temperature sensors and display on screen
- Control relay modules for automation
- Interface with ESP32 for Wi-Fi projects
- Logic analyzer (Flipper can capture pin state over time)