HomeESP8266/ESP32Building an ESP8266-01 flash adapter

Building an ESP8266-01 flash adapter

Speed up flashing ESP8266-01 WIFI boards

ESP8266-01 are great and inexpensive. I ended up buying a lot of them for various projects. Getting the boards connected each time you want to flash a new script gets old very quickly! To flash the board you need to hook up 6 cables. Each time you change the board, you have to reconnect it correctly. Flashing the board takes a few seconds, and the most tedious task is to reconnect the cables each time I want to make changes in the software. I have 6 boards and it was driving me mad so I built an adapter. Three of them to be precise! The guide has been featured on instructables.com.

The video contains a Livestream with the advanced version 2.0 with flash toggles!

What is the ESP8266-01 flash adapter?

The adapter is a small DIY socket that lets you mount the ESP8266 board on the breadboard (or via cables) in seconds. It looks like this:

esp8266-01 flash adapter

You cannot use the board directly on the breadboard as there isn’t enough clearance for all the pins.  I went through 3 iterations of the board:

ESP8266-01 Flash Adapter prototype v1.0


It’s the easiest to make, but it needs an extra wire. The ESP8266 size prevents the jumper cables being linked directly, as the board obstructs part of the breadboard. The solution was to use some flat jumper wires. This solution would work on the bigger breadboards well. It’s OK, but we can do much better and save some space on the breadboard.

ESP8266-01 Flash Adapter mk1


The adapter solves the issues of the prototype, but it’s more complex to make. It orients the ESP8266 sideway, avoiding the issues with the cables. It works on the smaller breadboards.

ESP8266-01 Flash Adapter mk2

The one we are going to build! It links the Chip Power to VCC  and in the result saves us linking an extra jumper cable to the board. Like mk2 incorporates the sideways design and works well even with small breadboards.

Requirements:

We are going to need the bare minimum:

  • Female socket 2×4 (to slot the ESP8288), I salvaged and cut the Raspberry Pi Zero adapter
  • Double-sided prototype board 6×6 pinholes
  • Some wire to link pin-holes
  • Pins 2 x 4

Tools:

  • Soldering Iron
  • Dremel (or similar, but a hand saw will work as well)
  • tweezers, nail cutter or small wire cutters
  • Hot-glue Gun

Building ESP8266-01 flash adapter mk3

Let’s start with the wiring diagram of what we are going to make. Because the board is offset 90 degrees, the soldering is a little harder. This is how we are going to wire it. I’m not going to explain how to flash the board here, just how to make the adapter. The only thing you want to keep in mind that Chip Power Pin has to be linked to VCC to keep the chip powered.

Step 1.

Get everything ready. Cut the double-sided prototyping board to size. You can also round the sharp corners using sandpaper.

Cut the female GPIO socket to size (2×4), round the edges too.

Cut the pins, you will need two rows, 4 pins each.

Step 2

Until the very last part of the project, the orientation of the components is symmetrical, so you don’t have to worry too much. Pre-build the ESP8266-01 flash adapter as shown in the picture. Make sure the socket is in the centre. We are ready to solder.

Start with the pins first. Solder one pin on each row to fix it in place. Check if the pins are aligned and proceed with soldering the rest of the pins.

Step 3

When you are happy with the pins positions, start filling up the holes with solder.

This will help you later to add some wires, Don’t fill the holes that take the socket pins.

Step 4

I used resistors, but you can use any wire to link the correct prototype pinholes. You can also use solder itself if you skilled enough. Start with the outer pins. Take a piece of the wire and solder it to a pin, bend it to required position and solder it to a hole. Repeat it with each pin. Take extra caution when soldering pins that will connect to the socket directly. Try not to flood the pinhole, but leave some solder on the end of the wire. The solder will melt when we start soldering the socket pins.

Step 5

Use multimeter (or a LED circuit) to check for shorts on each pin.

Step 6

Mount the socket, if you have flooded the mounting pins, use an iron to warm the solder up and push the pins through. Once the socket is secured, make sure you use plenty of solder to fill in the pinholes. They should melt the solder for sockets 1-2 and 7-8.

When the socket is in place you should have a sockets 1,2 and 7,8 connected. Confirm it with a multi-meter, make sure there are no shorts on other pins.

Step 7

Wire up sockets 3,4,5,6. Use extra wires if you need to. Use the same technique. Start from the socket pin, and finish on the pinhole. When done, test all of the pins with the multi-meter.

Step 8

We have to short two pins together. This will also decide about the orientation of the board. Use a spare jumper wire to select the VCC and Chip Power sockets, and identify the pins. Use extra wire to connect the pins on the surface. Make sure the wire won’t touch other traces.

Step 9

When all the soldering has been completed, verify that there are no shorts again (apart from Chip Power and VCC). It’s time to label the adapter.  I used a piece of paperboard cut to size. Use hot glue to secure the board, and prevent the Chip Power – VCC from touching other traces, then mount the pre-made paper label. It’s wise to make which side the ESP8266 should face avoiding mistakes in the future.

Fill in the sides with glue and remove the excess glue with a sharp knife. You can cover the edges of the paper with superglue to prevent it from splitting.

Step 10

Verify the sockets for shorts again. Just do it, you don’t want your ESP8266 flash adapter to ruin your WIFI boards.

Conclusion

It will take about 1-2h depending on your soldering skills, but it’s worth the effort. Swapping the boards for flash takes moments. Just remove the board, and slot the next one in, press the power button and you are ready to flash!

PayPal

Nothing says "Thank you" better than keeping my coffee jar topped up!

Patreon

Support me on Patreon and get an early access to tutorial files and videos.

image/svg+xml

Bitcoin (BTC)

Use this QR to keep me caffeinated with BTC: 1FwFqqh71mUTENcRe9q4s9AWFgoc8BA9ZU

M5Paper

Programable, ESP32 based awesome dev platform with 4.7 e-ink display by M5Stack

More HATs

client-image
client-image

Argon One M.2

Enclose Raspberry Pi 4 inside this great case with custom I/O, cooling and GPIO and M.2 SSD support

More cases on

client-image
client-image

Best Raspberry Pi Projects

How to use Raspberry PI as WOL (wake on lan) server

0
While you could wake up your PC from a mobile directly, having a dedicated server capable of doing so is the best solution. The reason is simple. You can hook up as many devices as you wish with a single endpoint. This is why Raspberry Pi is perfect for this.

Slow Internet Warning

0
From time to time my Internet grinds to a stop. Since Raspberry Pi 4 comes with a 1Gbps Ethernet, I decided to take advantage of it and create a reporting system in NodeRED that will monitor and report when the ISP is not keeping the contractual agreements. Works with Alexa, Google Home, Android and Windows 10.

How fast Raspberry Pi NAS is?

0
Let's see how fast Raspberry Pi NAS really is?

Argon18: Argon ONE SSD modification

0
Argon One case just got better - now you can boot it from USB without ruining the design thanks to Argon 18: Argon One SSD modification

HOW TO...

How to boot Raspberry Pi 5 from NVMe M.2 SSD

0
This is how you can boot your Raspberry PI 5 from NVMe in 10 min! Check out these easy instructions

It took me 2 months to boot CM4 from NVMe

0
Complete beginners guide to Compute Module 4 boot from NVMe.

Raspberry Pi Zero 2 W vs other Zero boards

0
It's time to test the Raspberry Pi Zero 2 W against other Raspberry Pi boards from Zero series: power, WiFi, temperature and core performance

C/C++ and MicroPython SDK for Raspberry Pi Pico on Windows

0
A guide to SDK toolchain for Raspberry Pi Pico and C/C++ , Micropython on Windows.

A comprehensive guide to Grafana & InfluxDB

0
How to use Grafana and InfluxDB on Raspberry Pi for IoT sensors in home automation