ESP32-S3 DevKitC-1 V1.0

Hello,

I am trying to use ESP32-S3 DevKitC-1 V1.0 from espressif. I have trouble to add this as a new device into ESPHome, because there is no option to select the device from the list of ESP32 devices.
I tried other ESP32 options and I am getting error regarding the wrong chip version during flash.
If there is any solution for that, it will be greatly appreciated.

Thanks,

2 Likes

@rstu have you tried

esp32:
  board: nodemcu-32s

that board is a “classic” esp32 and will most likely not work with a esp32-s3 which is different.

One can try something like this:

esp32:
  variant: esp32s3
  board: esp32-s3-devkitc-1

look at this link below, it something to try. rstu hasn’t told us what ones they have tried so it a suggestion that just could work.

https://www.esphome.io/devices/nodemcu_esp32.html?highlight=board+nodemcu+32s

You get an “unknown board type” error if you use

board: esp32-s3-devkitc-1

I get the same error, I’ve been scratching my head all day trying to get the ESP32-S3 wroom 1 chips i ordered to work with esphome.

1 Like

hope someone figures this out… I have tried many things but no go

@rstu @Zetta @whyjguy @harfordhawk

try this

esp32:
  board: nodemcu-32s
  framework:
    type: arduino

or this

esp32:
  board: nodemcu-32s
  framework:
    type: arduino
    version: 2.0.0

or this the latest version

esp32:
  board: nodemcu-32s
  framework:
    type: arduino
    version: 5.1.1

or this

esp32:
  board: esp32-c3-devkitm-1
  framework:
    type: esp-idf
    version: recommended

more info here

just tried all those and get the same error every time. “Configuration does not match the platform of the connected device. Expected an ESP32S3 device.”

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: esp-idf
    platform_version: 4.4.0
  variant: esp32s3

or

esp32:
  board: esp32-s3-devkitc-1
  framework:
    type: arduino
    version: 2.0.3
    platform_version: 5.1.0
  variant: esp32s3

trying those same result… thanks, I am now erasing the flash to see if something else is up

nothing working… I guess will wait until esphome supports this board

Bummer … good luck… sorry I could help :pensive:

Watching this, as I have the same issue with a Liligo T-Display-S3 (ESP32-S3R8 chip), except for me the error says:
“Configuration does not match the platform of the connected device. Expected an ESP32 device.” even though I specified esp32-s3-devkitc-1 or any of the others mentioned here.

Where can I find the logging that shows what happens during the detection of the board before flashing?

esp32:
  board: esp32-s3-devkitc-1 #https://registry.platformio.org/platforms/platformio/espressif32/boards
  framework: #https://registry.platformio.org/tools/espressif/toolchain-xtensa-esp32s3
    type: arduino
    version: 2.0.3
    platform_version: 5.2.0 #https://registry.platformio.org/platforms/platformio/espressif32
  variant: esp32s3

this worked for me in a sense that esphome builds and there are no crc errors after uploads, but it hangs on

[18:08:32][C][uart.arduino_esp32:077]: Setting up UART...

even with

logger:
  level: DEBUG
  baud_rate: 0

as I’m actually using uart in my config

Oh, I see now
https://docs.ai-thinker.com/en/esp32s3

uart:
  baud_rate: 9600
  tx_pin: 43
  rx_pin: 44

This builds and connects to network, i still need to test uart connection working, but it seems it should.

It seems to work better when you connect the device to the HA node itself, not to the remote PC. This way I was able to flash the device and got it working with the board config @evlo is also using (albeit I used platform_version 5.0.0)

esp32:
  board: esp32-s3-devkitc-1
  variant: esp32s3
  framework:
    type: arduino
    version: 2.0.3
    platform_version: 5.0.0

I succeeded with the below, compiled on ESPHome installed on my Mac:

#version 01 2022-10-05: vanilla board for S3
substitutions: 
  hostname: test-esp32s3
  wifi_update_interval: "3s"


esphome:
  name: $hostname 


esp32:
  board: esp32-s3-devkitc-1
  variant: ESP32S3
  framework:
    type: arduino
    version: 2.0.3
    platform_version: 5.1.1


logger:
  level:  DEBUG

api:
  reboot_timeout: 0s
  
ota:
  password: !secret ota_password 

wifi:
  ssid: !secret wifi_ssid
  password: !secret wifi_password
  fast_connect: True

  ap:
    ssid: $hostname
    password: !secret esp_fallback_wifi_password

web_server:
  port: 80
  auth:
    username: !secret web_server_user
    password: !secret web_server_password  
    
    
time:
  platform: homeassistant
  id: homeassistant_time 


switch:
  - platform: restart
    name: $hostname restart
    id: reset
    
  - platform: gpio
    pin: 1
    name: $hostname switch1
    id: switch1
    icon: mdi:power-socket-uk
    restore_mode: RESTORE_DEFAULT_OFF


sensor:
  - platform: wifi_signal
    name: $hostname rssi
    update_interval: $wifi_update_interval

  - platform: uptime
    name: Uptime Sensor
    id: uptime_sensor
    update_interval: $wifi_update_interval
    on_raw_value:
      then:
        - text_sensor.template.publish:
            id: uptime_human
            state: !lambda |-
              int seconds = round(id(uptime_sensor).raw_state);
              int days = seconds / (24 * 3600);
              seconds = seconds % (24 * 3600);
              int hours = seconds / 3600;
              seconds = seconds % 3600;
              int minutes = seconds /  60;
              seconds = seconds % 60;
              return (
                (days ? to_string(days) + "d " : "") +
                (hours ? to_string(hours) + "h " : "") +
                (minutes ? to_string(minutes) + "m " : "") +
                (to_string(seconds) + "s")
              ).c_str();  
              
text_sensor:
  - platform: wifi_info
    ip_address:
      name: $hostname ipaddress
    mac_address:
      name: $hostname mac
  - platform: template
    name: $hostname Uptime Human Readable
    id: uptime_human
    icon: mdi:clock-start      

btw: there is no way (I cannot see I mean) to directly connect this board (S3) to ESPHome. So what I did is: compiled the above code, downloaded the bin file and uploaded it manually to S3. Once there, any further update (OTA) was wireless and working fine.

thanks well that worked!.. I am still trying to get into this T-Display-S3 – LILYGO® and use it, but I can’t understand the display config needed, but I am much further along now. thanks

1 Like

I have the same board, have you made any progress on it?