This weekend i finalized my ESP-01 programming adapter board.
The circuit is a little bit changed compared to the diagram posted earlier in the post “ESP-01 Module”
I added two terminals for connecting external 3,3V and GND. This change I made because I could not get the wifi function on the ESP-01 module to work, when the module was powered through the USB to TTL board.
On the left you see the board i made.
And here you see the board with the ESP-01 and USB-TTL modules connected.
I have not desided yet, but maybe I will add two terminals for wire connection to the GPIO0 and GPIO2.
The programming circuit is finished. And guess what! It works.
The buttons is from the left: Reset and Flash.
When uploading your Arduino sketch follow this procedure
- Push and hold reset button
- Push and hold flash button
- Release the reset button
- Release the flash button
- The ESP modul is now in flash mode
- Push the “upload” button in the Arduino IDE
- First the sketch is compiled and afterwards it will start uploading.
- Then push the reset button momentarily to (re)start your program.
As you might know the pins on the ESP-01 module is very tight.
This means that it can’t be mounted on the breadboard without shorting the two pin rows.
One solution is replace the straight pins with some angled pins.
Another solution and very commonly shown on the web is making a breadboard adapter. This way you can connect it across the middle of the breadboard without shorting the pin rows.
The adapter is made of two 1×4 or one 2×4 female header, two 1×4 male pins and a piece of prototyping pcb. my pcb has single islands and the soldering is shown on the photo. It works like a charm.
Next up – making the ESP-01 programming circuit.
I just received two off these small ESP-01 boards.
They are part off the ESP8266 family and have relly nice specs:
- ESP8266 chip.
- 2 dedicated GPIOs.
- Serial comms (or 2 additional GPIOs).
- Pin connectors.
- PWM, I2C, UART, OneWire.
- On-board WiFi + printed antenna, 802.11 b/g/n, 360m range.
- Able to become a wireless access point.
- Lua and Arduino firmware available.
- Able to run a web server.
- Dimensions: 24.75 x 14.5mm.
- Power: 3.3v. (important!!)
Instruction for flashing this little fellow can be found on http://www.esp8266basic.com/flashing-instructions.html
And I plan on building this flaching setup