[2011] ESP is not responding

And if you enter AT+UART_DEF=115200,8,1,0,0 this should set it to that BAUD rate, which is what you had your sketch set for.

Ок ΠΏΠΎΠΏΡ€ΠΎΠ±ΡƒΡŽ. Но насколько я понял Ρ‡Ρ‚ΠΎ ESP ΡƒΠΆΠ΅ настроСн Π½Π° ΡΠΊΠΎΡ€ΠΎΡΡ‚ΡŒ 115200 Ρ‚Π°ΠΊ ΠΊΠ°ΠΊ ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹ я Π΅ΠΌΡƒ ΠΎΡ‚ΠΏΡ€Π°Π²Π»ΡΡŽ Π½Π° скорости 115200.

Oh, I thought you had it set for 74800 for some reason.

I guess you can progressively lower the BAUD in both ESP and sketch until it either works or you reach 9600, whichever comes first.

Not sure what else to suggest as I am not really understanding your hardware setup.

А ΠΌΠΎΠΆΠ΅Ρ‚ Π±Ρ‹Ρ‚ΡŒ ΠΏΡ€ΠΎΠ±Π»Π΅ΠΌΠ° с Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΎΠΉ? ΠœΠΎΠΆΠ΅Ρ‚ ΠΊΠ°ΠΊΠΈΠ΅ Ρ‚ΠΎ ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹ Π±ΠΈΠ±Π»ΠΈΠΎΡ‚Π΅ΠΊΠΈ ΠΎΠ½ Π½Π΅ ΠΏΠΎΠ½ΠΈΠΌΠ°Π΅Ρ‚? ΠΈΠ»ΠΈ Π½Π΅ успСваСт ΠΏΠΎΠ½ΡΡ‚ΡŒ? Π’Ρ‹ Π·Π½Π°Π΅Ρ‚Π΅ с ΠΊΠ°ΠΊΠΎΠΉ ΠΏΡ€ΠΎΡˆΠΈΠ²ΠΊΠΎΠΉ Blynk Ρ‚ΠΎΡ‡Π½ΠΎ Ρ€Π°Π±ΠΎΡ‚Π°Π΅Ρ‚?

No… it works well for others using ESP as shield… with many different AT firmware versions that I have seen.

It is a basic serial communication, match the TX/RX pins, voltages, BAUD and it just works.

А ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΠ΅ ΠΊ ESP

ATMEGA ESP
TX - RX
RX - TX

Π’Π°ΠΊ?

Your picture shows what looks a custom setup… I have mentioned this before, but since nothing else seems to be working…

Are you sure you are using the correct pins for Serial2?

Are you connecting the ATMEGA’s 5v TX directly the the ESP’s 3.3v RX?

Can you confirm Arduino/ESP connection with any other Arduino sketch? For example I use this one on my MEGA when i want to make adjustments to the ESP-01 connected to it (I use Serial1… adjust accordingly)

/*
Accessing AT commands on ESP8266-01 with integrated WiFi login.
ESP connected to Serial1 on Mega
AT commands via IDE Serial monitor.
*/

// ===== VOID SETUP LOOP =====
void setup()
{
  Serial.begin(115200);  // Set IDE Monitor baud rate
  Serial1.begin(115200);  // Set ESP8266 baud rate
  delay(10);
  Serial1.println("AT+CIFSR");  // just displays network connection IP and MAC so I know it is online.
}

void loop()
{
  // read from port 1, send to port 0:
  if (Serial1.available()) {
    int inByte = Serial1.read();
    Serial.write(inByte);
  }

  // read from port 0, send to port 1:
  if (Serial.available()) {
    int inByte = Serial.read();
    Serial1.write(inByte);
  }
}

Π― ΠΈΡΠΏΠΎΠ»ΡŒΠ·ΡƒΡŽ:
Serial1 - max485
Serial2 - ESP
Serial3 - none
Serial4 - none

На ΠΏΡ€Π΅Π΄Ρ‹Π΄ΡƒΡ‰Π΅ΠΉ вСрсии ΠΏΠ»Π°Ρ‚Ρ‹ всС Ρ€Π°Π±ΠΎΡ‚Π°Π»ΠΎ. ΠΠ˜ΠΊΠ°ΠΊΠΈΡ… ΠΈΠ·ΠΌΠ΅Π½Π΅Π½ΠΈΠΉ я Π½Π΅ вносил. Π‘ Π΄Ρ€ΡƒΠ³ΠΎΠ³ΠΎ ΠΏΠΎΡ€Ρ‚Π° Ρ‚ΠΎΠΆΠ΅ Π½Π΅ Ρ€Π°Π±ΠΎΡ‚Π°Π΅Ρ‚. Π’Ρ‹Π΄Π°Π΅Ρ‚ Ρ‚ΠΎΠΆΠ΅ самоС.

