Alex MitrovicBLE & IoT app developer, Android and iOS

Own project · Hardware + KMP

ESP32-S3 device, PCB to app

My own connected device, built end to end. It's why I understand what firmware teams deal with, and it's where I test ideas before using them on client work.

Type
Own project
Hardware
ESP32-S3, custom PCB, 3D-modeled enclosure
Firmware
C/C++
App
Kotlin Multiplatform, Compose Multiplatform
An ESP32 development board, an open 3D-printed enclosure and a phone on a deskEnclosureESP32-S3App

In short

What did I build?

I designed my own connected device end to end: the electronics and PCB, a 3D-modeled enclosure, ESP32-S3 firmware in C/C++ and a Kotlin Multiplatform companion app with BLE onboarding and Wi-Fi provisioning over BLE.

ESP32-S3PCB designC/C++Kotlin MultiplatformCompose MultiplatformWi-Fi provisioning

Problem

One or two sentences on what the device does.

The goal was to own every layer once: to know first-hand what a firmware engineer means by "the app is doing it wrong", and to have a bench device for testing ideas before using them on client work.

Approach

  • Electronics design and PCB layout, plus a 3D-modeled enclosure.
  • ESP32-S3 firmware in C/C++, including the BLE GATT services the app talks to.
  • A Kotlin Multiplatform and Compose Multiplatform companion app.
  • BLE onboarding and Wi-Fi provisioning over BLE.

Under the hood

What it took

Setup is BLE, everyday use is Wi-Fi: the app finds the device over BLE, sends the Wi-Fi credentials, and confirms the device got onto the network before it says “done”. That confirmation step is the one most provisioning flows skip, and the one users notice. More in Wi-Fi provisioning over BLE.

Owning the firmware too meant designing the GATT services for the app's convenience, not only the chip's: a version characteristic, a stable device ID in the advertising data, and error codes the app can show as words.

Result

Two or three honest lessons, e.g. something about connection parameters, provisioning UX or KMP. This is also great article material. If you publish the code, link the GitHub repository here.

Similar problem on your device?

Tell me what's breaking. No pitch deck needed.

Book a free call

Free · NDA on request · reply within 1–2 working days