web123456

Arduino Connection with ESP8266 WIFI Module

1. ESP8266WiFi Library File Download

arduino ide -> Preferences -> "Attach Board Manager URL" input:

http://arduino./stable/package_esp8266com_index.json

Project -> Load Libraries -> Manage Libraries, then pull to the end and download the library file below:

这里写图片描述

Note: If the download fails, try a few more times.

Tools -> Development Board -> NodeMCU 1.0 (ESP-12E Moudle)

这里写图片描述

ESP8266 Presentation:/Arduino/versions/2.0.0/doc/

2. PubSubClient Library File Download

Download address and description:

/knolleary/pubsubclient

/knolleary/pubsubclient/blob/master/

Then take the downloaded ZIP file and add it as Add Library.

An introduction to the publishclient library API:

/

3. Introduction to the MQTT family

/search?q=MQTT

/sinat_31500569/article/category/6782744

/yangguosb/article/category/7312443

Tutorial Series

reprinted from

/