配置环境
将程序烧录到Arduino中,一共需要三步:
- 选择好对应的例程
- 配置Arduino开发板的下载口
- 选择Arduino开发板型号
出现问题
问题一:Serial port not selected.
已解决:找不到串口,插入开发板,未自动安装驱动
解决方法:
1.进入设备管理器,查看Arduino对应的串口,在工具中配置端口。
2.手动安装驱动,链接:https://pan.baidu.com/s/1O4cglz7j_D8zbBJbpH9r2A
提取码:hkol
问题二:无esp8266开发板选项
试图解决:添加开发板网址:
https://raw.githubusercontent.com/DFRobot/DFRobotDuinoBoard/master/package_dfrobot_iot_mainboard.json
https://gitee.com/dfrobot/firebeetle-esp8266/blob/master/package_firebeetle8266_index.json
但是IDE连接网址出错,或许需要翻墙。。。
问题三:下载开发板esp8266出错
常见错误:
1.下载速度慢
2.下载失败
3.CRC校验错误
已解决:翻墙无用,多下几遍总会成功,也可以吧Arduino IDE重装试试。
问题四:coredecls.h
I had loaded an early version of the ESP8266 package in Board Manager. Once I updated it to the latest version 2.4.2 (not the Beta versions) the 2018 sketch compiled successfully.
问题五:驱动安装问题
Driver package ‘C:\Windows\System32\DriverStore\FileRepository\ch341ser.inf_amd64_084c012580251feb\ch341ser.inf’ is already imported.