esp32-c3-devkitM-1 bootloop

Hi I flashed my board with this code.

esphome:
  name: prueba-c3
  friendly_name: PRUEBA-c3

esp32:
  board: esp32-c3-devkitm-1
  framework:
    type: arduino

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "Smgp3W3AReu6jjZS8MWz0P/LH6WOuJ5ptTGnDJZK29A="

ota:
  password: "7af1d183be953c16c9fc4acd2d549dd6"

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

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esp32C31 Fallback Hotspot"
    password: "prueba1234"

captive_portal:

web_server:
  port: 80

sensor:
  - platform: dht
    pin: GPIO2
    model: DHT11
    temperature:
      name: "Temperatura living"
    humidity: 
      name: "Humedad living"
    update_interval: 60s

All I Get is a bootloop.

log:
ESP-ROM:esp32c3-api1-20210207
Build:Feb 7 2021
rst:0x7 (TG0WDT_SYS_RST),boot:0xd (SPI_FAST_FLASH_BOOT)
Saved PC:0x40049a64
SPIWP:0xee
mode:QIO, clock div:1
load:0x3fcd5810,len:0x1684
ets_loader.c 79

It repeats the same and keeps rebooting. I also tried with esp-idf.

Thanks for your help.

esphome:
  name: prueba-c3
  friendly_name: PRUEBA-c3
  platformio_options:
    board_build.flash_mode: dio

esp32:
  board: esp32-c3-devkitm-1
  framework:
    type: arduino

preferences:
    flash_write_interval: 5s

# Enable logging
logger:

# Enable Home Assistant API
api:
  encryption:
    key: "Smgp3W3AReu6jjZS8MWz0P/LH6WOuJ5ptTGnDJZK29A="

ota:
  password: "7af1d183be953c16c9fc4acd2d549dd6"

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

  # Enable fallback hotspot (captive portal) in case wifi connection fails
  ap:
    ssid: "Esp32C31 Fallback Hotspot"
    password: "prueba1234"

captive_portal:

web_server:
  port: 80

sensor:
  - platform: dht
    pin: GPIO2
    model: DHT11
    temperature:
      name: "Temperatura living"
    humidity: 
      name: "Humedad living"
    update_interval: 60s

Try adding the platformio and preferences lines like above.

I’ll try that thanks.

it worked flawlessly, thanks.

1 Like

this is the only change?