Skip to content
Firmware & BLE Interaction for a Heated Vest
Consumer Electronics

Firmware & BLE Interaction for a Heated Vest

Engaged by
A US wearable brand
Industry
Consumer Electronics
Year
2026
Key Results
Dual-zone
Independent PID
4 channels
NTC Monitoring
BLE + OTA
Mobile Integration

Background

We developed the device-side software for a heated vest for a US wearable brand. The hardware is designed and supplied by the customer; we delivered all device-side software — firmware development, BLE interface definition and integration, the OTA update chain, and production-test and integration support. The device is powered by a USB-C power bank, contains two heaters and two fans, shows status on an on-board OLED, and connects over BLE to phone and watch apps for settings and status.

Challenges

  • Dual-zone control under strict safety limits: the two heaters must each hold their setpoint in closed loop, while the outer surface, heating elements and PCB all have defined temperature ceilings;
  • Sensor failures must not lead to loss of control: four temperature sensors are distributed across the heating zones and shoulders, and any single failure must be handled through graceful degradation;
  • A hard interlock between fans and heaters: a fan fault must stop heating immediately, and both stall and loss of feedback must be detected;
  • An interface that must stay stable: phone and watch apps both connect, so the interface semantics cannot keep changing;
  • Updates must never brick the device: OTA involves interruptions, power loss and rollback, making it the highest-risk part of delivery.

Solution

Dual-zone independent temperature control

Built on the ESP32-S3 platform, a 20 Hz control loop aggregates system state and runs independent PID control on each heater, with a soft-start ramp and output limiting to avoid inrush and overshoot, plus left/right zone balancing.

Thermal safety system

Four temperature channels are calibrated, filtered and fault-diagnosed before being used in decisions: if the sensor associated with a heater fails, that heater stops; if both fail, all heating stops. Over-temperature protection is redundant, combining firmware policy with a hardware thermal fuse.

Fan/heater interlock

The fans support PWM speed control and tachometer feedback with stall and loss-of-signal detection. If a fan is judged faulty, heater output is cut immediately to prevent heat build-up.

Multi-page OLED interface

Display is driven by a state machine: boot page, operating page (setpoint, current temperature, battery, lock icon), temperature-adjust state, settings page, cool-down page and shutdown page — each with fixed wording and layout.

BLE interface for mobile apps

A custom BLE service with unified TLV characteristics: the read characteristic returns device information, the notify characteristic pushes periodic system snapshots, and the write characteristic accepts control commands. Notifications are throttled while faults are reported immediately, balancing connection stability with responsiveness.

Fail-safe OTA updates

A dual-partition OTA design decouples BLE reception from flash writing so reception is never blocked. Heaters are forced off and the system enters a safe state during updates, and a failed update can be rolled back, so an interrupted upgrade cannot brick the device.

Power modes

Two power-saving levels cap the maximum heating power and warn the user when the estimated remaining runtime is low.

Application Value

  • Dual-zone control plus multiple safety constraints meet the requirements of a wearable worn against the body;
  • Graceful degradation for temperature and fan faults keeps the device running safely under abnormal conditions;
  • A once-defined, long-lived BLE interface reduces app-side integration and iteration cost;
  • OTA with rollback and stable restart keeps post-launch feature iteration low-risk;
  • Delivering the complete software stack on the customer's existing hardware platform makes it reusable for follow-up models on the same platform.