Blinky with Tasmota on ESP32-S3

Updated on 5 January 2023
dev board ESP32-S3-DevKitC-1
chip ESP32-S3-WROOM-1-N8R2
features tasmota esp32s3
This tutorial is more than 1 year old. If the steps below do not work, then please check the latest versions and the documentations of the individual tools used.

Before starting

Dependancies

Ensure the following dependancies are downloaded and available:

Pre-requisites

Try these simpler or similar examples:

Prototype

A photo of the actual setup.

Blinky with Tasmota on ESP32-S3 prototype

Schematic

Wire up the hardware accordingly

Blinky with Tasmota on ESP32-S3 schematic

Blinky with Tasmota on ESP32-S3 browser

Use GPIO5 to add a simple external LED

Description

Upload firmware with esptool

  1. Download tasmota32s3cdc.factory.bin from ESP32 current release
  2. Plug into the USB port of the board and check the address

     $ ls /dev/cu.*
     /dev/cu.Bluetooth-Incoming-Port  /dev/cu.usbmodem14101
    
  3. Erase the flash memory with esptool.py

     $ esptool.py --port  /dev/cu.usbmodem14101 erase_flash
    
  4. Flash the binary using esptool.py

     $ esptool.py --port /dev/cu.usbmodem14101 write_flash --flash_mode dio --flash_size 4MB 0x0 tasmota32s3cdc.factory.bin
    
  5. Access the serial monitor to see the message on the active web server

Connect to WiFi

  1. Change to an external power supply or a USB hub
  2. Select the WiFi SSID starting with tasmota-
  3. Connect the board to another WiFi from the popup
  4. Change back to the original WiFi and access 10.0.3.10 in the browser

Control LED

  1. Wire up a simple LED to GPIO5
  2. Click Configuration
  3. Click Configure Module
  4. Change GPIO5 to Relay number 1
  5. Save the configuration
  6. Visit http://10.0.3.10/cm?cmnd=GPIO to see the configuration change in GPIO5
  7. Click the toggle ON and OFF to control the LED

Rollback from Tasmota to Arduino

  1. Follow the rollback steps to erase the flash.
  2. Flash in blinky with ESP-IDF.
  3. Flash in blinky with Arduino.

References