Skip to content

Instantly share code, notes, and snippets.

@manaskarekar
Last active January 26, 2018 13:14
Show Gist options
  • Save manaskarekar/fd17db2eac80df23ff9d9c6ce8da0cbf to your computer and use it in GitHub Desktop.
Save manaskarekar/fd17db2eac80df23ff9d9c6ce8da0cbf to your computer and use it in GitHub Desktop.
Easy steps for programming ESP8266

Note: These instructions were written in mid 2017.

ESP8266

Lots of options exist for programming these. See https://en.wikipedia.org/wiki/ESP8266

Wemos D1 Mini

Program using Arduino IDE

Program using Micropython

  • Get the correct binary from http://micropython.org/download
  • sudo pip install esptool
  • esptool.py --port /dev/ttyUSB0 erase_flash
  • esptool.py --port /dev/ttyUSB0 --baud 460800 write_flash --flash_size=detect 0 esp8266-20170612-v1.9.1.bin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment