1

I encountered an issue when I try to send AT commands from Arduino nano to ESP01 I tried to find any tutorial for more helps, but I find nothing. please someone can help me.

I tried the tutorial from this link. https://electronicslovers.com/2017/11/learn-how-to-setup-wifi-module-esp8266.html

But nothing happens when I type AT in serial monitor. I didn't see any response from the ESP module.

7
  • maybe the two modules are not connected together Commented May 30, 2023 at 23:49
  • 1
    Show your code. There are some errors in the code in the text of the linked article. For example, here if(a != ‘r’ && a != ‘n’ && (a < 32)) the 'n' should be '\n' (new line character). Did you notice that the wiring diagram shows the top view of the ESP-01 module, not the underside which nomally you'd make the connections to. Commented May 31, 2023 at 0:56
  • I really connect them together as shown in the diagram on the site and I also already fixed the error in the code then I upload the code in the Arduino but always nothing. Commented May 31, 2023 at 8:29
  • I notice all you say 6v6gt but it's impossible communicate both microcontrollers. Commented May 31, 2023 at 8:31
  • 1
    Please put the code in your original question as comments are unsuitable for long pieces of code and it is very difficult to read. The code does not anyway appear to match the diagram in your linked article. RX of one device should be connected to TX of the other device. Try: SoftwareSerial softSerial(2, 3); // RX, TX note 2&3 intercahnged . Commented May 31, 2023 at 12:09

0

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.