Skip to the content
2 layers35.8 × 23.9 mmFlipper co2, the printed circuit board in 3D

BMP388 and SCD30 module for flipper zero.

Size
35.8 × 23.9 mm
Copper layers
2
Thickness
1.6 mm
Parts
9
Nets
13
Pads
37
Tracks, vias
72, 29
Pours
2
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
2 Sep 2026
Updated
6 Sep 2026

Overview

Flipper co2 is an open-source printed circuit board by AnalogDragon, from the AnalogDragon/Flipper-CO2-Sniffer repository on GitHub, published under the GPL-3.0 licence. It is a 2-layer board of 35.8 × 23.9 mm with 9 parts on 13 nets, routed with 72 tracks and 29 vias.

It is built around the BMP388. Its parts include 3 capacitors, 2 resistors, 2 ICs and 1 connector. It belongs with the sensors and measurement boards of this library.

Main components

1

README

README.md

简体中文

CO2 Sniffer

CO2 Sniffer is a BMP388 + SCD30 environmental monitor for the Flipper Zero. Plug the board into the GPIO header and open the app to view CO2, temperature, humidity, pressure and estimated altitude. Readings can also be saved to the microSD card or sent to a computer over USB. The software project in SW/ was developed by OpenAI Codex.

CO2 Sniffer running on a Flipper Zero

Main features

  • Measures CO2, temperature, humidity and pressure, and estimates altitude from the pressure reading.
  • Offers several live dashboard layouts and history graphs for all five values.
  • Saves readings to CSV at a chosen interval and duration, or sends them to a computer over USB.
  • Continues with the remaining sensor if one becomes unavailable and reconnects it automatically when possible.

To keep startup transients out of the trend, history graphs omit the first 10 seconds after the app starts or the SCD30 reconnects.

Controls

Button functions change with the current screen. All actions below are short presses unless marked as a hold.

Current screenInputFunction
DashboardLEFTOpen Data Recording
DashboardRIGHTOpen the first history graph
History graphLEFT / RIGHTShow the previous / next graph; return to the dashboard at either end
DashboardUP / DOWNChange the dashboard layout
History graphUP / DOWNChange the graph time scale
Dashboard / history graphBACKOpen the clear-history prompt; press OK to clear or BACK to cancel
Data RecordingUP / DOWNSelect the interval, length or Start field
Data RecordingOKChange the selected setting; start when Start is selected, or stop while recording
Changing a recording settingLEFT / RIGHTChoose the required value
Changing a recording setting / Data RecordingBACKFinish the current change; when not changing a setting, return to the dashboard
SCD30 settingsUP / DOWN, OKChoose a setting and change it, or open manual calibration
Manual-calibration inputLEFT / RIGHT, UP / DOWNSelect and adjust a digit; press OK to review the value

The following functions require a button hold:

WhereInputFunction
Data Recording, while not changing a settingHold LEFT for 2 secondsOpen SCD30 settings
While reviewing a manual-calibration valueHold OK for 2 secondsStart calibration after the progress bar completes
When no calibration or exit prompt is shownHold OKTurn the always-on backlight on or off
Any pageHold BACKOpen the exit prompt; press OK to exit or BACK to cancel

CO2 Sniffer page navigation and controls flowchart

Data recording

Data recording is useful for tracking environmental changes over time. Press LEFT from the dashboard to open Data Recording, choose the interval and recording length, then select Start. Recording ends automatically at the chosen time. For a continuous recording, or to stop early, press OK.

SettingChoices
Interval2 s, 5 s, 10 s, 30 s, 1 min
Length1 min, 5 min, 10 min, 30 min, 1 h, 2 h, 8 h, 24 h, continuous

Files are saved in /ext/co2_sniffer/ on the microSD card. Each filename includes the start time, interval and recording length. Every row contains the time, elapsed recording time and available sensor readings; values from a temporarily unavailable sensor are left empty. A blinking REC badge means recording is active. If SD! appears, check that the microSD card is available and writable.

SCD30 settings and calibration

From Data Recording, hold LEFT for 2 seconds to open SCD30 Calibration. It provides two everyday settings:

  • Pressure comp uses the current pressure measured by the BMP388 to improve SCD30 measurement accuracy.
  • Auto calib (ASC) lets the SCD30 adjust its baseline during long-term use.

Pressure compensation is on and ASC is off by default. The app remembers later changes and uses them again at the next startup.

Manual calibration

Manual calibration is recommended only when the reading has a clear offset and a reliable CO2 reference concentration is available. Do not treat outdoor air as an exact 400 ppm reference.

