Using Olimex ESP8266-EVB is easy


#1

I tried Olimex ESP8266-EVB and it works.

If you want to use it, you have to use Arduino IDE with installed support for ESP8266. Then you need to connect Olimex board as is desribed here. Then you upload this code:

#include "CayenneDefines.h" #include "BlynkSimpleEsp8266.h" #include "CayenneWiFiClient.h"

// Cayenne authentication token. This should be obtained from the Cayenne Dashboard.
char token[] = "Your token";
// Your network name and password.
char ssid[] = "Your ssid";
char password[] = "Your pwd";

void setup()
{
 Serial.begin(9600);
 Cayenne.begin(token, ssid, password);
}

void loop()
{
 Cayenne.run();
}

For uploading code you have to select board Olimex-MOD_WIFi-ESP8266 at Arduino IDE.

When you create switch for the controlling relay you have to use pin D5


#2

Hey @jipech,

This is excellent, thank you for sharing your code. What sort of projects do you have in mind for this Olimex ESP8266 setup?


#3

I use it for the remote control of the bulb