Easy ESP-01 Tasmota Programming

by kcow3 in Circuits > Wireless

35211 Views, 44 Favorites, 0 Comments

Easy ESP-01 Tasmota Programming

Untitled.png

A simple consolidation of information to flash the ESP-01 module with Tasmota using Tasmotizer.

Supplies

You require the following for this project:

Download Required Software

Tasmpota bin.jpg
Tasmotizer exe.jpg
Tasmotizer app.jpg

The first step is to download the required software to flash your ESP-01 with Tasmota.

  1. Download the latest binary version of Tasmota from this link.
  2. Download the latest version of Tasmotizer
    1. For Windows, the easiest method is to download and install the standalone .exe from this link.
    2. For MAC, have a look at the tutorial by SuperHouse
  3. Run the Tasmotizer application

In the next step we will configure the ESP-01 module and programmer to get ready to Flash Tasmota.

Hardware Setup

ESP8266 Pins.png
IMG_4660.JPEG
IMG_4661.JPEG
IMG_4737.jpeg

The ESP-01 board can be flashed with Tasmota using the provided Programmer board, however the ESP8266 needs to be in the programming state. To get the ESP8266 into programming mode we need to connect GPIO_0 and Ground on startup.

There are various ways to achieve this, a simple on is to solder a male and female jumper lead to GPIO_0 and GND.

  • Solder a male jumper lead to GND
  • Solder a female jumper lead to GPIO_0
  • Connect the two jumper leads
  • Plug the ESP-01 module into the programmer
  • Plug the programmer into a USB port on your computer running Tasmotizer

An alternative to the jumper leads can be seen in this tutorial, where a small push button is used instead.

Flash Tasmota Using Tasmotizer

Flash Tasmota.gif

With your programmer connected and the ESP8266 in programming mode, navigate to your Tasmotizer application.

  1. Click on "Refresh" to make sure your port is updated and set to the programmer. In my example it is port 4, but it could be different on your computer.
  2. Click on "Open" and select your version of the tasmota.bin file downloaded earlier.
  3. Make sure the "Erase before flashing" option is checked.
  4. Click on "Tasmotize!"
  5. Wait for the process to finish
  6. If you get a message "Process success.....", click "OK".
    1. Remove the programmer from your computer
    2. Disconnect the jumper wires between GPIO_0 and GND
    3. Plug the programmer back into your computer.
  7. Now we can try and connect the module to your WiFi network. This will be done in the next step.

Troubleshooting: If you get an error when clicking "Tasmotize!" make sure that you are using the correct port, or that the ESP8266 is in programming mode

Connecting ESP-01 to WiFi Network

WiFi setup.gif
IMG_4738.PNG
IMG_4739.PNG
IMG_4740.PNG

You can now connect the ESP-01 module to your Wifi Network using two methods.

Please note that the WiFi network should be a 2.4 GHz network...

  1. The ESP-01 module will starup in Access Point mode, allowing you to connect to it using a phone or laptop with WiFi.
  2. You can use Tasmotizer to send your WiFi details to the module.

Tasmotizer method (Easier)

  1. Navigate back to Tasmotizer (ESP8266 NOT in programming mode)
  2. Click on "Send config"
  3. Enter your SSID
  4. Enter your password
  5. Click "Save"
  6. Click "OK"
  7. Wait about 10-20 seconds
  8. Click "Get IP" to get the IP address your router assigned to the module

Access point method

With your module plugged back into the computer, open a WiFi search on your phone

  1. Select the tasmota_xxxxxx network
  2. Connect to the network
  3. Wait for prompt to open on your phone
  4. Enter you WiFi details and click "save"
  5. Now you will have to use an application like FING to discover the IP address of the module

In the next step we will test the setup

Testing

Test.jpg

You can now simply navigate to the IP address of your module in a browser on the same network.

In my case the provided IP address was 192.168.1.37

When you see the Tasmota interface, your are done.

You can now use Tasmota for a range of projects like smart home projects like this

Additional Resources