Skip to content

Instantly share code, notes, and snippets.

@glenrobertson
Created January 27, 2026 21:32
Show Gist options
  • Select an option

  • Save glenrobertson/fd14177a87e999adcfb2215fac0fa981 to your computer and use it in GitHub Desktop.

Select an option

Save glenrobertson/fd14177a87e999adcfb2215fac0fa981 to your computer and use it in GitHub Desktop.
Seeed ESP32C6 with round display esphome config
# ESP32C6: https://www.seeedstudio.com/Seeed-Studio-XIAO-ESP32C6-p-5884.html
# Display: https://www.seeedstudio.com/Seeed-Studio-Round-Display-for-XIAO-p-5638.html
esphome:
name: circle
friendly_name: circle
esp32:
board: esp32-c6-devkitc-1
framework:
type: esp-idf
# Enable logging
logger:
# Enable Home Assistant API
api:
encryption:
key: "{insert_key}"
ota:
- platform: esphome
password: "{insert_password}"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Circle Fallback Hotspot"
password: "{fallback_password}"
captive_portal:
time:
- platform: homeassistant
id: esptime
spi:
clk_pin: GPIO19
mosi_pin: GPIO18
miso_pin: GPIO20
i2c:
sda: GPIO22
scl: GPIO23
font:
- file: "gfonts://Roboto"
id: font_medium
size: 16
display:
- platform: ili9xxx
model: GC9A01A
auto_clear_enabled: True
invert_colors: True
id: seeed_round_display
cs_pin: GPIO1
dc_pin: GPIO21
reset_pin: GPIO0
lambda: |-
it.fill(Color::BLACK);
it.print(64, 64, id(font_medium), TextAlign::CENTER, "Hello");
touchscreen:
platform: chsc6x
id: seeed_round_touchscreen
display: seeed_round_display
interrupt_pin: GPIO17
on_touch:
- lambda: |-
ESP_LOGI("touch", "Touch at (%d, %d)", touch.x, touch.y);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment