I'm an IoT Expert and Embedded Systems Engineer from Vietnam, specializing in building embedded systems from the ground up. With deep expertise in ESP8266/ESP32 ecosystems, I've written most networking protocols from scratch for resource-constrained embedded devices.
I'm a core contributor to Espressif's official ESP-IDF framework, where I developed the base protocol stack that powers millions of IoT devices worldwide.
π GitHub: github.com/tuanpmt
I've implemented the following protocols from scratch for embedded systems, optimized for memory-constrained environments:
| Protocol | Description | Used In |
|---|---|---|
| MQTT | Lightweight pub/sub messaging protocol | ESP-IDF, esp_mqtt |
| HTTP/HTTPS | Full HTTP client with chunked encoding, auth, redirects | ESP-IDF esp_http_client |
| WebSocket | Real-time bidirectional communication | ESP-IDF, esp_mqtt |
| DLNA/UPnP | Digital Living Network Alliance for media streaming | ESP-ADF |
| AirPlay | Apple's wireless streaming protocol | Custom projects |
| SIP | Session Initiation Protocol for VoIP | Custom projects |
Deep expertise in embedded audio systems:
- I2S driver development with APLL clock support
- Audio codec integration (ES8388, AC101, etc.)
- Real-time audio streaming and processing
- Text-to-Speech integration (AWS Polly, Google TTS)
- SAM (Software Automatic Mouth) implementation
As a core contributor to Espressif's ESP-IDF, I built foundational components:
- Transport Layer - TCP/SSL/WebSocket abstraction
- HTTP Client - esp_http_client component
- MQTT Client - Official esp-mqtt component
- I2S Driver - Audio I/O with DMA support
- HTTP Server - Request/response handling
| Repository | Description | Stars | Language |
|---|---|---|---|
| esp_mqtt | MQTT client library for ESP8266 - One of the first and most popular MQTT implementations for ESP8266 | β 1.2k | C |
| esp32-mqtt | ESP32 MQTT sample project for ESP-IDF | β 183 | C |
| ESP8266MQTTClient | Arduino MQTT library for ESP8266/ESP32 | β 84 | C |
| esp-request | HTTP/HTTPS client for ESP32 (now part of ESP-IDF) | β 63 | C |
| esp_rpi_flasher | ESP32 batch programming tool using Raspberry Pi | β 26 | Python |
| esp32-fota | ESP32 Firmware Update Over The Air | β 23 | C |
| esp-adf-sam | SAM (Software Automatic Mouth) speech synthesis for ESP-ADF | β 12 | C |
| Repository | Description | Updated |
|---|---|---|
| esp_epaper | E-Paper display driver for ESP-IDF | Recently |
| esp_bus | Lightweight event-driven message bus for ESP-IDF with string-based routing, pattern matching, and zero-allocation design | Dec 2024 |
π‘ espressif/esp-mqtt β 694
ESP32 Official MQTT Component - Original Author
π View my commits β
I wrote the entire MQTT client from scratch, including:
- β Complete MQTT 3.1.1 protocol implementation
- β Transport abstraction layer (TCP/SSL/WebSocket)
- β WebSocket support with mqtt sub-protocol
- β Outbox queue system for QoS 1/2 handling
- β Automatic reconnection with backoff
- β Binary LWT (Last Will and Testament) support
π§ espressif/esp-idf β 16.9k
ESP32 Official IoT Development Framework - Core Contributor
π View my commits β
Base protocol and driver contributions:
- β
esp_http_client - Complete HTTP/HTTPS client with:
- Chunked transfer encoding
- Basic/Digest authentication
- Redirect handling (30x)
- Keep-alive connections
- β
I2S Driver - Full audio I/O implementation:
- 8/16/24/32-bit sample support
- APLL clock for precise audio sampling
- DMA-based data transfer
- Simultaneous TX/RX support
- β HTTP Server - Case-insensitive header handling
- β Transport Layer - SSL transport improvements
π΅ espressif/esp-adf β 2.1k
ESP32 Audio Development Framework - Core Contributor
π View my commits β
Audio streaming and protocol contributions:
- β HTTP Stream - Reader/Writer for audio streaming
- β DLNA/UPnP - Media renderer implementation
- β Live Streaming - Real-time audio support
- β
Cloud TTS Integration:
- AWS Polly Text-to-Speech
- Google Translate TTS
- Baidu TTS
- β Pipeline System - Ringbuffer and state management
- β Peripheral Drivers - LED, button handling
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β π Embedded & IoT β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β ESP32 β ESP8266 β ESP-IDF β ESP-ADF β FreeRTOS β Arduino β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π‘ Protocols (Written from Scratch) β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β MQTT β HTTP/HTTPS β WebSocket β DLNA β AirPlay β SIP β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π΅ Audio β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β I2S β PCM β MP3 β AAC β FLAC β Opus β TTS β Audio Codecs β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β π» Languages β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ€
β C β C++ β Python β JavaScript β
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
| Repository | Description | Stars |
|---|---|---|
| unicloudvn/esp_provisioning | Flutter Provisioning library for ESP-IDF ESP32 Unified provisioning | β 76 |
- π GitHub: github.com/tuanpmt
- π Location: Ho Chi Minh City, Vietnam
- π₯ Followers: 516+
- β Starred repos: 569
π§ Building IoT from the ground up - Protocol by Protocol π
"If you want something done right in embedded, write it from scratch"



