Connecting Esp8266 wifi module with Arduino uno


Hi, i am using Esp8266 wifi module with Arduino uno for my project. As i am new to this platform, i don’t know how to select and use the following setup. Please help me connect the setup to the platform. Thank u.


follow the steps from here :
change the hardware serial to a software serial on your arduino uno.


What to select in “Step 1: Choose a device to start a project”.


@shramiksalgaonkar Do you have any tutorials.

where to get:

char username[] = "MQTT_USERNAME";
char password[] = "MQTT_PASSWORD";
char clientID[] = "CLIENT_ID";


on your cayenne dashboard go to add new > devices/widget > bring your own thing. and you will get your MQTT credential.


@shramiksalgaonkar how do i connect my arduino uno?
Should i make ESP8266-01 as shield as mentioned in the examples?


What should i select here. Plz help…


bring your own thing.


@shramiksalgaonkar Having error:

C:\Users\Nebula\Documents\Arduino\libraries\Cayenne-MQTT-Arduino-master\src/CayenneMQTTESP8266Shield.h:29:34: fatal error: ESP8266SerialLibrary.h: No such file or directory

** #include “ESP8266SerialLibrary.h”**

** ^**

compilation terminated.


you have not installed the library. please follow the steps from the link i gave.

    1. Install the library via the Arduino IDE (Sketch->Include Library->Add .ZIP Library) from the Cayenne extras/libraries
       folder (e.g. My Documents\Arduino\libraries\CayenneMQTT\extras\libraries) to compile this example.