You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Gerardo Marx Chávez-Campos 5ee7f996e4 libraries 2 years ago
LICENSE Initial commit 2 years ago
README.md libraries 2 years ago
esp32-mqtt-emqx.ino MQTT test with emqx free broker 2 years ago

README.md

Introduction

This code in mainly based on this tutorial.

In this project, we will connect ESP32 to a free public MQTT server operated and maintained by EMQX MQTT Cloud, and use the Arduino IDE to program the ESP32. EMQX Cloud is a secure MQTT IoT cloud service platform launched by EMQ. It provides MQTT 5.0 access service with one-stop operation and maintenance management and a unique isolation environment1.

Arduino Configuration

It is necessary to add ESP32 library to the Arduino IDE by Click Tools -> Development Board -> Development Board Management -> Search ESP32 -> Install

Then, install the PubSubClient library by Project -> Load library -> Library manager... -> Search PubSubClient -> Install PubSubClient by Nick O’Leary