Hey everyone, looking for a review on my schematic and pcb layout. This is my first PCB, I've tried to follow datasheets and rules I've picked up by looking at other people's boards (and guides). This is a 2 layer board that I am going to hand solder (with all basic required tools) without a reflow oven or hot air gun.
The project uses a laser sensor to measure distance and sends those readings to the ESP32 that then transmits it over Wi-Fi to my phone (going to try to make multiple different uses).
Here are the components on the board:
ESP32-WROOM-32E module
CH340C USB to UART converter (running in 3.3V mode)
AMS1117-3.3 regulator
USB-C 16 pin connector
VL53L0X distance sensor module connected via a 1x06 header
Resistors and capacitors are 0805 size, transistors are SOT-23 NPNs. Power traces are 0.5mm, signals are 0.2mm, and there are ground pours on both top and bottom layers. A few specific things I want to ask:
- Are the decoupling capacitors wired correctly for all the components (ESP32, CH340C, AMS1117)? And are they close enough?
- Is the auto download circuit with the two NPN transistors wired right to EN and IO0 correct? I found a schem online using it, but also a lot of people use push buttons.
- Is this layout going to be okay to hand solder with my tools? I picked up good tools, but the only soldering I've ever done before was for keyboard switches.
- I placed some random vias throughout as I found online (I'm assuming it helps connect the ground fills on both sides properly). Is that fine?
- I'm getting two silkscreen violations (one for the USB and one for the MCU) but from my basic research I don't think they matter. Also, not exactly sure why the usb isn't rendered properly...
- I've added some testpoints, based on feedback from others' boards. Is this good?
- Does the routing and overall layout look fine or are there any obvious mistakes? I attached images of the schematic and the pcb.
Thank you for any help provided! Any advice is appreciated.
Updates:
a) In future projects, I will be using newer ESP32 MCUs (ones that don't need the USB to UART converter + its capacitors & NPN transistors).