Blynk with SparkFun WiFi Shield ESP8266

Hi,

I haven’t been able to find a working example of Blynk with SparkFun WiFi Shield that runs with an Arduino Uno. The ones I found are very old and incomplete.

Could anyone point me in the right direction?

thanks!

Once you get it connected to the UNO and use the proper pins (SoftwareSerial is recommended) then it will work as any other ESP8266 as shield.

https://learn.sparkfun.com/tutorials/esp8266-wifi-shield-hookup-guide

Worked great, thank you for pointing me in the right direction.

It took me a while to figure out how to make the code generated by the code builder to work.

This is what I’ve done:

  • Add the reference to SoftwareSerial.h
  • Comment the line “define EspSerial Serial1”
  • Use the pins 8,9 in the Serial defintion: SoftwareSerial EspSerial(8, 9); // RX, TX
  • Change Baud rate to 9600 (it does not work with 115200)

And, important, use a 2G access point. I had to add another SSDI to my Unify network to make it work.

I am sharing my working code here: