3

I would like to connect an Arduino Uno and an ESP 01 module. I use the Arduino IDE and I tried to test communication via serial monitor. I get the "ready" message from the ESP 01, but I am not able to issue AT commands from the serial monitor. It only displays random characters on the console.

It seems that no newline character is issued, because if I try to insert commands, they are inserted next to previous characters. I use "Both NL & CR" and 115200 baud settings in Arduino IDE. I tried 9600 baud too, but then the text is unreadable.

I used the following pins on my ESP-01:

Vcc -> 3,3V
Gnd -> Gnd
Rx -> Tx(pin 0) of my Arduino, used voltage divider to make it 3.3V.
Tx -> Rx(pin 1) of Arduino
CH_PD -> 3.3V

Please see serial monitor screenshot: enter image description here

EDIT: PROBLEM RESOLVED:

My Arduino is connected to my PC via USB, so I changed pins for communication with the ESP by SoftwareSerial to pins 10 and 11. Now it works. Thank you.

MatsK
1,3661 gold badge11 silver badges24 bronze badges
asked Jul 9, 2016 at 12:24

2 Answers 2

1

Just to have an answer instead of just an edit/addition to the question:

EDIT: PROBLEM RESOLVED:

My Arduino is connected to my PC via USB, so I changed pins for communication with the ESP by SoftwareSerial to pins 10 and 11. Now it works. Thank you.

Ok... sure... your Uno's Atmega384 was talking with pins 0 and 1 to the USB adaper chip (Atmega16u2 on Uno R3) and at the same time to the ESP-01.

Read the fine schematic: Arduino Uno R3

community wiki

0

It could be the case, that the Arduino power supply is insufficient.

"[...] note that the Arduino 3.3V regulated output (50 mA max) can't drive the current requested by the ESP (Up to 200 mA). Some tutorials on the Internet use the Arduino 3.3V to power the ESP, but it didn't worked for me. I'm using an external power supply (An old 5V Android charger)."Source

Possible, that the power consumption was within range when the readable text was printed and too high when all the unreadable stuff was sent.

answered Jul 9, 2016 at 14:13
3
  • Tried to use power supply with 3,3V / up to 1A and now and received only random characters instead of "ready"message :( Commented Jul 10, 2016 at 12:41
  • Also, I inserted power source directly to Vcc pin of ESP, didnt uset any kind of diode/stabilizator etc, this could problem maybe? Commented Jul 10, 2016 at 13:03
  • Also, my voltage divider is: 3300 Ohm and 6600 Ohm, not sure if this is ok :x Commented Jul 10, 2016 at 13:21

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.