What Custom Firmware Development Involves, and What Drives the Cost
By Arun Sai Prakash S P · 15 October 2026 · 3 min read
Contents12 sections
Firmware is the software that runs inside a device: the code that reads the sensors, drives the motors, talks to the app and decides what happens when something goes wrong. If you are planning a product, it helps to know what a firmware project really includes before you ask for quotes.
What firmware does
Firmware runs on a microcontroller (such as an ESP32 or an STM32) without a full operating system. It typically:
- Reads sensors and inputs, and controls outputs such as relays, motors and displays.
- Talks to other chips over buses such as I2C, SPI and UART.
- Connects to Wi-Fi, Bluetooth, 4G or LoRa, and to a cloud backend or app.
- Saves settings, logs data and handles power cuts.
- Updates itself safely in the field.
What a firmware project includes
1. Requirements
What exactly should the device do, in which situations, and how fast? Clear requirements are the biggest single factor in delivering on time and on budget.
2. Board bring-up
Getting a new custom board running for the first time: clocks, power, programming and every peripheral confirmed working. Hardware mistakes usually show up here, which is why firmware and hardware teams should work together.
3. Drivers and core features
Code for each sensor and peripheral, then the actual application logic.
4. Connectivity
Connecting to the network, reconnecting reliably after drop-outs and exchanging data securely with the server. On real deployments, reconnecting after a network failure takes more work than connecting the first time.
5. Over-the-air (OTA) updates
The ability to update firmware remotely. For a connected product this is essential: it is how you fix bugs and add features after devices are installed. A good OTA system checks that the new firmware is genuine and rolls back automatically if an update fails.
6. Reliability and safety
- A watchdog that restarts the device if the code ever hangs.
- Safe states: after a crash or power cut, outputs come back in a known, safe position (a pump off, a door locked).
- Handling of bad sensor readings and unexpected inputs.
7. Security
No default passwords, encrypted connections, protected credentials and signed updates. Security is much cheaper to design in from the start than to add later.
8. Testing
Testing on the real hardware, in the real conditions: heat, weak signal, power cuts and long running times. A production test routine checks each unit before it ships.
What drives the time and cost
| Factor | Why it matters |
|---|---|
| Clarity of requirements | Changing requirements mid-project is the largest source of delay |
| Number of peripherals | Each sensor, display or motor needs its own driver and testing |
| Connectivity | Wi-Fi, 4G and cloud integration add significant work and testing |
| OTA and security | Essential for connected products, and real engineering effort |
| Power requirements | Battery devices need careful sleep and power management |
| Hardware readiness | Firmware on a board still changing takes longer |
| Certification and reliability targets | Higher reliability needs more testing |
How to get an accurate quote
Bring a short description of what the device does, the hardware (or the chip you plan to use), how it connects, how it is powered and how many units you plan to build. Even a rough list lets an engineer estimate properly.
Our custom firmware development covers everything from bootloader to application layer, on ESP32, STM32 and other platforms. We also design the PCB, so hardware and firmware are built to work together from the start.
Continue Reading
From Working Prototype to Real Product: What It Actually Takes
A prototype that works on your desk is the start, not the end. The stages, revisions and hidden costs between a working prototype and a real product.
Arun Sai Prakash S P · 15 Oct
Automating Irrigation on an Indian Farm: A Practical Guide
Soil moisture sensors, pump protection, 4G versus Wi-Fi and stopping a pump from cycling: what matters when you automate irrigation on a real farm.
Arun Sai Prakash S P · 15 Oct
ESP32, Arduino or Raspberry Pi: Which One Does Your Project Need?
A microcontroller and a computer are not the same thing. A clear guide to choosing between ESP32, Arduino and Raspberry Pi for your project or product.
Arun Sai Prakash S P · 15 Oct
Before You Order Your First PCB: A Checklist of Common Mistakes
Wrong footprints, far-away decoupling capacitors, thin power traces and parts you cannot buy. The checks that save a costly second board revision.
Arun Sai Prakash S P · 15 Oct