Back to Browse

Upload Python Files to ESP8266 Flash Memory

52 views
Aug 9, 2025
4:09

In this video, you’ll learn how to upload Python files to your ESP8266 so your code stays in flash memory and survives restarts. Previously, we ran code live in RAM — which is volatile. Once the ESP8266 rebooted, the program disappeared. Today, we’ll use AMPY to save your code permanently to flash memory. What you’ll learn in this video: • Installing and checking AMPY • Verifying ESP8266 connection • Writing and saving main.py • Uploading with AMPY command • Running the program after reset Commands used in this guide: • pip show ampy • ampy • mode • code main.py • ampy --port COM21 put main.py Required hardware: • ESP8266 development board • Micro USB cable • LED #ESP8266 #MicroPython #AMPY #IoT #Python #EmbeddedSystems #NodeMCU #FlashMemory #MicropythonTutorial #ESP8266Projects #LearnIoT #IoTProjects #Microcontroller #Electronics #DIYProjects #ESP8266MicroPython

Download

0 formats

No download links available.

Upload Python Files to ESP8266 Flash Memory | NatokHD