ESP8266 deep learning how to burn MicroPython ter into ESP8266

A, MicroPython About
MicroPython is a single-chip version of the Python language, the current version offers us the basic functions of ESP8266 programming to meet our usual basic needs programming for staff Python-based or want to ESP8266 development board for simple operation personnel, MicroPython personally think is a good choice. About the operation of his own pro-test result, content that may be involved is not very wide, to be verified later by gradually updated.
Second, burning tools
due ESP8266 default LUA language to use, built-in programming tools is the AT command, in order to re-use the ESP8266 PYTHON language, we need to use burning tool to burn before use. The operation is not complicated.
Tools involved are:
. 1, flash_download_tools: Shun default programming software can download the following address:
https://wiki.ai-thinker.com/esp_download
flash down TOOL
2, MicroPython system configuration program: Firmware for ESP8266
Download: http: / /micropython.org/download#esp8266
Default image
version here need to be determined ESP8266 memory situation, above Download 8M RAM or above recommended use, if used ESP8266 smaller memory, such as 01S, firmware is recommended as follows:
Here Insert Picture Description
3, MicroPython file upload and download tools: MicroPython File Uploader
Download: HTTPS: //www.wbudowane.pl/download/
Here Insert Picture Description
4, Micropython programming tools
The selection according to personal habits, you can use putty, OpenIOE IDE PRO, etc., may also find yourself a notepad will do.
Third, the burn-in process
open ESP8266 Flash programming tool, select ESP8266 DownloadTool, select SPIDownload tab, select the downloaded firmware MicroPython, fill in the address: 0x00000 32Mbit in FLASH SIZE select options, select the COM port number obtained in step? port number, here I choose COM6? BAUD 115200. COM port is selected according to the actual situation. As shown below:
interface
Here, it is recommended to click ERASE button to erase the original data, and then point START perform the operation.
Fourth, the test verifies
open MicroPython File Uploader, select COM6, click the OPEN software into the state waiting for a connection. ? Press the RST button ESP8266 development board, development board to restart. Under all normal circumstances, you will see a garbled on the output window of the software, and in the end will show the current MicroPython version information.
Show Code
If the above information can be displayed, indicating a success.
As for how to write code operation ESP8266, the latter can specifically talk about.

Published 11 original articles · won praise 16 · views 2093

Guess you like

Origin blog.csdn.net/qxrobot/article/details/103547811