Multipurpose IoT Automation with RISC-V
Cloudless wireless switching over ESP-NOW, written in pure ESP-IDF

What
A cloudless wireless switch module. Three physical switches on a transmitter board toggle three corresponding outputs on a separate receiver board, with LEDs and a buzzer standing in for any relay-driven industrial load. The framing was deliberately "Intranet of Things" rather than Internet of Things: no AWS, Azure or Cloudflare anywhere in the loop, so data sovereignty stays with the owner and the system keeps working with no internet at all.
How
Two Seeed XIAO ESP32-C3 (RISC-V) boards with external antennas, chosen over the ESP8266 and an STM32 + Wi-Fi module specifically for native ESP-NOW support, deep-sleep power efficiency and a stronger development ecosystem.
The hard constraint was that the Arduino framework was explicitly forbidden,
so everything went through ESP-IDF directly: FreeRTOS tasks, esp_wifi,
espnow_ctrl and the GPIO driver, broadcast-address peering, and a packed
button-state struct as the transmitted payload. Since Arduino is itself a layer
over ESP-IDF, the team's approach was to prototype in Arduino to establish
working logic, then translate it line by line into pure ESP-IDF — working against
documentation that was in places sparse, outdated or only available in Chinese.
My contribution was the project's web report: a Hugo static site in HTML, CSS and JavaScript, version-controlled in Git and hosted on GitHub Pages — chosen over Wix or Google Sites precisely so the report carries no third-party trackers.
Outcome
A working bidirectional transmitter/receiver pair, demonstrated driving a relay circuit so a high-power load can be switched with the board kept out of the current path, and shown applied to an indoor-farming setup. The full report — hardware comparison tables, flowcharts, results and source listings — was published as a live site rather than a document.
Gallery
Click any image to enlarge