Your idea is safe; NDA signed before discussion
Case Study
ESP32-C3Custom PCBPM2.5 SensingMQTT / WiFi16–18 Days

Custom Air Quality Monitor: An ESP32-C3 Case Study

How we took an indoor air quality device from concept to working, manufacturable hardware in under three weeks.

Build your IoT product →
Upwork Top RatedGoogle Reviews 4.9
Custom ESP32-C3 air quality monitor showing live PM2.5 and AQI readings with MQTT and WiFi connected

Project Overview

An indoor air quality monitoring company came to us with a straightforward ask: design and build their own branded AQI device — hardware, firmware, and cloud connectivity — that they could manufacture and sell under their own name. Not a rebranded module. Not a proof of concept destined for a shelf. A real product.

ClientIndoor air quality monitoring company
MicrocontrollerESP32-C3 (RISC-V, integrated WiFi)
SensorPlantower PMS-series laser particulate (PM1/2.5/10)
ConnectivityWiFi + MQTT to client's cloud dashboard
Timeline16–18 days from start to working units
OutcomeInitial batch fabricated; bulk production planned

The Challenge

The client wanted their own air quality monitor — not a rebranded off-the-shelf unit with someone else's firmware and a sticker change. They needed hardware ownership: their brand on the device, their data on their servers, and full control over the product roadmap going forward.

Off-the-shelf devices didn't fit the brief. Commercially available AQI monitors either carry another manufacturer's branding or lock data into a vendor's ecosystem. At any meaningful production volume, the per-unit cost also reflects that manufacturer's margin — not an economics you want when you're selling the product yourself.

The requirements were clear:

  • Accurate PM1, PM2.5, and PM10 particulate measurement
  • Live on-device OLED display showing current readings and AQI
  • WiFi connectivity with MQTT publishing to their cloud
  • USB-C power — clean, modern, no proprietary connectors
  • A manufacturable PCB design, not a dev-board mashup
  • Working units fast — weeks, not a six-month development cycle

The challenge for our team was familiar: make every design decision earn its place. Component selection had to balance cost, availability, and capability. The PCB had to be clean enough to hand to a fabricator without revision. And everything had to work reliably in real environments — including outdoor deployments in high temperatures.

The Solution: Hardware Design

Choosing the ESP32-C3

This device only needed WiFi — no BLE mesh, no Thread, no long-range radio. The ESP32-C3 is built for exactly this use case: a single-core RISC-V processor with integrated WiFi and BLE, in a compact, low-cost package. Our ESP32 developers have shipped multiple products on this family, so there was no learning-curve overhead. The silicon cost is well-suited to volume production, and the toolchain — ESP-IDF — is mature.

For a connected air quality monitor publishing readings every 30–60 seconds, the ESP32-C3 has more than enough headroom. The RISC-V core handles sensor parsing, AQI calculation, OLED rendering, and WiFi/MQTT concurrently without any resource pressure.

Plantower PMS-Series Particulate Sensor

For PM sensing, we selected the Plantower PMS-series laser particulate sensor. It uses laser scattering to measure PM1, PM2.5, and PM10 simultaneously, communicates over UART, and has an established track record in commercial air quality equipment. The data output is structured, well-documented, and easy to integrate. It also runs from 5 V, which our power management circuit handles cleanly.

Custom DigitalMonk PCB alongside Plantower particulate matter sensor for the air quality monitor
Custom PCB next to the Plantower PMS-series laser particulate sensor
Close-up of the custom ESP32-C3 air quality monitor PCB showing power management and connectors
PCB close-up: ESP32-C3, USB-C power input, buck converter, and sensor connector

Custom PCB Design

We designed the custom PCB to integrate everything the device needed on a single board — no jumper wires, no dev-board stacking. The design includes:

  • 1
    Power management

    Dual USB-C input with a buck converter stepping down to regulated 3.3 V for the ESP32-C3 and OLED, and 5 V pass-through for the Plantower sensor.

  • 2
    Sensor interface

    Dedicated UART lines and power management for the Plantower sensor, including the sleep/wake control pin so firmware can duty-cycle the sensor to extend its operational life.

  • 3
    OLED driver circuit

    I2C-connected OLED display interface, with pull-up resistors and layout considerations to keep the I2C bus clean at the operating frequency.

  • 4
    Programming and debug headers

    UART programming header for firmware flashing in production, with appropriate protection so it can be populated or depopulated depending on manufacturing stage.

