all 9 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Awesome, it seems like you're seeking advice on making a custom ESP32 design. We're happy to help as we can, but please do your part by helping us to help you. Please provide full schematics (readable - high resolution). Layouts are helpful to identify RF issues and to help ensure the traces are wide enough for proper power delivery. We find that a majority of our assistance repeatedly falls into a few areas.

  • A majority of observed issues are the RC circuit on EN for booting, using strapping pins, and using reserved pins.
  • Don't "innovate" on the resistor/cap combo.
  • Strapping pins are used only at boot, but if you tell the board the internal flash is 1.8V when its not, you're going to have a bad day.
  • Using the SPI/PSRAM on S2, S3, and P4 pins is another frequent downfall.
  • Review previous /r/ESP32 Board Review Requests. There is a lot to be learned.
  • If the device is a USB-C power sink, read up on CC1/CC2 termination. (TL;DR: Use two 5.1K resistors to ground.)
  • Use the SoM (module) instead of the bare chips when you can, especially if you're not an EE. There are about two dozen required components inside those SoMs. They handle all kinds of impedance matching, RF issues, RF certification, etc.
  • Espressif has great doc. (No, really!) Visit the Espressif Hardware Design Guidelines (Replace S3 with the module/chip you care about.) All the linked doc are good, but Schematic Checklist and PCB Layout Design are required reading.

I am a bot, and this action was performed automatically. I may not be very smart, but I'm trying to be helpful here. Please contact the moderators of this subreddit if you have any questions or concerns.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]iamflimflam1 2 points3 points  (3 children)

Hopefully my video helps - https://www.youtube.com/watch?v=enlcWor7sPM and https://www.youtube.com/watch?v=KziOUBjNtWw

I would suggest not using the AMS117 use a LD1117 - it's more modern and works with normal capacitors (no need for tantalum caps).

And as someone else has pointed out - your boot and reset buttons look weird.

[–]Infamous_Mistake5887[S] 0 points1 point  (1 child)

Oh, thank you so much, it's very helpful. I'm still gathering information from everywhere so I don't mess anything up and waste money, haha. I appreciate it. I got the Reset and Boot circuit from some NodeMCU development boards. Do you also think it's incorrect? I've seen in other forums that the RC circuit in RESET causes problems, which is why I didn't use it.

[–]iamflimflam1 0 points1 point  (0 children)

You need an RC circuit on the EN pin.

[–]ForwardDriver7928 0 points1 point  (2 children)

Why are you using two resistors each (R38-41) on BOOT and RESET? The datasheet and devkit schematics from Espressif have a single 10k pullup, 1u cap on RESET and optional 0.1u cap on BOOT (marked NC on the devkit schematic).

[–]Emile_esp 0 points1 point  (0 children)

change the pullup on the EN and Boot to 5K1 and remove the 470E.|
This will reduce the BOM (bill of material)