Tasmota is an Open-Source firmware for ESP devices developed by Theo Arends (from the Netherlands). He is also the webmaster of a technology blog with nice tutorials. Tasmota is not written in “Arduino language”, however, you will not need to code with Tasmota. It is mostly about uploading the code, hardly changing 1-2 lines for a custom configuration. Your hard work will give you a production-ready system to control the relays which is IoT ready (that is a separate topic how to configure) and is configurable from a mobile device just like any commercial “smart plug”. As we have said – Tasmota is a pre-written firmware for ESP boards. Many of the readers commonly use ESP32 with Arduino IDE and may fear using Tasmota. In this guide, we will explain what tools you’ll need to upload Tasmota firmware.
From the GitHub repo of Theo Arends, you’ll get the tasmota32.bin
file:
1 | https://github.com/arendst/Tasmota/tree/firmware/firmware/tasmota32 |
you need to download that tasmota32.bin
file.
---
techiesms.com
has created a repo with all the required files (including the above tasmota32.bin
file) you’ll ever need to upload. I have forked that on my GitHub repo (I have not edited any file yet) :
1 | https://github.com/AbhishekGhosh/TASMOTA-on-ESP32 |
You’ll need the official flasher tool from Espressif’s website :
1 | https://www.espressif.com/en/support/download/other-tools |
Termite will help to add SSID and password to the ESP board :
1 | https://termite.software.informer.com/3.2/ |
The above are the tools we will need. However, you can use Tasmotizer instead :
1 | https://github.com/tasmota/tasmotizer |
Start the Espressif’s flasher tool. Select “Developer Mode”. Then click “ESP32 Download Tool”. When the flasher software will launch, you will upload :
1 2 3 4 | BootLoader.bin Parttion_Table.bin SPIFFS.bin tasmota32.bin |
Select the correct COM port, the correct baud rate and click to start. After flashing is complete, you will stop and quit the app. Open the Termite tool. Select the correct COM port, the correct baud rate. Input these commands one by one :
1 2 3 4 5 | SSID1 <name-of-hotspot> # hit enter/command Password1 <password-here> # hit enter/command ## do not use < > |
In the output, you’ll get the local IP address of the device. You can open the IP address on a browser and play with the GPIO settings (Configuration > Configure Module).
The default assigned GPIO numbers are in the code we have uploaded. GPIO 2 is commonly ESP32’s on-board LED. You can quickly test it by setting it as a relay. Play with the thing few times when it becomes just easy.
Tagged With esp32 tasmota , tasmota esp32 , deepsleep tasmota esp32 , esp32 devkit tasmota , https://thecustomizewindows com/2021/04/how-to-work-with-tasmota-on-esp32/ , https://thecustomizewindows com/2021/04/how-to-work-with-tasmota-on-esp32/#:~:text=As we have said – Tasmota need to upload Tasmota firmware , tasmota esp32-cam , tasmota on esp32 , tasmotizer esp32