Design for manufacturing from day one: We laid out the PCB with assembly in mind — component placement for pick-and-place, adequate courtyard clearances, and test points accessible for production testing. A board that only works on a bench is a prototype. This board was always going to a fab.

The Solution: Firmware & Cloud

Firmware for this device covers four distinct jobs: read the sensor, calculate AQI, drive the display, and push data to the cloud. Our embedded systems development team handled all of it in ESP-IDF, keeping the code straightforward and deterministic.

Sensor Reading and AQI Calculation

The Plantower PMS sensor streams a structured data frame over UART at 9600 baud. Firmware parses the frame, validates the checksum, and extracts PM1, PM2.5, and PM10 concentration values. From the PM2.5 reading, we calculate the standard AQI index using the EPA breakpoint table — giving the device a clean, interpretable number that operators understand immediately, not just a raw µg/m³ reading.

Air quality monitor displaying a POOR air quality alert with PM2.5 reading and WiFi status
OLED displaying a POOR air quality alert — live PM2.5 reading with WiFi and MQTT status indicators

OLED Display

The 128×64 OLED shows the current PM2.5 concentration, calculated AQI value, and a qualitative label (Good / Moderate / Unhealthy / etc.) derived from the AQI breakpoints. Status indicators in the corner confirm live WiFi and MQTT connection state — so anyone looking at the device can immediately tell whether it's connected and reporting. The display updates on each new sensor reading.

WiFi and MQTT Publishing

On startup, the device connects to the configured WiFi network and establishes an MQTT session with the client's cloud broker. Readings publish on a structured topic at a configurable interval. The firmware handles reconnection automatically — if the broker drops or WiFi is lost, the device re-establishes the connection without operator intervention. The client's cloud dashboard receives a clean JSON payload with timestamp, PM values, and AQI on every cycle.

For our approach to connecting devices like this to cloud infrastructure, see our idea-to-MVP process — this project is a concrete example of how that process compresses into days rather than months when the hardware and firmware capability is already in-house.

16–18Days from start to working units
3Particulate metrics: PM1, PM2.5, PM10
6Units in initial fabricated batch
100%Custom — PCB, firmware, cloud, all ours

Manufacturing & Validation

A prototype that only works in a lab is not what this client needed. Once the design was verified on bench, we moved to a fabricated PCB batch — real boards, not assembled dev-kit stacks. The initial run produced six units, with bulk production planned as the product launches commercially.

Batch of fabricated custom ESP32-C3 air quality monitor PCBs at DigitalMonk lab
Initial fabricated batch of six custom ESP32-C3 air quality monitor PCBs

Fabricated board quality matters in a way that hand-assembled prototypes hide. Solder joints, trace integrity, component placement tolerances — these only reveal themselves on a properly manufactured board. Running the initial batch through our lab let us confirm the design holds up before the client commits to a larger production run.

Validation Results

  • Stable in high outdoor temperatures

    Units were tested in elevated ambient temperatures representative of outdoor deployments. Power management and sensor performance remained stable throughout.

  • Accurate PM readings

    PM2.5 readings cross-checked against reference instruments. AQI calculations match expected breakpoint outputs across the measurement range.

  • Reliable WiFi and MQTT connectivity

    Devices maintain MQTT sessions and reconnect automatically after network interruptions. No manual reset required in any test scenario.

  • Display accurate and readable

    OLED updates correctly on each sensor cycle. Status indicators reflect actual connection state in real time.

Why the batch matters: Delivering six fabricated, tested units — not six prototypes — is the proof point that this design is ready for production. The client can hand these units to their first customers today. The bulk production run is an exercise in scale, not a redesign.

The Result

Working, validated units delivered in 16–18 days. A manufacturable PCB design the client owns outright. Firmware and cloud integration running reliably in real conditions. An initial batch of six units already fabricated, with bulk production ready to execute.

The client gets what they came for: their own branded air quality monitor. Their device, their data, their product roadmap. When they want to iterate — add a temperature sensor, adjust the AQI algorithm, change the display layout — they can, because they own the design.

The 16–18 day timeline wasn't luck. It was the result of having hardware and firmware capability in-house, under one roof, with no handoffs between a PCB designer, a separate firmware contractor, and a cloud integrator. Everything ran in parallel. That's the only way to move this fast without cutting corners.

Fast turnaround

16–18 days start to working units — possible only with full in-house capability

🏭

Manufacturing-ready

Initial batch fabricated; design ready for bulk production runs

🔒

Full ownership

Client owns PCB design, firmware, and data pipeline — no vendor lock-in

Why DigitalMonk

What made this project run fast was the absence of handoffs. PCB design, firmware engineering, cloud integration, and manufacturing coordination all happen inside our team. When a hardware decision has firmware implications, we catch it before it costs a board revision. When the firmware needs a specific pin assignment, the schematic gets updated in the same conversation.

We've shipped IoT products — not just designed them. That experience shapes how we make decisions: we know which trade-offs bite you at volume, which sensor interfaces cause headaches in production, and how to design a PCB that a contract manufacturer can assemble without a field engineer on-site.

If you're building an IoT product and need a team that covers the full stack — from schematic to MQTT — take a look at what we do as an IoT development company. We work on fixed-scope product builds and longer-term embedded team engagements across India, the US, and the UK.

🔧

Custom PCB Design

Schematic, layout, BOM, and manufacturing files — designed for production, not just proof of concept

💻

Embedded Firmware

ESP-IDF, FreeRTOS, Zephyr — firmware that ships and keeps running in the field

☁️

Cloud & Connectivity

MQTT, WiFi, BLE provisioning — devices that talk to your infrastructure, not ours

🏭

Manufacturing Coordination

From first batch to volume run — we manage fabrication so the client doesn't have to

🌐

DigitalMonk — IoT Development Company

Full-stack IoT development: hardware, firmware, cloud, manufacturing. We take products from idea to working units.

Frequently Asked Questions

Why ESP32-C3 for an air quality monitor?
This device only needed WiFi — no Bluetooth mesh or long-range radio — so the ESP32-C3 was the right call. It's a single-core RISC-V chip with integrated WiFi and BLE in a compact, low-cost package. The toolchain (ESP-IDF) is mature, the silicon is well-priced at volume, and our team has shipped multiple products on this family. You don't need an ESP32-S3 or a more complex MCU when the application is sensor reading, AQI calculation, display driving, and periodic MQTT publishing. Right-sizing the chip matters for both cost and power.
How accurate are Plantower particulate sensors?
Plantower PMS-series sensors use laser particle counting and are widely used in commercial air quality equipment, research instruments, and regulatory-grade monitoring nodes. They measure PM1, PM2.5, and PM10 simultaneously, with documented performance across the standard AQI range. For an indoor air quality monitor in commercial and office environments — the target for this client — they deliver the accuracy and repeatability needed. Research-grade gravimetric instruments exist for laboratory settings; for commercial IoT deployment, Plantower sensors are the industry-standard choice.
Can a custom air quality monitor be manufactured at scale?
Yes — and this project was designed for exactly that from the start. The custom PCB was laid out for pick-and-place assembly, with component choices that reflect availability and pricing at volume. The initial six-unit batch validated the design; moving to a larger production run requires no redesign work. The client can instruct a contract manufacturer to run boards directly from our production files. Designing for manufacturability from day one — rather than retrofitting it after a prototype — is what makes scale-up straightforward.
How long does it take to develop a custom IoT device like this?
This project went from initial brief to working, fabricated units in 16–18 days. That timeline reflects in-house hardware and firmware capability with no external handoffs — PCB design, firmware, and cloud integration running in parallel under the same roof. More complex devices with additional sensors, enclosure design, or certifications take longer, but the principle is the same: the fewer the handoffs, the faster the build. Teams that split PCB design to one vendor, firmware to another, and cloud integration to a third routinely spend 6–9 months on a product that could be done in 4–6 weeks with the right team.
What's the difference between a custom device and rebranding an off-the-shelf one?
A rebranded device gives you a sticker and someone else's hardware. You inherit their firmware limitations, their cloud lock-in, their BOM costs, and their product roadmap. A custom device — like this AQI monitor — means you own the schematic, the firmware, and the data pipeline. You can change the display layout, add a sensor, switch cloud providers, or reduce unit cost as volumes increase. At low volumes the cost difference is minimal. At any meaningful scale, the economics and the product flexibility both favour custom hardware.
Can the device connect to my own cloud platform?
Yes. The MQTT integration in this device publishes to whatever broker the client configures. There is no dependency on DigitalMonk infrastructure — the device talks to the client's own MQTT broker, which feeds their own dashboard. The topic structure, payload format, and publish interval are all configurable in firmware. If you use AWS IoT Core, Azure IoT Hub, a self-hosted Mosquitto instance, or any other MQTT-compatible broker, the device works with it.

Want Your Own Custom IoT Device?

Air quality, environmental monitoring, or otherwise — we design the hardware, write the firmware, connect the cloud, and get it manufacturing-ready. Let's talk about what you're building.

Start your project →
Get a Free Project Estimate