All work
Smart metering · Zephyr
DEM energy meter series
Firmware for the DEM series of DIN-rail energy meters, single-phase DEM1 and DEM2 and three-phase DEM4. It is built on the shared Zephyr platform, with LoRaWAN reporting, Bluetooth LE configuration and remote updates.
- Client
- YOBIIQ B.V.
- Role
- Embedded Software & IoT Consultant
- Period
- 2023 - Present
What I built
- One firmware for the single-phase and three-phase models, with a target layer per variant
- Meter settings (transformer ratios, digital inputs and outputs, demand period) kept in sync with the meter over Modbus RTU
- Relay control on the relay models: voltage, current and temperature protections, and weekly schedules
- Remote updates over LoRaWAN FUOTA (multicast) or Bluetooth LE DFU
- JavaScript payload codec for the network server
The devices
DIN-rail energy meters. DEM1 measures single-phase supplies up to 45 A and DEM2 up to 80 A. DEM4 measures three-phase circuits up to 100 A, direct or with current transformers. Depending on the model, they have digital inputs, outputs or a built-in relay, in Modbus RTU and LoRaWAN versions.
Technologies
- Zephyr RTOS
- LoRaWAN
- FUOTA
- Bluetooth LE
- Modbus RTU
- MCUboot
Next case study
iQ DSMR meter reader