Когда я ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π°ΡŽ ESP ΠΊ ATMEGA, Ρ‚ΠΎ ESP ΡƒΡ…ΠΎΠ΄ΠΈΡ‚ Π² ΠΎΡˆΠΈΠ±ΠΊΡƒ. И Π½Π° АВ ΠΊΠΎΠΌΠ°Π½Π΄Ρ‹ ΠΎΡ‚Π²Π΅Ρ‡Π°Π΅Ρ‚ ERORR. ΠŸΠΎΡ‡Π΅ΠΌΡƒ Ρ‚Π°ΠΊΠΎΠ΅ ΠΌΠΎΠΆΠ΅Ρ‚ Π±Ρ‹Ρ‚ΡŒ?

Can you expand on this statement… are you using same Blynk sketch or something different? What error? Do you have serial monitor info you can show

Π‘ΠΊΠ΅Ρ‚Ρ‡ ΠΎΠ΄ΠΈΠ½ ΠΈ Ρ‚ΠΎΡ‚ ΠΆΠ΅ Π²ΠΎΡ‚ ΠΎΠ½:

#define BLYNK_PRINT Serial3

#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>

// You should get Auth Token in the Blynk App.
char auth[] = "123";                                //ΠšΠ»ΡŽΡ‡ для ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΡ ΠΊ WiFi
char ssid[] = "123";                                //Π›ΠΎΠ³ΠΈΠ½ для ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΡ ΠΊ WiFi
char pass[] = "123";                               //ΠŸΠ°Ρ€ΠΎΠ»ΡŒ для ΠΏΠΎΠ΄ΠΊΠ»ΡŽΡ‡Π΅Π½ΠΈΡ ΠΊ WiFi

#define EspSerial Serial2

#define ESP8266_BAUD 115200
ESP8266 wifi(&EspSerial);

void setup()
{
pinMode(12, OUTPUT);   
Serial3.begin(9600);
delay(10);
EspSerial.begin(ESP8266_BAUD);
Blynk.begin(auth, wifi, ssid, pass);
}

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

Please remember to format posted code…

Blynk%20-%20FTFC

As for whatever is wrong,I have no further answers regarding the Blynk connection… it looks correct and should work as long at he physical, voltage, BAUD etc. stuff is fine. So is the AT version near as I can tell.

Still waiting your clarification on the results of other non-Blynk sketches… do they connect or not?

КакиС я ΠΌΠΎΠ³Ρƒ Π΄Ρ€ΡƒΠ³ΠΈΠ΅ эскизы ΠΏΠΎΠΏΡ€ΠΎΠ±ΠΎΠ²Π°Ρ‚ΡŒ?

I just posted one above… Google might have others.

Π’Ρ‹ ΠΎΠ± этом?

/*
Accessing AT commands on ESP8266-01 with integrated WiFi login.
ESP connected to Serial1 on Mega
AT commands via IDE Serial monitor.
*/

// ===== VOID SETUP LOOP =====
void setup()
{
  Serial.begin(115200);  // Set IDE Monitor baud rate
  Serial1.begin(115200);  // Set ESP8266 baud rate
  delay(10);
  Serial1.println("AT+CIFSR");  // just displays network connection IP and MAC so I know it is online.
}

void loop()
{
  // read from port 1, send to port 0:
  if (Serial1.available()) {
    int inByte = Serial1.read();
    Serial.write(inByte);
  }

  // read from port 0, send to port 1:
  if (Serial.available()) {
    int inByte = Serial.read();
    Serial1.write(inByte);
  }
}

It is the only code i posted in this topic :stuck_out_tongue: so yes…

As commented, It works with the MEGA and an ESP connected to one of the Hardware Serial ports.

If the connection is good, then it can be used to run AT commands, such as for setting BAUD rates and such. Or just as a simple β€œThe connection to the ESP is OK” test :wink:

Ок ΠΏΠΎΠΏΡ€ΠΎΠ±ΡƒΡŽ. Но Π² Ρ†Π΅Π»ΠΎΠΌ ΠΏΡ€ΠΎΡˆΠΈΠ²ΠΊΠ° ΠΌΠΎΠΆΠ΅Ρ‚ Π΄Π°Π²Π°Ρ‚ΡŒ Ρ‚Π°ΠΊΠΎΠ΅ сообщСния ΠΊΠ°ΠΊ ESP is not responding

This is a Blynk message (from the Blynk Library, running on the Mega, not the ESP)… and that is literally what it means. As for the whys… well… :stuck_out_tongue: