FLASH a ESP

Flash ESP within Linux

ESPEASY NodeMCU ESP8266 (Tested)

Flashing

  • Download ESP flasher
  • At the bottom choose the right board and download
    • ESPEasy_mega_20231225_ESP82xx_binaries.zip
  • Extract the file
  • in sub directory flash_download_tool_x.x.x run flash_download_tool_x.x.x.exe
  • Chiptype > ESP8266 – WorkMode > Develop – LoadMode UART
  • in sub directory bin you find the images
    • ESP_Easy_mega_20231225_normal_ESP8266_4M1M.bin
  • Connect the ESP
  • Check com portnr at device manager
  • Check Baudrate 115200 (can be faster)
  • select ESP_Easy_mega_normal_20220616_4M1M.bin (example)
  • Set 0x0 at right column (not clear to me)
  • Flash the device with ESPEasy by clicking on start

RESTART after flash

Setup the new device

  • A new access point is available “ESPEasy” or other name like “collection” password “configesp”
    • The IP address is 192.168.4.1
  • Setup WiFi
    • Select your access point
    • Fill in the password
    • Connect
  • check assigned IP address in router
  • Go to new IP address
  • Setup like you needs are
    • Tools > Advanced > NTP
      • Use NTP > Checked
      • NTP Hostname > 2.nl.pool.ntp.org

For testing:
http://”IP-address”/control?cmd=GPIO,2,0 turns onboard led on

To start over I first flashed blank_4MB.bin then it is empty
When you flash it with the same it can be that WiFi settings are still in there


ESPEASY NodeMCU ESP01S

Like above but binairy > ESP_Easy_mega_20231225_normal_ESP8266_1M.bin

Programmer to use > Usb Naar ESP8266 ESP-07 ESP-01 ESP-01S


ESP Relay board

  • Like above but binairy > ESP_Easy_mega_20231225_hard_LCtech_relay_x2_1M.bin
    • Can do 1 to 4 relays
  • Flash Speed 115200
  • Connect the ESP01s like above
  • Under Tools > Advanced Settings > Enable Serial port: DISABLED!!! (uncheck)
    • Seems no longer needed
  • Devices > Serial MCU controlled switch
    • Switch Type: LC TECH
    • Number of relays: 2 (in case of a 2 relay board)
    • Serial speed: 115200

For testing:
http://”IP-address”/control?cmd=GPIO,2,0 turns onboard led on

For testing the relay
Relay 1 ON > http://”IP-address”/control?cmd=relay,0,1
Relay 1 OFF > http://”IP-address”/control?cmd=relay,0,0
Relay 2 ON > http://”IP-address”/control?cmd=relay,1,1
Relay 2 OFF > http://”IP-address”/control?cmd=relay,1,0