目錄
1、安裝Arduino
2、搭建開發板管理器
3、可能出現的錯誤
1、安裝Arduino
Arduino下載.
官方下載地址:Arduino官方網站
Arduino中文社區:下載地址
安裝方式:解壓后無需安裝,拖到 應用程序(AppLication)里面就行了
2、搭建開發板管理器
打開Arduino -> 點擊左上角的Arduino -> 點擊Performance(偏好設置) -> 添加附加開發板地址
添加地址:
https://dl.espressif.com/dl/package_esp32_index.json
http://arduino.esp8266.com/stable/package_esp8266com_index.json
下載開發板
頂部菜單欄 -> 工具 -> 開發板 -> 開發板管理器 ->搜索 ESP -> 安裝ESP32,ESP8266 ( “ 因為被牆,請自行科學》上《網 ” )
開發的時候選擇對應的開發板:
頂部菜單欄 -> 工具 -> 開發板 ->選擇自己的開發板(可以選擇近似的板子)
3、可能出現的錯誤
A、掃描不到設備端口
安裝驅動:VCP端口驅動 :https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
CH340驅動 :https://kig.re/2014/12/31/how-to-use-arduino-nano-mini-pro-with-CH340G-on-mac-osx-yosemite.html
B、ESP8266不能編譯
解決辦法:參考文章地址。https://www.cnblogs.com/easyidea/p/12902349.html