Is there something wrong with my wiring? Trying to flash ESP8266-01.

Hello!

This is more of a continuation of my previous post that... died, I guess.
People were asking me to draw a diagram of my wiring so I did that. My issue still persists, so I was wondering if there is something else wrong with my wiring.

I am trying to upload a simple blink program to my ESP8266-01. I am doing so using the newest esp drivers (2.7.4) and an Arduino Uno.

Here is my wiring:

But I keep getting a "Timed out waiting for packet header" error (more info can be found in the previous post).

Yes, Rx -> Tx and Tx -> Rx

missdrew:
Yes, Rx -> Tx and Tx -> Rx

Are you sure about that? When I connect the power supply directly to the Arduino 3.3V, uploading only works with TX->TX and RX->RX.
I've tried switching them with the current setup and if I change it to that, the blue light doesn't even light up when trying to connect.
It does blink if they're connected like the drawing.

MissDrew is correct in saying RX to TX and vice versa.
However some cheapo chinese modules may have the wrong marking and that is a common issue.

Simply compare your picture to the many available all over the web and most of those will be the correct orientation.

ballscrewbob:
MissDrew is correct in saying RX to TX and vice versa.
However some cheapo chinese modules may have the wrong marking and that is a common issue.

Simply compare your picture to the many available all over the web and most of those will be the correct orientation.

Actually, most of the top results from your link show an RX to RX connection. Am I right in thinking that this is because we are using the Uno to directly connect the ESP to the PC instead of trying to create a connection between the Uno and the ESP?
Still, a lot of the results show that people power the ESP from the Arduino 3.3V pin, which, for me, leads to glitchy results for some reason.

Using a decent size capacitor often overcomes the 3.3 volt issue if you are using the Arduino to power them.
A lot of those results are also using some version of SOFTWARE SERIAL in which you can define the RX and TX pins.
That overcomes losing the real RX/TX pins used by pin 0,1.

See here for capacitor usage
Note that the value can often vary from 100uF to 1,000 uF.

ballscrewbob:
Using a decent size capacitor often overcomes the 3.3 volt issue if you are using the Arduino to power them.
A lot of those results are also using some version of SOFTWARE SERIAL in which you can define the RX and TX pins.
That overcomes losing the real RX/TX pins used by pin 0,1.

See here for capacitor usage
Note that the value can often vary from 100uF to 1,000 uF.

I don't really have capacitors, I wasn't planning on needing them. Can I not power the module using the 2 AA batteries and use the Arduino to connect to the PC? It seems like a simple enough procedure, many people have done it, but I just can't get any program to work on it.
I understand that the RX and TX can vary, but I've tried a bunch of combinations. I don't think the problem lies in those lines, because I have already established that I can upload something using the RX/RX TX/TX connection. It's just that I can't find a way to upload actual, functioning programs, it all seems to mess up somewhere.

If you use the Arduino as a TTL-to-USB converter, your connections are basically correct.

I have no experience with ESP
1)
Is the input of the ESP 5V tolerant; the Arduino output is 5V !
2)
You did manage to upload something; what was that? And how did you manage?

Hello!

I am trying to use the ESP-01 as a Wi-Fi shield, but it’s not working. When I connect the ESP via the Arduino Uno 3.3V pin, the Blynk serial output gets to “Connected to wifi” and then stops. The AT commands work though, I tested them manually too. I’m guessing the issue is that the Arduino can’t provide enough power using the 3.3V pin.
The output of the serial monitor:

    ___  __          __
   / _ )/ /_ _____  / /__
  / _  / / // / _ \/  '_/
 /____/_/\_, /_//_/_/\_\
        /___/ v0.6.1 on Arduino Uno

[609] Connecting to [wifi_ssid]
[3825] AT version:1.5.0.0(Oct 24 2017 12:03:18)
SDK version:2.1.0(ace2d95)
compile time:Oct 24 2017 15:48:02
Bin version(Wroom 02):1.5.1
OK
[7131] +CIFSR:STAIP,"0.33.24.150"
 <------- this always stays the same for some reason!!!
+CIFSR:STAMAC,"22:2d:c5:ba:bb:66"
[7137] Connected to WiFi

If I connect the ESP to a separate power supply (2AA batteries, I don’t have anything fancier), the Arduino can’t communicate with the ESP at all. Blynk responds with “ESP not responding” and I can’t run AT commands via the console either.

The ESP is supposed to be able to run at 2.5V so I think the batteries shouldn’t be an issue. I also have common ground between the Arduino and the ESP.

I flashed the ESP to AT firmware 1.5.1.

The code I’m using:

#define BLYNK_PRINT Serial
#include <ESP8266_Lib.h>
#include <BlynkSimpleShieldEsp8266.h>       // <= delete when not using Blynk
// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "xxxxx";                   // <= insert 'your' token in case you are connecting with blynk. Otherwise delete
// Your WiFi credentials.
// Set password to "" for open networks.
char ssid[] = "xxxx";                   // <= your wifi network ID and password 
char pass[] = "xxxx";
// Hardware Serial on Mega, Leonardo, Micro...
//#define EspSerial Serial1                   // <= when using Mega use the 'hardware' Serial 
// or Software Serial on Uno, Nano...
#include <SoftwareSerial.h>
SoftwareSerial EspSerial(2, 3);             // <= when using Uno: RX / TX set used PIN
// Your ESP8266 baud rate:
#define ESP8266_BAUD 9600
ESP8266 wifi(&EspSerial);
void setup()
{
 // Debug console
 Serial.begin(9600);
 delay(10);
 // Set ESP8266 baud rate
 EspSerial.begin(ESP8266_BAUD);
 delay(10);
 Blynk.begin(auth, wifi, ssid, pass);     // <= delete when not using Blynk
}
void loop()
{
 Blynk.run();                             // <= delete when not using Blynk
}

My wiring:

If that picture is anything to go by you seem to be trying to inject the battery voltage into the 3.3 volt pin and also have another wire that looks doubtful.

You at least have the common ground thankfully.

This also looks like a CONTINUATION of your other post GRRRR.

Could you also take a few moments to Learn How To Use The Forum.

Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

AS you failed to read up on how to use the forum on at least two occasions, you now have the next 48 hours to do so !