r/esp32projects • u/Robonaviagtors • 5h ago
I built an open-source ESP32 desktop companion with 66 facial expressions!
Hi r/esp32 — Robonavigators has built Desk-Companion, an open-source desktop robot for the Seeed Studio XIAO ESP32-C3 and ESP32-S3.
It uses an SSD1306 128x64 OLED and a TTP223 capacitive touch sensor. The firmware provides 66 selectable facial expressions, an NTP-synchronised clock, weather/forecast support, a local web dashboard, dual Wi-Fi configuration with recovery, deep sleep, and OTA updates.
The small XIAO form factor was a good fit for a compact desktop device, while dedicated C3 and S3 firmware keeps their board-specific touch mapping explicit: C3 uses D1/GPIO3 and S3 uses D10/GPIO9.
For the firmware, I used U8g2 for OLED rendering, ArduinoJson for JSON handling, and NTPClient for time synchronisation. WiFi, WebServer, DNSServer, ESPmDNS, Preferences, ArduinoOTA, and Wire come from the ESP32 Arduino core rather than additional libraries.
The important implementation edge cases were keeping those C3/S3 hardware differences separate and providing a usable Wi-Fi recovery path: saved settings live in NVS, a device with no usable connection can fall back to its open access point and captive portal, and the dashboard exposes the network setup.
There’s also a browser-based firmware installation workflow for the supported XIAO boards, alongside the Arduino firmware and wiring/setup documentation.
GitHub: https://github.com/Robonavigators/Desk-Companion
Desk-Companion is complete and hardware validation is complete. I’d value feedback on the wiring, firmware approach, and anything you think could be improved.
