mike-rankin / ESP32_CoinCell_Color_TFT

Based off of the CoinCell Board but with more sensors and a 80x160 ST7735 color tft lcd
53 stars 9 forks source link

Hardware design questions #1

Closed patfelst closed 4 years ago

patfelst commented 4 years ago

Hi this is a great project, thanks for sharing. I have a few questions about the h/w design:

  1. Why did you change the USB-Serial chip to CP2104, as it is not recommended for new designs? image

On the CP2102, the REGIN (pin 7) and VDD (pin 6) can also be connected to disable the onboard regulator. It still looks like you've been able to reduce the number of passives with the CP2104, e.g. no reset pullup.

  1. Surprised how few high freq bypass caps (e.g. 100nF) you have (none!) for the ESP32? Did you determine they aren't needed through trial and error? You just have the single large 100uF cap.

  2. Wondering how you can replace the inductor in the antenna matching circuit with a cap?

Thanks in advance!

mike-rankin commented 4 years ago

Older revisions used the CP2102 but it needed many more capacitors and resistors around it and is physically much larger. Had no idea that the 2102 is not recommended for new designs. Thanks for the tip! On my next revision I'll add more decoupling capacitors around the CP2102 and will try and fit in more capacitors for the ESP32. Right now the board is so tiny and four layers that I lucked out. On larger four layer boards I have several 150uF electrolytic hanging off the pawer pins. For the antenna it looks like capacitors of a small value in series look correct: https://dl.espressif.com/dl/schematics/esp32-pico-kit-v4_schematic.pdf and https://github.com/tinypico/tinypico-hardware/blob/master/TinyPICO%20Release%20P3/TinyPICO_Schematic.pdf

patfelst commented 4 years ago

Thanks for that. The CP2102 also comes in a QFN24 package which is pin compatible with the CP2104.

Thanks for the links, the matching network does indeed have a different topology than others I've seen. But I guess if all 3 matching components use the same 0402 (or 0603) footprint then you can choose whatever topology you want during assembly.

If you look at the PICO-D4 "module" schematic (i.e. inside the chip), it has a built-in matching network (see yellow circle below), and also bypass caps and an inductor noise filter L5 (see cyan circle below), so you probably don't need an antenna matching network, and is probably why you're getting away with no decoupling caps. image

image

Anyway all the best, great work once again.

mike-rankin commented 4 years ago

Thanks for the 24pin CP2102N tip. I've only used the 28pin version in the past and will order the 24pin version to see if it works well as a drop in sub. It's great that the ESP32 pico has taken car eof so many things internally. I'm working with the nRF52 now it is very unforgiving if you don't really know what you are doing.