Arduino Uno with ESP8266_ Blynk

Hi There,

Firstly, I'm not a programmer but an hobbyist, :grin:

The idea will be to read an analog Current and Voltage input on the Uno and get the values to display on my android phone using the BLYNK App. I also want to control an digital output on the Uno which will act as my generator start signal.

I already managed to flash the ESP8266-01 with the latest software as well as communicated all desired AP commands using the Uno as the "programmer".
The internet is filled with examples and all kind of Libraries etc.

I have installed arduino IDE from arduino.cc version 1.8.1
Also installed the Blynk library version 0.4.4

According to tutorials I must open the Blynk.software serial example....
When following examples_Blynk_Blynk Wifi etc... I cannot find such an example. I also cant find the Device "esp8266" in the arduino IDE devises list.

Can someone please point me to the correct latest revisions for Blynk libraries as well addons for the Arduino IDE to program the ESP8266/

Thank you

at least I get the below to compile successfully.....
But I get the "avrdude" error when trying to upload?

Any idea what I'm doing wrong.
I've...

  1. selected the correct com port
  2. selected Arduino UNO/Genuino board
  3. disconnected the TX, RX to the ESP8266

#define BLYNK_PRINT Serial // Comment this out to disable prints and save space
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "";

// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "";
char pass[] = "";

// Hardware Serial on Mega, Leonardo, Micro...
//#define EspSerial Serial1

// or Software Serial on Uno, Nano...
#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3); // RX, TX

// Your ESP8266 baud rate:
#define ESP8266_BAUD 9600

ESP8266 wifi(&EspSerial);

void setup()
{
// Set console baud rate
Serial.begin(9600);
delay(10);
// Set ESP8266 baud rate
EspSerial.begin(ESP8266_BAUD);
delay(10);

Blynk.begin(auth, wifi, ssid, pass);
}

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

I assume no one is familiar with the ESP8266?

Anyway, the AVRDUDE error is sorted, had to unpluf RX TX to ESP8266 when loading Code on the UNO.

However, can someone mabe assist with the attached errors.

When defining the ESP Baud in my code as 115200 I get:

[14647] Failed to enable MUX
[15659] Failed to set STA mode

When defining the ESP Baud as 9200 I get:
[13575] Failed to set STA mode

Any assistance will be appreciated

Sorted it myself, thank you for all your guys' inputs.

I must say, this is an excellent Forum. Lots of help and assistance.

FIVE STARS FOR ARDUINO.