Use Wemos D1 Mini with broken UART

From Tom's notes
Jump to navigation Jump to search
  • Connect using external USB - UART converter: ground, 5V, RX, TX
  • Connect D3 (flash) to ground
  • To erase:
python3 -I ~/.arduino15/packages/esp8266/hardware/esp8266/3.0.2/tools/esptool/esptool.py -p /dev/ttyUSB0 --chip esp8266 --before no_reset --baud 74880 --trace erase_flash
  • To flash, use Arduino IDE, set baud rate to 115200
  • Click upload in IDE
  • Press reset
  • Wait until flash is complete. D3 can remain connected to ground (but should not be necessary).

Minimal config to flash bare esp8266 module:

  • Gnd
  • Vcc
  • pull up Enable / CH_PD
  • pull down Flash (GPIO0)
  • pull down GPIO15
  • Connect via ground, rx, tx