Mehdi Sadeghi

Firmware Engineer & Head of R&D

Mehdi Sadeghi

Head of R&D at Behamad. I design the firmware, hardware and back-end services behind smart meters, IoT devices and home automation products.

Toronto

Mehdi Sadeghi standing on a winding desert road

About

I am an embedded systems engineer with a master's degree in Computer Architecture. I work on IoT hardware, IoT platforms and back-end services, and I am drawn to where embedded systems meet AI: machine learning, deep learning, computer vision and reinforcement learning.

Smart metering

Reading and processing meter data with standard protocols.

IoT devices

Connected devices over LoRaWAN, Wi-Fi and SIP.

Home automation

Control for curtains, lighting and temperature.

Experience

  1. Jul 2023 – Present

    Head of Research and Development

    Behamad

    Lead firmware development and R&D for smart metering, IoT and home automation products.

    • OpenWRT
  2. Nov 2019 – Present

    Hardware Engineer

    Behbood Ertebat Chehelsotoun, Isfahan Science and Technology Town

    • OpenWRT
  3. Apr 2019 – Nov 2019

    Hardware Engineer (part-time)

    Pishro Fanavar, Isfahan Science and Technology Town

Skills

Microcontrollers
STM32, ESP32, Holtek
Protocols
RS-485, I2C, HDLC, DLMS/COSEM, LoRaWAN, SIP
Software
C/C++, FreeRTOS, Arduino-ESP32, PlatformIO, Python, GuruxDLMS, OpenWRT
Interests
Machine Learning, Deep Learning, Computer Vision, Reinforcement Learning

Projects

DLMS/COSEM meter reader

Reads meter data over RS-485 and HDLC on STM32, with a Python version for a shared bus.

  • STM32L471
  • GuruxDLMS
  • RS-485
  • HDLC
  • Python

Cooling thermostat

A dual-MCU system linking a Holtek and an ESP32 over I2C.

  • Holtek
  • ESP32
  • I2C

Smart curtain controller

Curtain control on ESP32 with FreeRTOS tasks and half-duplex RS-485.

  • ESP32
  • FreeRTOS
  • RS-485

SIP paging client

A SIP client on ESP32 with PCM5102 DAC audio output, packaged as an Arduino library.

  • ESP32
  • SIP
  • PCM5102
  • Arduino

AC dimmer

An ESP32 AC dimmer migrated to Arduino-ESP32 core v3.

  • ESP32
  • PlatformIO
  • Arduino core v3

LoRaWAN AT commands

AT command handling and serial number storage on STM32.

  • STM32
  • LoRaWAN
  • AT

Education

  1. Oct 2021 – Aug 2024

    M.Sc., Computer Architecture

    Iran University of Science and Technology

  2. 2015 – 2019

    B.Sc., Electrical and Electronics Engineering

    University of Isfahan

Contact

For firmware projects or collaboration, message me on LinkedIn.

Message on LinkedIn