Before calibration, leave the sensor running in a stable reference environment for at least two minutes and keep faces away from it. Select Manual calibration, enter the actual reference concentration (0400–2000 ppm), and press OK to review it. Hold OK for 2 seconds; calibration starts only after the progress bar completes, using the value entered as its reference.

Hardware

The board connects to the Flipper GPIO port through a 2.54 mm 1×10 pin header and carries the following sensors:

DeviceRoleI2C address
Sensirion SCD30CO2, temperature, humidity0x61
Bosch BMP388temperature, pressure0x76

I2C runs on GPIO C0 (SCL) / C1 (SDA), and the board is powered from the Flipper's 3V3/5V pins. KiCad schematic and PCB design sources are in HW/.

CO2 Sniffer module hardware

CO2 Sniffer module enclosure from multiple angles

Fault handling

If one sensor is temporarily disconnected, its readings are shown as unavailable while the other sensor continues to work. The app attempts to restore the connection automatically. If the screen reports that the I2C bus cannot be recovered, exit the app and restart the Flipper as instructed.

Layout

  • HW/ — KiCad schematic and PCB design sources.
  • SW/ — Flipper app sources.
  • 3d/ — Printable enclosure files: a 3MF with Bambu Lab settings and the original STEP model.
  • PROTOCOL.md — full USB CDC serial protocol documentation.
  • README-zh.md — this document in Chinese.

License

GPL-3.0, see LICENSE.

USB data output

To receive live readings on a computer, connect the Flipper over USB and select the second virtual COM port detected by the system. The first port is reserved for the Flipper CLI. Measurements use a binary frame format; see PROTOCOL.md for the complete frame format and parsing details.

Parts

9
QtyValueFootprintReferences
2104/50VCapacitor_SMD:C_0402_1005MetricC2, C13
24.7KResistor_SMD:R_0402_1005MetricR1, R2
1106/6.3VCapacitor_SMD:C_0402_1005MetricC1
12.54mm pinheader L=7.5mmConnector_PinHeader_2.54mm:PinHeader_1x10_P2.54mm_VerticalJ2
1BMP388NewLib:LGA10-2x2-BMP388U5
1LOGOLOGOG***
1SCD30+2.54mm pinheader L=7.5mmNewLib:SCD30U1

Similar boards

  • 8 layers38.5 × 38.5 mmFlight Controller, the printed circuit board in 3D

    Flight Controller

    rishikesh2715/STM32F7_FC

    STM32F722RET6 Based Flight Controller with ICM-42688-P IMU, BMP388 Barometer, and much more!

    133 parts57MIT
  • 4 layers66.4 × 66.4 mmRera, the printed circuit board in 3D

    Rera

    fdiwth/tvc-drone

    This repository contains the documentation, hardware designs, and source code for a Thrust Vector Control (TVC) drone.

    140 parts34GPL-3.0
  • 4 layers73.4 × 72.7 mmAwatch2, the printed circuit board in 3D

    Awatch2

    jwise/aWatch2-hw

    hardware for aWatch2

    177 parts18
  • 2 layers112 × 57 mmCaravansensor, the printed circuit board in 3D

    Caravansensor

    MartinVerges/womolin-waterlevel

    DIY project to build a smart fuel sensor for RVs or in other projects. It is based on air pressure and is able to measure fresh water as well as grey and black water levels with high precision.

    226 parts17
  • 2 layers72.9 × 25.4 mmBeepSensors, the printed circuit board in 3D

    BeepSensors

    57Bravo/BeepSensors

    GPS, IMU, MAG, BARO, and Buzzer for the BeepBerry

    19 parts15
  • 4 layers62.8 × 97.5 mmOceanAI, the printed circuit board in 3D

    OceanAI

    daniel360kim/OceanAI

    A robotic and software orientated ocean development.

    124 parts14MIT
  • 6 layers100 × 62 mmExpansion board v4, the printed circuit board in 3D

    Expansion board v4

    naizhao/Pilot-Kit-Box-ESP32-P4

    Pilot Kit Box (ESP32-P4 Edition)

    235 parts11MIT
  • 4 layers43.2 × 43.2 mmAstra, the printed circuit board in 3D

    Astra

    TheScientist101/astra

    An open source, low cost, extensible brushed drone.

    93 parts10

Questions

How big is the Flipper co2 PCB?

It measures 35.8 × 23.9 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Flipper co2 use?

9 parts, built around the BMP388. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.

Where can I download the Flipper co2 KiCad files?

From the AnalogDragon/Flipper-CO2-Sniffer repository on GitHub, at the commit this page was made from: the board is HW/flipper_co2.kicad_pcb and its schematic HW/flipper_co2.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the Flipper co2 design in my own project?

Its repository publishes it under the GPL-3.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).