Blinky with Tasmota on ESP32-C3

Updated on 11 October 2023
dev board ESP32-C3-DevKitM-1
chip ESP32-C3-MINI-1-N4
features tasmota esp32c3 toggle led
This tutorial is more than 6 months 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:

Prototype

A photo of the actual setup.

Blinky with Tasmota on ESP32-C3 prototype

Schematic

Wire up the hardware accordingly

Blinky with Tasmota on ESP32-C3 schematic

Description

Upload firmware with Tasmota web installer

  1. Plug into the USB port of the board and check the port

     $ ls /dev/cu.*
    
     /dev/cu.Bluetooth-Incoming-Port  /dev/cu.MINIJAMBOXbyJawbone  /dev/cu.SLAB_USBtoUART  /dev/cu.usbserial-1410
    
  2. Visit the Tasmota web installer on the browser
  3. Choose ESP32-C3 in the dropdown list
  4. Connect to the port e.g. /dev/cu.SLAB_USBtoUART

  5. Install Tasmota

Connect to WiFi using the Tasmota web installer

  1. Ensure automatic configure wifi dialogue is seen

  2. Connect to the WiFi with SSID and password

  3. Visit the device URL at 10.0.3.10

Control LED via the web

  1. Wire up a simple LED to GPIO3
  2. Plug in the board to an external power supply.
  3. Click Configuration
  4. Click Configure Module
  5. Change GPIO3 to Relay number 1 and save configuration
  6. Go back to the main menu after device restart
  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

Watch