How to test connection of WiFi ESP8266 ESP-01 to Arduino UNO?

I am using a module WiFi ESP8266 ESP-01 with an Arduino UNO. I connected the wifi module to the board but I am not sure how to test it. Also, I tried uploading an empty sketch to the board to test it but the serial monitor doesn't show me anything at writing the "AT" command.

The connections look like this:

how can I test the wifi module?
The rest of the circuit is a display and a dht22 sensor and some leds

That is NOT how breadboards work!

But how should I do this? I am a beginner at using Arduino

There are tons of tutorials showing how to connect an (outdated) ESP-01 to an arduino. Google that…

I changed the wiring method, but should I also use a voltage regulator for the wifi module? I saw in some tutorials that ld1117v33 is needed. Also I'm trying to test the module with the 'AT' command, but nothing is displaying in the serial monitor... I also changed the baudrate and nothing

If this is your whole project and you do not want to add more hardware, it may be better to remove the Arduino Uno and ESP01 module and use only the Wemos D1 mini (based on ESP8266) module instead. This way you will have a much faster microcontroller with much more memory and all the logic and settings will be clearer in my opinion.
Good luck.

OK, so you changed the wiring, that you have not shown us, and using code you have not posted!

Good luck!

Here is the wiring I used, as can be seen in the post:


And I am using an empty sketch, just so I can use the serial monitor, so no code at the moment.

Well in that case you should swap the TX & RX lines. Also you should add a voltage divider on the ESP-01's RX line to reduce the 5v logic level to 3.3v
So then the Uno is not running anything. And the RX & TX of the ESP replace the RX & TX of the UNO.
Set the baud rate to 115200 in the serial monitor and change line-ending to 'Both CR & LF'

Most of the times the UNO's 3.3v is sufficient, but it doesn't have a lot of heatsink on the UNO's onboard regulator and the ESP is quite power hungry.

I just swapped the tx and rx like in the above diagram(tx of arduino to rx of esp and rx of arduino to tx of esp), but the serial monitor is still empty. I just pressed the AT command, with no result:

I said Rx to Rx and Tx to Tx. And don't forget about the voltage divider. The pins on an ESP-01 are not 5v tolerant.

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.