ESP-01 works with USB adapter but not when on breadboard

###Found the problem###
VCC & CHPD are the correct connection to 3.3v.
Oddly enough, the ESP-01s didn't care if it was connected wrong.
####################

The program is relatively simple. On a breadboard, the ESP-01 is wired to two LEDs with resistors to GP0 & GP2. VCC & RST to 3.3v. GND to GND.

If I load the program to an ESP-01s, the ESP-01s connects to home network and rest of program controls the LEDs as expected.

If I load the program to an ESP-01 and then run it on the USB adapter, it works, and the onboard LED flickers as expected since the rest of the wiring is not available since using the USB adapter.

Now, if I put that same ESP-01 in the same breadboard setup that worked for the ESP-01s, it does not work. No connection to the home network happens, it just sits there dead, no flickering of the onboard LEDs.

Everything I've read states that the ESP-01 & ESP-01s are completely interchangeable as long as the program isn't too big for the ESP-01.

If it matters, I do not change any settings in Arduino IDE when loading the ESP-01 & ESP-01s.

So, the question is, why does the program work when the ESP-01 is powered via the USB adapter and not when it is plugged into a breadboard setup that works with an ESP-01s?

Thanks in advance.

Please post your sketch, using code tags when you do

Found my problem and amended my OP.

But, relative novice to using this forum. What do you mean by use "code tags"? Is there an explanation of that on this forum and how to do it properly?

See the advice given in the link below , in particular the section entitled 'Posting code and common code problems'

Use code tags (the < CODE/ > icon above the compose window) to make it easier to read and copy for examination

https://forum.arduino.cc/t/how-to-get-the-best-out-of-this-forum

Posting your code using code tags prevents parts of it being interpreted as HTML coding and makes it easier to copy for examination

In my experience the easiest way to tidy up the code and add the code tags is as follows
Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help.

1 Like

If only there were sticky posts at the top of this category that would explain that.
Something like below would be cool.

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