I want to control Neopixel leds by using Cayenne through a Chrome browser on a PC.
I have an Uno board and an Adicore Esp8266-01 wifi module board. I haven’t used the Esp8266 board before.
I have existing code and libraries that define led color animations that I currently run from the Uno. How would I set up my system to utilize Cayenne to provide control inputs to the sketch that controls the leds?
Thanks. Would I just choose the WIFI shield sketch in this case? Or would I use the manual sketch? I assume I would wire the Rx and Tx of the module to the Uno.
This code is again not yet officially supported by Cayenne, so let me know and the community can help you.
Note, when you upload to the UNO, you will want to disconnect the Arduino RX line otherwise you can’t program the UNO because the ESP and the IDE are both trying to drive the same line.
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 !
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