I’m trying to run the ESP8266 the program near the bottom of this link [Solved] Arduino nano but the compiler chokes because it can’t find the library files. I put them in the sketchbook folder just like the “How to install Blynk Library” tutorial says. WTF ?
Also… the example program in “Getting Started” includes files that aren’t even in the Blynk Release v0.48 libraries (eg… ESP8266WiFi.h).
Frustration level - high !!!
Never had this much trouble working with Arduino before.
Any help appreciated.
Thanks.
Yes, I put the library files in C:\Users\Myname\Documents\Arduino\libraries but it’s not finding them.
I also tried doing it using the IDE library manager but it didn’t like the “Blynk_Release_v0.4.8.zip” file.
That’s because you have never had access to anything as powerful as Blynk.
Blynk is not a single library, it’s several, and that is why they MUST be installed manually. Not via the Arduino IDE, clearly documented and foolproof.
All the files you need ARE present. You are either looking at old sketches that used old libraries or you are selecting the wrong boards in the IDE.
What hardware do you actually have? Are you trying ESP standalone or ESP as shield?
So I deleted the old library files, got the folders from the ZIP file then did the manual install as posted by Gunner. The compiler is still not seeing the library files.
C:\Users\Alex\Documents\Arduino\ESP8266_Test\ESP8266_Test.ino:2:25: fatal error: ESP8266_Lib.h: No such file or directory
I’m using the ESP8266 on an ESP-01 adapter board (power supply, level conversion), wired to a Nano, using the RX and TX lines. IDE configured for the Nano.
The compiler is choking at not seeing the libraries so the hardware is irrelevant at this point.
I’m not a complete noob… been progamming micros in assembler since the 8085, 8051, 6805, 68HC11, 9S12, PICs, Atmegas. I’m sure it’s a simple oversight but I’ve got a beanache trying to find out what the problem is so I resorted to reaching out.
It is totally relevant as libraries are for SPECIFC hardware, that’s something you should have learnt very early on when using the Arduino IDE. Nothing to do with Blynk.
You will not see it without adding the board but as you are going with the nightmare connection method of ESP as a lowly shield then you can forget that for now.
And since you are referancing an old topic… perhaps you can post your sketch here so we can see if you are using the wrong libraries or not for your configuration…
That is admittedly a subjective opinion… but based on many “New to Blynk” users walking into this expecting a total plug’n’play setup. WiFi Shields by their very nature add another layer of complexity.
#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[] = "37121ec4c8ce460c8ffcc31d98d36904";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "Huzenetwerk";
char pass[] = "8051681100";
// Hardware Serial on Mega, Leonardo, Micro...
#define EspSerial Serial
// Your ESP8266 baud rate:
#define ESP8266_BAUD 9600
ESP8266 wifi(&EspSerial);
void setup()
{
// Set ESP8266 baud rate
EspSerial.begin(ESP8266_BAUD);
delay(10);
Blynk.begin(auth, wifi, ssid, pass);
}
void loop()
{
Blynk.run();
}