It is supported, just not officially.
Follow my HowTo…
So my HowTo in a nutshell.
I bought ESP8266-07 modules from AliExpress for a whole $2 each shipped. ESP8266 serial WIFI model ESP 07 Authenticity Guaranteed ESP 07S|Integrated Circuits| - AliExpress
To use them, you must provide a 3.3V supply between VCC and GND, attach the EN pin to VCC, and GPIO15 to GND.
To program, you must pull GPIO0 low, and momenterally put RST low to get into flashing mode.
You should also have an FTDI RS232-3V3 cable or some other USB to Serial converter with 3.3V l…
1 Like
adam
July 4, 2016, 9:29pm
3
I think he means using it as a shield for the Arduino, which I believe is being worked on right now.
kreggly:
Esp8266
The Blynk library supports it. Don’t know if Cayenne does as I’ve not tried it myself.
It may be as simple as using this line instead in your arduino sketch:
#include “BlynkSimpleShieldEsp8266_HardSer.h”
Craig
Do a quick search in this community for esp8266
Bumping this old thread to share that we’ve just provided support in our MQTT Arduino library for using ESP8266 as a shield We’ve done basic testing and works well. Give it a try for your project and let us know how it works out for you !
Here is the updated library on our github:
and the code can be found here:
/*
This sketch connects to the Cayenne server using an ESP8266 WiFi module as a shield connected via a hardware serial to an Arduino.
The CayenneMQTT Library is required to run this sketch. If you have not already done so you can install it from the Arduino IDE Library Manager.
Steps:
1. Install the ESP8266SerialLibrary.zip 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.
2. Connect the ESP8266 as a shield to your Arduino. This example uses the Serial1 hardware serial pins available on the Mega. You can also try
using a software serial, though it may be less stable.
3. Set the Cayenne authentication info to match the authentication info from the Dashboard.
4. Set the network name and password.
5. Compile and upload the sketch.
6. A temporary widget will be automatically generated in the Cayenne Dashboard. To make the widget permanent click the plus sign on the widget.
NOTE: This code requires ESP8266 firmware version 1.0.0 (AT v0.22) or later.
*/
//#define CAYENNE_DEBUG // Uncomment to show debug messages
#define CAYENNE_PRINT Serial // Comment this out to disable prints and save space
This file has been truncated. show original
1 Like