Cytron Esp8266 wifi shield not responding to Blynk
Posted: Sat Feb 29, 2020 3:20 pm
I purchased a unit of Cytron esp8266 wifi shield and follow this official user manual and it works great all the way to the simple wifi server part. but when I follow the video tutorial all I get is this from serial monitor:
here is my code (I put the RX TX jumper to D2 and D3):
I already tried the AT commands and it is working fine. why it is not working when connecting to Blynk?
[9]
___ __ __
/ _ )/ /_ _____ / /__
/ _ / / // / _ \/ '_/
/____/_/\_, /_//_/_/\_\
/___/ v0.6.1 on Arduino Uno
[598] Connecting to <my wifi>
[1608] ESP not responding
here is my code (I put the RX TX jumper to D2 and D3):
- CODE: SELECT_ALL_CODE
#define BLYNK_PRINT Serial
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>
char auth[] = "<my auth>";
char ssid[] = "<my ssid>";
char pass[] = "<my password>";
#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3);
#define ESP8266_BAUD 115200
ESP8266 wifi(&EspSerial);
void setup()
{
Serial.begin(9600);
delay(10);
EspSerial.begin(ESP8266_BAUD);
delay(10);
Blynk.begin(auth, wifi, ssid, pass);
}
void loop()
{
Blynk.run();
}
I already tried the AT commands and it is working fine. why it is not working when connecting to Blynk?