ESP32 Firmware Development for Connected Product Teams
For product teams building WiFi or Bluetooth Low Energy (BLE) devices on Espressif ESP32 chips, EmbedCrest develops ESP IDF firmware with secure boot, flash encryption, OTA updates and cloud connectivity, so the device ships with a secure, maintainable stack instead of a prototype. We cover the original ESP32, ESP32 S3 and the RISC V based ESP32 C series.
Who this is for
- Product Founder or Hardware Startup
- CTO or VP Engineering at an OEM
- Engineering Manager or Embedded Lead
- IoT product owner in consumer, building or logistics markets
Outcomes we work towards
- Prototype firmware turned into a production grade code base
- Devices protected by secure boot and encrypted flash
- Reliable OTA updates with rollback on failure
- Predictable WiFi and BLE behaviour across real networks
From a working ESP32 demo to a product you can ship
ESP32 makes a connected prototype easy, often on Arduino or a sample project. Shipping is harder. Prototypes rarely enable secure boot or flash encryption, store WiFi credentials and keys in plain flash, have no tested OTA rollback and reconnect poorly when networks change. Choosing the wrong ESP32 variant also hurts: some lack Bluetooth Classic, some lack native USB, some add Thread. Discovering these gaps after a production run means recalls, unrecoverable devices or a costly redesign.
What We Design, Build and Hand Over
- ESP32 variant selection across ESP32, S3, C3, C6 and H series, plus module versus chip choice
- ESP IDF project structure, component design and FreeRTOS task model
- WiFi provisioning, BLE services and reconnect logic tested on real networks
- Secure boot v2, flash encryption and NVS encryption set up for production
- OTA update with dual partitions, signature checks and rollback
- MQTT or HTTPS cloud connectivity with TLS and per device certificates
- Low power design using light sleep, deep sleep and the ULP or LP core where available
- Factory provisioning, eFuse programming plan and production test firmware
ESP32 vs ESP32 S3 vs ESP32 C6
| Feature | ESP32 | ESP32 S3 | ESP32 C6 |
|---|---|---|---|
| CPU | Dual core Xtensa LX6 | Dual core Xtensa LX7 with vector instructions | Single core RISC V plus low power RISC V core |
| WiFi | WiFi 4, 2.4 GHz | WiFi 4, 2.4 GHz | WiFi 6, 2.4 GHz |
| Bluetooth | Classic and BLE 4.2 | BLE 5, no Classic | BLE 5, no Classic |
| Other radio | None | None | IEEE 802.15.4 for Thread and Zigbee |
| Good fit | Mature designs, audio over Classic | HMI, camera, on device ML, native USB | Matter, Thread, WiFi 6 smart home |
Where Teams Use This
Smart home device ready for Matter
ESP32 C6 or ESP32 S3 firmware using the Espressif Matter SDK, with WiFi or Thread transport, secure commissioning and OTA, prepared for the Connectivity Standards Alliance certification process run by your test lab.
Fleet and asset telematics
ESP32 S3 controller paired with an LTE M modem, GNSS and CAN interface, with store and forward buffering so telemetry survives coverage gaps and is uploaded when the link returns.
Building sensors and controllers
Low power WiFi or BLE sensors that sleep between readings and report over MQTT, with provisioning via a phone app and remote configuration from the building platform.
Local HMI with touch display
ESP32 S3 driving an RGB or SPI display with LVGL, combining a responsive user interface with WiFi connectivity and OTA updates for the product line.
How the Work Runs
Variant and module choice
Map radios, peripherals, memory, power and security needs to an ESP32 variant and decide between a certified module and a chip down design.
Security and partition plan
Define partition table, OTA slots, key handling, secure boot, flash encryption and the eFuse programming sequence before writing application code.
Firmware build
Develop ESP IDF components for drivers, connectivity, application logic and diagnostics, with automated builds and unit tests in CI.
Network and field testing
Test provisioning, roaming, reconnects, OTA and power behaviour on real routers, phones and brokers, including poor signal and interrupted updates.
Production handover
Deliver production test firmware, flashing and eFuse scripts, provisioning flow and documentation for your contract manufacturer.
What You Receive
- Variant selection note and partition table
- ESP IDF source code with reproducible build
- Security configuration and key management procedure
- OTA server integration and rollback test evidence
- Production flashing, eFuse and provisioning scripts
- Power measurement and connectivity test reports
- Release notes and maintenance guide
Have a similar challenge?
Share a short brief; an engineer replies within one business day. How engagements work
Prefer a fixed scope start? Firmware Health and Security Audit
Questions About ESP32 Development
Is ESP32 suitable for commercial products or only for prototypes?
ESP32 is widely used in commercial products when the firmware is built for production. That means ESP IDF rather than hobby frameworks for most designs, secure boot and flash encryption enabled, a tested OTA path with rollback, controlled eFuse programming and pre certified modules where it makes sense. The chip is rarely the problem; the prototype firmware usually is.
Which ESP32 should we use: ESP32, ESP32 S3 or ESP32 C6?
Choose ESP32 S3 when you need processing headroom, native USB, a display or camera, or on device machine learning. Choose ESP32 C6 for WiFi 6 and Thread or Zigbee, typically in Matter products. Choose the original ESP32 only when you need Bluetooth Classic, for example audio, or are extending an existing design. Always check current Espressif lifecycle notices.
How do secure boot and flash encryption work on ESP32?
Secure boot verifies the signature of the bootloader and application at every start, so unsigned firmware will not run. Flash encryption encrypts the contents of external flash with a key held in eFuses, so reading the flash chip does not reveal code or data. Both are one way decisions burned into eFuses, which is why the production sequence must be planned and tested first.
Do you use Arduino or ESP IDF?
For production firmware we normally use ESP IDF, Espressif's official framework, because it exposes security features, partition control, power management and FreeRTOS configuration directly. Arduino code can be a useful starting point, and Arduino can run as an ESP IDF component, but we usually migrate prototype logic into a structured ESP IDF project before release.
How long does an ESP32 run on a battery?
It depends almost entirely on how often the device wakes and transmits. In deep sleep an ESP32 module can draw in the microamp range, while an active WiFi connection draws far more. We estimate battery life from a duty cycle model, then measure current on the real board to confirm. BLE or batching data often extends life considerably over frequent WiFi reconnects.
Ready to Scope ESP32 Development?
Share your product or plant context. An engineer reviews it and replies with questions, a proposed approach and next steps.
Discuss Your ESP32 Product