Basic problem with ESP on Arduino

hi everyone,

I have connected the ESP to the Arduino (like in attachment) but with RX/TX to pin 0 and 1, instead 10 and 11.
(with an empty sketch)

I open the Serial Monitor… and the ESP respond to me correctly.
I send “AT”
It response “OK”

after I was trying to make this directly between Arduino and Esp.
I have moved the RX/TX to 10 and 11 (like in attachment)

and I have this code:

#include <SoftwareSerial.h>
SoftwareSerial mySerial(10, 11);

void setup() {

  delay(5); // already try more than 5
  if (!mySerial.find("OK")) Serial.print("ok not found!");

void loop() {

but the Serial Monitor always return to me “ok not found!”.

can someone help me?

someone have an basic example really tested?

(because online I found too much different examples :confused: )

thank you in advance

Software serial does not work with 115200 baud.

The module is not connected like described in your attachment.

The ESP Module do not work on a breadboard without an adapter.

You can change the default baud rate of the ESP-01 from 115200 to 9600 or something else. I would do that if you intend on using software serial.