0

I am trying to use an arduino uno to check to see if an esp8266-015 wifi module is working using AT commands. Connections ESP8266 Arduino Rx-Rx Tx-Tx GND-GND EN-3.3v VDD-3.3

I selected arduino uno in my board manager and the correct port this code is just a setup and loop

void setup() {
  // put your setup code here, to run once:

}

void loop() {
  // put your main code here, to run repeatedly:

}

But when I type AT into the serial monitor, nothing happens, All I see is the serial monitor spitting this. image

I have looked through several tutorials and I keep getting this error, it just keeps printing the gray question marks. This is my first time using an esp8266 wifi module.

4
  • select 115200 baud Commented Nov 14, 2022 at 18:58
  • I did that it still produced that output Commented Nov 14, 2022 at 21:21
  • Arduino TX -> ESP8266 RX, Arduino RX <- ESP8266 TX. You need to connect the sender to receiver, not RX - RX, TX - TX. Commented Nov 15, 2022 at 0:28
  • @hcheung, the esp8266 communicates with the USB chip of Uno, not with the ATmega Commented Nov 15, 2022 at 6:47

1 Answer 1

0

You need to start the serial monitor first in your code, otherwise it won't be readable. Putting:

Serial.begin(115200); 

Within the setup loop should allow this to be readable, but you can also add extra processing as shown at this link: https://www.instructables.com/Get-Started-With-ESP8266-Using-AT-Commands-Via-Ard/

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

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.