Two common download methods for ESP8266 and ESP32 development boards

Introduction to ESP32 and ESP8266

ESP32 and ESP8266 are cost-effective and widely used Wi-Fi modules. These two products can be considered first in DIY projects in the Internet of Things (IoT) field.
Both chips are 32-bit processors. ESP32 is a low-power dual-core 80MHz to 240MHz CPU, while ESP8266 is a single-core processor with a main frequency of 80MHz to 160MHz.
These WiFi modules are equipped with GPIO and support various protocols such as SPI, I2C, and UART. Both chips have STA/AP/STA+AP working modes. ESP32 supports standard IEEE802.11 b/g/n protocol, complete TCP/IP protocol stack and Bluetooth protocol stack. Users can use these two modules to add WIFI networking function or Bluetooth (ESP32) to existing equipment, easily build independent network controllers and remote control monitoring equipment.
Insert picture description here

ESP8266 interface view

ESP8266 full IO port leads, download directly without reset !Insert picture description here

ESP32 functional block diagram

Insert picture description here

ESP32/ESP8266 development environment based on arduino

1. Select the preferences in the arduino ide file, then select the additional development board manager URL, and add the additional URL link in it.
ESP8266 link: http://arduino.esp8266.com/stable/package_esp8266com_index.json .
ESP32 link: https://dl.espressif.com/dl/package_esp32_index.json .

Insert picture description here
2. Open the development board manager in the arduino ide, search for the ESP8266 development board and install it (you need to pay attention to the network when installing the development board, you can use the hot spot of the mobile phone). Here is the installed ESP8266 development board, the first search will delete the installation in the lower right corner.
Insert picture description here
3. Click Project-Load Library-Manage Library, and add the library files needed by the development board.

Insert picture description here
Insert picture description here
Insert picture description here

ESP32/ESP8266 development environment based on arduino to burn firmware

1. ESP8266 burns the firmware, select the file-example-ESP8266-blink file to open, verify that the compilation is complete, and then click upload. You can also burn your own programming files.
Insert picture description here
Insert picture description here
2. ESP32 burn firmware, select the file-example-ESP32-GPIO-Functionallnterrupt file to open, verify that the compilation is complete, and then click upload. You can also burn your own programming files.
Insert picture description here
Insert picture description here

Official FLASH download software to burn firmware

Use Espressif's official download software: https://www.espressif.com/zh-hans/support/download/other-tools .
Download the official software, unzip and open, select the software to open, and select the corresponding development board.

Insert picture description here
Insert picture description here
ESP8266 and ESP32 are both official AT firmwares that are programmed. Open the BIN directly, pay attention to the COM port, and then click START to burn.
Insert picture description here

to sum up

The download methods of ESP32/ESP8266 mainly use these two. After burning the firmware, you can debug related instructions or develop and use. Long-term release of similar articles, welcome to pay attention, please feel free to leave a message, you can also leave a message below if you need information!

Guess you like

Origin blog.csdn.net/qq_42250136/article/details/107236321