please help me! I can’t connect my Arduino Mega to blynk, even though my source code Arduino already has ‘Done Uploading’. the source code is:
#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[] = "q7uYUIAuDGELS0ImHQCvvVSnir8aLeGZ";
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "Tembok Wifi";
char pass[] = "1sampai8";
// Hardware Serial on Mega, Leonardo, Micro...
#define EspSerial Serial1
// or Software Serial on Uno, Nano...
//#include <SoftwareSerial.h>
//SoftwareSerial EspSerial(17, 18); // RX, TX
// Your ESP8266 baud rate:
#define ESP8266_BAUD 9600
ESP8266 wifi(&EspSerial);
void setup()
{
// Debug console
Serial.begin(9600);
// Set ESP8266 baud rate
EspSerial.begin(ESP8266_BAUD);
delay(10);
Blynk.begin(auth, wifi, ssid, pass);
// You can also specify server:
//Blynk.begin(auth, wifi, ssid, pass, "blynk-cloud.com", 80);
//Blynk.begin(auth, wifi, ssid, pass, IPAddress(192,168,1,100), 8080);
}
void loop()
{
Blynk.run();
// You can inject your own code or combine it with other sketches.
// Check other examples on how to communicate with Blynk. Remember
// to avoid delay() function!
} ```
and the problem is:
[1[9]
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ / ' <em>/
/</em> ***/* /_, /* //* / <em>/_
/</em> __/ v0.6.1 on Arduino Mega
[100] Con2:Tembok Wifi
[1133] Fail2Rst
[11143] FailW
:
I connecting Arduino Mega 2560 to ESP8266 ESP01 which upgraded version.
i connected Arduino Mega 2560 to ESP01.
ESP01 pin --> Arduino Mega
TX --> RX
RX --> TX
VCC --> 3.3V
CH_EN --> 3.3V
GND --> GND
does anybody know how to solve my problem? i can't find it. :frowning: