As soon as i connect the CHD_PD pin (labeled "EN" on my esp-01) the arduino IDE gives me the warning, "Not connected. Select a board and a port to connect automatically".
I tried following other guide's. Tried with the resistors between the CHP_PD channel and without. I search for my problem but couldn't find any solution.
Does someone have an idea why this might be?
I don't have a clue how to progress from here on so help would be much apreciated.
You might start by checking that Arduino's 3.3v is up to powering the ESP. I believe it isn't, but I don't know if that is pertinent to the problem at hand. Also, you may have good reason to run an ESP off an Arduino but, as you show it, Arduino could be redundant.
are you using a ESP-01 or ESP-01S?
from ESP8266_01_pin_magic GPIO0 and GPIO2 need to have pull-up resistors connected to ensure the module starts up correctly. The ESP-01S has 12K resistors on the board for GPIO0, RST and CH_PD
There must be some sketch running on the Nano, or else there would be no such response, unless....
well if it was an UNO, it probably would be up for it, but a Nano for sure isn't, and as a result the nano may be under powered causing it to lose USB connection.
which is required for the ESP-01 to power up. Once it powers up it will start to draw significant current, etc...
get a 3.3v regulator to power the ESP and put a capacitor on the input and output voltage of the regulator, and then try again.
I am assuming that you are planning to use swSerial to communicate between the boards, using pin 11 may cause some issues at some point, using pins 2 & 3 is a more common solution.
Thanks for the reply i now tried using an external powersupply unit and now the arduino won't lose connection after connecting the ESP-01. Aka it seems to work
But i still get no answer from the serial commonucation. I tried using normal Rx and Tx pins and sending AT commands over the Serial console. But there is no response and also i can't even see the command I send. Shouldn't the command at least be visible in console?
My "reason" for using the esp-01 and arduino is that i had them lying around and the esp01 alone doesn't have enough io_pins for my project(also no analog pins). Now i fixed my first issue but I now there is no response from the esp-01
So the solution was indeed this at the end. The AT command first didn't work because i had something in my wiring messed up. Also i needed to connect the two ground (which i now i had to do but forgot in the End. Thanks Alot to everyone who helped in this thread. I am happy to have joined this wonderfull community with so many people willing to help. Thank