# Nariman Ziaie

> Electronic Engineer & Embedded Systems Developer specializing in PCB Design, Hardware-Anchored IoT Systems, and Embedded Firmware (ESP-IDF, STM32, C/C++, Python, Flutter).

Nariman Ziaie is an electronic engineer and full-stack embedded developer based in Tehran, Iran, with extensive experience spanning hardware design, firmware development, cloud/local IoT infrastructure, and client applications. He is the creator and lead architect of **Ambinet**, an open, private, hardware-anchored smart home ecosystem.

## Core Specializations

* **Hardware & PCB Engineering**: Multi-layer PCB design in KiCad, high-speed routing, signal integrity, power electronics, AC mains isolation, thermal management, BOM optimization, and DFM/DFA compliance.
* **Embedded Firmware**: Bare-metal and RTOS firmware in C and C++ for ESP32 (ESP-IDF, FreeRTOS), STM32 (HAL/LL), and AVR microcontrollers. Hardware crypto integration (ARM PSA Crypto, mbedTLS) and zero-trust device provisioning.
* **IoT & Protocols**: MQTT over TLS (EMQX), WebSockets, RESTful APIs, BLE (Espressif Protocomm Sec2), LoRa/LoRaWAN, Modbus, UART, SPI, and I2C.
* **Software & Applications**: Cross-platform mobile and desktop apps with Flutter/Dart; backend control plane development with Python 3.12, FastAPI, SQLAlchemy, and PostgreSQL.

## Featured Projects

### Ambinet — Smart Home Ecosystem
* **Website**: https://ambinet.org/ | https://ambinet.org/fa/
* **Description**: An open, private, hardware-anchored smart home ecosystem built for local-first reliability, mathematical zero-trust device claiming via Proof-of-Possession (PoP), and calm living environments.
* **Architecture**: Centralized multi-repository workspace consisting of an ESP-IDF firmware stack (ESP32-C3/C6), a FastAPI & PostgreSQL control plane, EMQX MQTT message broker, Flutter mobile/desktop app, and KiCad PCB hardware designs.

### Dimmo — IoT AC Power Modulation
* **GitHub**: https://github.com/nariman-z/dimmo
* **Description**: Closed-loop AC power modulation system featuring True RMS electrical telemetry, zero-cross detection, TLS 1.2 encrypted MQTT IoT networking, Flutter mobile dashboard, and hardware safety mechanisms.

### STM32 Thermal Printer Driver
* **Description**: Custom embedded driver and right-to-left Persian text rendering engine for industrial thermal receipt printers, featuring real-time UTF-8 to IranII character mapping and custom glyph shaping.

### Atrise Firmware — Industrial HMI
* **Description**: Modular industrial firmware interfacing DWIN HMI displays with bilingual (Persian/English) on-screen virtual keyboards, dynamic page routing, and robust serial command parsing.

### FloraLink — Smart Irrigation System
* **Description**: Intelligent irrigation controller utilizing soil moisture telemetry and adaptive watering algorithms for automated botanical hydration.

### StopWise — Smart Parking System
* **Description**: LoRaWAN-enabled occupancy detection system with low-power wireless sensors, real-time driver mobile app, and operator management dashboard.

### AtmoSense — Environmental Quality Monitor
* **Description**: Multi-sensor indoor air quality and hazard detection station tracking temperature, humidity, CO, LPG, and smoke with real-time MQTT telemetry and automated alerts.

## Technical Stack & Tooling

* **Languages**: C, C++, Python, Dart, Bash, SQL, HTML5, CSS3, JavaScript.
* **Microcontrollers & Architectures**: ESP32 family (ESP32, ESP32-C3, ESP32-C6, ESP32-S3), STM32 (ARM Cortex-M0/M3/M4), Microchip AVR (ATmega328P, ATmega32A).
* **Frameworks & SDKs**: ESP-IDF v5/v6, FreeRTOS, STM32Cube / HAL, Flutter, FastAPI, SQLAlchemy, Alembic.
* **EDA & Hardware Tools**: KiCad 8.x / 9.x, Oscilloscopes, Logic Analyzers, Multimeters, Soldering & Rework Stations.
* **Infrastructure & DevOps**: Docker, PostgreSQL 17, EMQX Broker, Cloudflare Pages & Workers, Git, Linux.

## Links & Contact

* **Portfolio (English)**: https://nariman-z.pages.dev/
* **Portfolio (Persian)**: https://nariman-z.pages.dev/fa/
* **Ambinet Website**: https://ambinet.org/
* **GitHub**: https://github.com/nariman-z
* **LinkedIn**: https://www.linkedin.com/in/nariman-z
* **Telegram**: https://t.me/Nariman_Z
* **Email**: nariman.ziaie.nz@gmail.com
