Skip to content

How to install firmware on your ESP

Robert van den Breemen edited this page Apr 2, 2024 · 41 revisions

To install firmware on your ESP

  1. If your ESP is attached to the OTGW, disconnect the gateway then unplug the ESP from the OTGW.
  2. Connect the ESP to a PC using a Micro USB lead. If no driver, try: WeMos or NodeMCU.
  3. Download .bin files and esptool (you will need to unzip it).
  4. Rename the .bin files to ino.bin and fs.bin. Make sure esptool is on your path.
  5. Type esptool write_flash 0x0 ino.bin 0x200000 fs.bin
  6. Several lines of information will appear as the ESP is written. The blue light should blink fast then slowly.
  7. Unplug the ESP and install into your OTGW (be sure it's the right way round!), then power on the OTGW.

Now move on to configure the wifi: https://github.com/rvdbreemen/OTGW-firmware/wiki/Configure-WiFi-settings-using-the-Web-UI