Seeed Studio XIAO Expansion Display (XIAO-ESP32-C3)
Available from:
Amazon.com
Aliexpress.com
Manufacturer:
Seeedstudio.com
Install method:
USB to Serial
GPIO # | Component |
---|---|
GPIO00 | User |
GPIO01 | User |
GPIO02 | User |
GPIO03 | Button 1 |
GPIO04 | SDCard CS |
GPIO05 | Buzzer |
GPIO06 | I2C SDA 1 |
GPIO07 | I2C SCL 1 |
GPIO08 | SPI CLK |
GPIO09 | SPI MISO |
GPIO10 | SPI MOSI |
GPIO12 | Option A3 |
GPIO13 | None |
GPIO18 | None |
GPIO19 | None |
GPIO20 | Serial Rx |
GPIO21 | Serial Tx |
Configuration for ESP32-C3
{"NAME":"XIAO-ESP32C3 Expansion","GPIO":[1,1,1,32,6720,480,640,608,736,672,704,0,6210,0,0,0,0,0,0,0,3232,3200],"FLAG":0,"BASE":1,"CMND":"BuzzerPwm 1"}
Configuration for ESP32-S3
{"NAME":"XIAO-ESP32S3 Expansion","GPIO":[33,1,32,6720,480,640,608,736,672,704,0,0,0,0,0,0,0,0,0,0,6210,544,0,0,0,0,0,0,0,0,0,0,3200,3232,0,0,0,0],"FLAG":0,"BASE":1,"CMND":"BuzzerPwm 1"}
This expansion board requires a XIAO module to function such as XIAO ESP32C3 or XIAO ESP32S3
XIAO ESP32C3
Add the following environment to platformio_tasmota_cenv.ini
or platformio_override.ini
and compile the tasmota32c3-xiaoboard
build.
[env:tasmota32c3-xiaoboard]
extends = env:tasmota32_base
board = esp32c3cdc
build_unflags = ${env:tasmota32_base.build_unflags}
-flto
-mtarget-align
build_flags = ${env:tasmota32_base.build_flags}
-fno-lto
-DFIRMWARE_LVGL
-DUSE_DISPLAY_MODES1TO5
-DUSE_I2C
-DUSE_RTC_CHIPS
-DUSE_PCF85363
-DUSE_SEN5X
-DUSE_SGP30
-DUSE_SCD30
-DUSE_SCD40
-DUSE_SHT3X
-DUSE_TSL2561
-DOTA_URL='"-"'
-DCODE_IMAGE_STR='"xiaoboard"'
lib_extra_dirs = lib/libesp32, lib/libesp32_lvgl, lib/lib_basic, lib/lib_i2c, lib/lib_audio, lib/lib_display, lib/lib_ssl
Some of the available Grove sensors are included in the build but you will need to add support for others with -DUSE_sensor
according to the names used in my_user_config.h