An open API service indexing awesome lists of open source software.

https://github.com/bschwind/esp32-autoflasher

Auto-flashing circuit based on the CP2102N
https://github.com/bschwind/esp32-autoflasher

Last synced: 8 months ago
JSON representation

Auto-flashing circuit based on the CP2102N

Awesome Lists containing this project

README

          

# esp32-autoflasher

KiCad PCB based on the CP2102N USB-UART serial converter. This implements the "auto reset" circuits of most ESP32 dev boards. You can run things like esp-idf's `make flash` or flash code from the Arduino IDE without having to hold down any buttons.

Connect `EN`, `RX`, `TX`, `IO0`, and `GND` to their respective pins on the ESP32 (don't forget to swap the `RX` and `TX` pins!) and make sure you have the Silicon Labs CP210x driver installed on your OS.

You can order this PCB on [OshPark](https://oshpark.com/shared_projects/q04gDLKl)

## Required Parts

(All resistors and capacitors are size 1608 metric)

| Label | Description |
| --- | --- |
| U1 | CP2102N |
| R1 | 1 kOhm |
| R2 | 10 kOhm |
| R3 | 22.1 kOhm |
| R4 | 10 kOhm |
| R5 | 47.5 kOhm |
| C1 | 4.7 uF |
| C2 | 0.1 uF |
| C3 | 4.7 uF |
| C4 | 0.1 uF |
| Q1 | MMBT2222L transistor (SOT-23 package) |
| Q2 | MMBT2222L transistor (SOT-23 package) |

## Images

### Schematic
![schematic](images/schematic.png)

### PCB Layout
![pcb](images/pcb.png)

### Assembled
![assembled](images/assembled.jpg)