How to set up Uno + esp8266 seperate module?


#1

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!


#2

It is possible, however I need to test it better myself. It relies on the ESP having the NodeMCU/AT firmware.

Cheers,

Craig


#3

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.


#4

Busy week for me.

I have a solution that compiles, and want to put together a how-to to use the esp8266 as a shield.

I hope to have time this weekend.

Cheers,

Craig


#5

@sekramer10,

I can confirm that this howto works.

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.

Cheers,

Craig


Arduino UNO WiFi to cayenne dash board
#6

Bumping this old thread to share that we’ve just provided support in our MQTT Arduino library for using ESP8266 as a shield :slight_smile: 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: