一、下載安裝Arduino IDE(更新到1.8.9)
1、Arduino官網:https://www.arduino.cc/
? ? 下載鏈接頁面:https://www.arduino.cc/en/Main/Software(可能比較慢)
2、筆者提供了百度網盤鏈接(鏈接:https://pan.baidu.com/s/18CFs3m74Eww9yMogIMOBRg),供大家下載,長期有效。
3、通過Arduino中文社區鏈接地址(https://www.arduino.cn/thread-5838-1-1.html) 下載。
二、添加8266開發板及示例
1、打開arduino IDE,文件----首選項-----附加開發板管理器網址-----填上地址(見附錄)
http://arduino.esp8266.com/stable/package_esp8266com_index.json(2.5.2)
http://x.iaoye.xin/package_esp8266com_index.json(2.5.0)
http://wechat.doit.am/package_esp8266com_index.json(2.0.0)
https://github.com/esp8266/Arduino/releases/download/2.5.0/package_esp8266com_index.json(2.5.0)
https://raw.githubusercontent.com/DFRobot/FireBeetle-ESP8266/master/package_firebeetle8266_index.json(2.3.1)
2、工具----開發板-----開發板管理器
3、等待下載完成后,搜索8266,然后安裝(非常慢,要耐心)
4、將開發板切換到 ESP8266
5、打開示例
6、編譯上傳測試
7、若成功可以看到開發板上LED閃爍。
附錄:五個ESP8266開發板管理器備選地址
http://arduino.esp8266.com/stable/package_esp8266com_index.json(2.5.2)
http://x.iaoye.xin/package_esp8266com_index.json(2.5.0)
http://wechat.doit.am/package_esp8266com_index.json(2.0.0)
https://github.com/esp8266/Arduino/releases/download/2.5.0/package_esp8266com_index.json(2.5.0)
https://raw.githubusercontent.com/DFRobot/FireBeetle-ESP8266/master/package_firebeetle8266_index.json(2.3.1)
簡單強調一下,由于核心網址是國外的,訪問的話可能涉及到翻墻,好多同志在使用過程中都遇到了下載錯誤或無法下載等各種情況,這樣的情況是正常的,只需要等網好的情況下多試驗幾次就好了。