Skip to content

Wemos Mini

Flashing MicroPython on Wemos Mini

Commands

pip install esptool
esptool --port COM27 --baud 460800 write_flash --flash_size=detect -fm dio 0 esp8266-20171101-v1.9.3.bin

wget https://raw.githubusercontent.com/micropython/micropython/master/drivers/sdcard/sdcard.py
pip install adafruit-ampy
ampy --port COM26 put sdcard.py

Notes

  • Serial port uses 115200 baud
  • Setup WebREPL by typing import webrepl_setup

Reference


Last update: 2023-03-16