Skip to content

Obviate.io

To anticipate and prevent

  • Home
  • About Us
  • History
  • Privacy Policy
  • Toggle search form

Video Tutorial: Flashing Micropython on a Wemos D1 Mini

Posted on 2018-01-29 By Jon No Comments on Video Tutorial: Flashing Micropython on a Wemos D1 Mini

Welcome to Episodes #01 of the new Obviate.io video series where we’ll be flashing Micropython 1.9.3 onto a Wemos D1 Mini ( ESP8266 ) development board using Apple macOS.

Links:

  • Wemos D1 Product Home
  • Buy on AliExpress
  • Micropython Download
  • Wemos D1 Serial Drivers
  • ESPTools
  • LED Code Gist

Commands Run:

  • Installing ESPTool: pip install esptool or sudo easy_install esptool
  • Find the esp8266 when plugged in: ls /dev/cu.*
  • Erase Firmware: esptool.py --port /dev/cu.wchusbserial1430 erase_flash
  • Write new Firmware: esptool.py --port /dev/cu.wchusbserial1430 --baud 115200 write_flash --flash_size=detect 0 ~/Downloads/esp8266-20171101-v1.9.3.bin
  • Access Micropython REPL: screen /dev/cu.wchusbserial1430 115200

In the REPL, if you’d like to copy and paste the code snipped, you must press ctrl+e to enter the special paste mode. Then paste the code from Github Gist. Then press ctrl+d to begin executing the code. To stop the code execution hit ctrl+c. To exit screen hit ctrl+a+\ .

Hopefully this tutorial was helpful. If you enjoyed it, please like / subscribe / comment. Let me know what you’d like to see next.

Video Tags:arduino, flash, howto, macOS, microcontroller, micropython, osx, python, tutorial, video, wemos d1 mini

Post navigation

Previous Post: Miracle-Gro AeroGarden 8 weeks in – serious tomato action
Next Post: Video Tutorial: Writing code onto Micropython Wemos D1 using Ampy

More Related Articles

Video Tutorial: BME820 Environmental Sensor and MQTT under Micropython DIY
Quick First Look: Onion Omega Cloud
Broadcom / Netgear’s 802.11ac Event (Gigabit Wifi) Hardware

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

January 2018
S M T W T F S
 123456
78910111213
14151617181920
21222324252627
28293031  
« Dec   Feb »

Copyright © 2022 Obviate.io

Powered by PressBook Premium theme