How to Install a Hardware package for ESP8266?
Preparation Hardware
Installation of the software development environment
-
Once the download is complete, follow the prompts to install. For Windows users, run the exe file directly and follow the installation wizard.
-
Note: Do not include Chinese characters or special characters in the installation path.
Configuring the Arduino Kernel for the ESP8266
-
Open Arduino IDE, click “File” -> “Preferences”.
- In the “Additional boards manager URLs” field, add the following URL:
http://arduino.esp8266.com/stable/package_esp8266com_index.json
-
Click OK and restart the Arduino IDE.
-
After reboot, click “Tools” -> “Board” -> “Boards Manager”.
-
In the development board manager, search for the keyword “ESP8266” and select the latest version for installation.
-
Wait for the installation to complete and restart the Arduino IDE.
Install hardware drivers (if required)
-
Windows users: Open Device Manager, find the unrecognized device (may be “CP2102 USB to UART Bridge” or “CH340”, etc.), right-click and select “Update Driver”.
-
Select “Browse my computer for driver software” and then specify the downloaded driver folder for installation.
-
Mac and Linux users usually do not need to install additional drivers as the system comes with support for them.
Test Development Environment
-
Select the correct port: In “Tools” -> “Ports” of Arduino IDE, select the corresponding port of your ESP8266 board.
-
Upload the code: Click the “Upload” button, wait for the code to compile and upload to ESP8266.
-
Observe the result: If everything is OK, you will see the LEDs on the board start blinking.