当前位置:网站首页>Esp01s with Arduino development environment

Esp01s with Arduino development environment

2022-04-23 18:52:00 Brick Porter

One 、 sketch

esp8266 It's a low-cost chip , Do Internet of things development exercises. Ok .

Hardware : A treasure online shopping es- 01s+CH340 Downloader , Of course, it is also possible to directly use the computer serial port , But now the new computer may not have a serial port, even if it is not very convenient , Not as good as USB The convenient .

Novices suggest buying this USB Microplate , Put... Directly ES01S Plug it in and you can download the program , Quite convenient .

Without this function, the following connections are required , The resistance is 10K

Two 、 To https://www.arduino.cc/en/software download arduino. Install it . The driver can be installed according to the actual situation . I didn't install , Use WINDOWS Self installed CH340 drive .

3、 ... and 、 open arduino after , stay file =》 Preferences Add additional board data as shown below , Remember this address , Maybe you can use it later .

Text address http://arduino.esp8266.com/stable/package_esp8266com_index.json

  Four 、 Click on Tools =》 Development board =》 Development management board ,PS: The text after the three words of the development board may be different , I have chosen 8266.

5、 ... and 、 Filter input in the development board management 8266. I have installed it here , If it is not installed, there will be an install button on the lower right , Just install it directly . The latest is 3.0.2.

  As expected, there is a high probability that the installation will fail , as a result of github Quilt wall , If it doesn't look like it, it's troublesome .

terms of settlement :

Remember the website above http://arduino.esp8266.com/stable/package_esp8266com_index.json, If you've opened it, you'll know , It's actually right 8266 Development board tools support configuration . In this way, we only need to manually use the download software to download successfully .

Place after download

C:\Users\【 Your username 】\AppData\Local\Arduino15\staging\packages

I downloaded the following packages , Depending on the version, the package requirements may be different , At this time, you can download the error message in the previous step  http://arduino.esp8266.com/stable/package_esp8266com_index.json Find the corresponding file in URL Just download it .

I put my downloaded here 3.0.2 https://download.csdn.net/download/lovehuanhuan1314/80400400

0 integral , Self access required .

6、 ... and 、 In the development board management, select 8266 that will do . If it is other models, it needs to be modified accordingly , Be careful , The model change here will change the corresponding configuration , If the upload fails , Maybe it's the wrong model here

  At this point, if all steps are correct , Then the development environment is ready .

Open an example .

  Click upload... On the toolbar . If normal , Will be output

  This is the time , open   Tools =》 Serial monitor The following information will be output

thus , The environmental tower is completed . 

版权声明
本文为[Brick Porter]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204210603257095.html