website logo
HomeShopDocsBlogForum
⌘K
Flipper Zero Documentation
Basics
🐬First start
Reboot
Control
Settings
SD card setup
Firmware update
Power
Sub-GHz
Reading signals
Reading RAW signals
Adding new remotes
Supported Sub-GHz vendors
Frequencies
125 kHz RFID
Reading
Emulation
Adding manually
Writing to an empty tag
Animal microchips
NFC
Reading NFC cards
Infrared
GPIO & modules
iButton
Bad USB
U2F (Universal 2nd Factor)
Applications
HID controllers
Flipper Mobile App
Reporting Mobile App bugs
qFlipper
Troubleshoot drivers on Windows
Development
Firmware
Hardware
Blueprints
Docs powered by archbee 
21min

GPIO & modules

Document image

You can use your Flipper Zero for hardware exploration, firmware flashing, debugging, and fuzzing. Flipper Zero can be connected to hardware using its built-in GPIO pins, control hardware with buttons, run your code, and show debug messages on the LCD screen. Flipper Zero can also be used as a USB to UART/SPI/I2C converter.

GPIO pinout

Flipper Zero has 18 pins on the top side, consisting of power supply pins and I/O pins. Power supply pins can be used to power your external modules. Input/output (I/O) pins are +3.3 V tolerant for input and output, some pins are +5 V tolerant for input only - keep it in mind. I/O pins connect external modules to the I/O pins of the STM32WB55 microcontroller through 51 Ohm resistors. All pins are electrostatic discharge (ESD) protected. For information on the basic functionality of Flipper Zero pins, see the picture below.

Flipper Zero's pins
Flipper Zero's pins

Detailed information on the pinout and functionality of the pins can be found in the picture below.

Flipper Zero's pinout
Flipper Zero's pinout

Table: Configuration in DFU mode (expandable)

+3.3 V power pin 9

  • The output is enabled by default.
  • The maximum load is 1200 mA.
  • Flipper Zero's microSD card is powered by +3.3 V. During firmware update and a microSD card mounting, power supply to pin 9 is temporarily disabled.

+5 V power pin 1

Pin 1 can be supplied with power by the built-in battery or a USB cable.

When Flipper Zero is powered by the built-in battery:

  • The output is not enabled by default. To enable power supply to pin 1, do the following: 1. In the Main Menu, go to GPIO. 2. Select 5V on GPIO and set it to ON.
  • The maximum load is 1000 mA.

Input/output pins

Total power consumption from I/O pins must not exceed 5 watts, otherwise, the battery might switch to the protection mode and Flipper Zero might shut down. Each pin can source up to 20 mA.

GPIO menu

You can access the GPIO application from the Main Menu. In the application, you can configure USB-UART functionality, test pins separately, and enable/disable the +5V power supply to pin 1.

GPIO application menu
GPIO application menu
  • USB-UART Bridge — Flipper Zero acts as a USB to Serial UART converter.
  • GPIO Manual Control — test output of individual or all GPIO pins by pressing OK:ok:. Available configuring options: PA7 (pin 2), PA6 (pin 3), PA4 (pin 4), PB3 (pin 5), PB2 (pin 6), PC3 (pin 7), PC1 (pin 15), PC0 (pin 16), and ALL.
  • 5V on GPIO — enable/disable +5V power supply to pin 1. See this section for more information.

Inserting an external module

It's important to insert the external module into your Flipper Zero's GPIO pin holes correctly. If your Flipper Zero isn't in a silicone case, insert the module all the way in, so there is no gap between your Flipper Zero and the module. You may need to apply more force to insert it completely.

Make sure the module's GPIO pins aren't visible
Make sure the module's GPIO pins aren't visible

If your Flipper Zero is in a silicone case, insert the module all the way in, so there is no gap in the middle between the silicone case and the module.

Make sure there is no gap in the middle
Make sure there is no gap in the middle



Flipper Zero schematics

GPIO application source code

Updated 26 Jan 2023
Did this page help you?
Yes
No
UP NEXT
iButton
Docs powered by archbee 
TABLE OF CONTENTS
GPIO pinout
Table: Configuration in DFU mode (expandable)
+3.3 V power pin 9
+5 V power pin 1
Input/output pins
GPIO menu
Inserting an external module

Community

Kickstarter Habr.com Discord Forum Blog

For developers

Documentation GitHub Design Guide

Partners

Neuron Hackerspace Design Heroes Slozhno.Media Lab401 Joom Hacker Warehouse

About

Contacts Compliance Company Careers Press kit Privacy Policy

Copyright © 2023 Flipper Devices Inc.