3

I am trying to build my own ESP32 based PCB. I tried to copy the USB-to-serial circuit from the official DevKit. There I see two 0Ω resistors. Why did they add them? What do they do?

enter image description here

USB to Serial datasheet (cp2102n): https://www.silabs.com/documents/public/data-sheets/cp2102n-datasheet.pdf

Full ESP32 DevKit datasheet: https://dl.espressif.com/dl/schematics/esp32_devkitc_v4-sch.pdf

My PCB schematics and layout so far: https://github.com/crgarcia12/electronics-homeassistant-lightscontroll/tree/main/PCB/schematics-v16-espinside

JYelton
  • 32,302
  • 33
  • 134
  • 249
Carlos Garcia
  • 1,116
  • 1
  • 7
  • 25

3 Answers3

9

They allow users to remove resistors to disconnect the ESP from CP2102 and connect them for other purposes.

Justme
  • 127,425
  • 3
  • 97
  • 261
  • just out of curiosity.. Do you know any example of "other purposes"? – Carlos Garcia Dec 26 '21 at 20:22
  • 2
    Since it is a dev kit, you might buy it and want to connect it to some other device which uses the serial port. If there is no easy way to detach the CP2102 from the serial port, it is much harder and more permanent solution to cut the PCB wiring with a knife or desolder the CP2102, and then it would be quite hard to undo that change to reprogram the ESP. – Justme Dec 26 '21 at 20:35
  • @CarlosGarcia Soldering a header there, for example, with switches, a port, etc... – J... Dec 27 '21 at 14:41
  • 1
    Non-EE guy here... What's the difference between a 0 ohm resistor and just a jumper wire? – 640KB Dec 27 '21 at 14:50
  • 2
    @640KB The 0Ω resistor is compatible with automatic surface-mount fabrication. – John Doty Dec 27 '21 at 14:58
  • 1
    @johndoty follow up question - how does a 0 ohm resistor have a 5% tolerance? I understand even a jumper wire will have *some* resistance but 5% of 0 seems a bit difficult to measure! – 640KB Dec 27 '21 at 15:15
  • The definitive reference is always the datasheet. Manufacturers tend to include the 0Ω "jumper" in resistor lines that otherwise have 5% tolerance. See, for example https://www.yageo.com/upload/media/product/productsearch/datasheet/rchip/PYu-RC_51_RoHS_P_2.pdf. The datasheet gives a separate spec for jumpers (max resistance) even though they are coded as 5% in the part number. – John Doty Dec 27 '21 at 15:23
  • @640kb "0" is mathematical abstraction. So the resistance is close to zero with 5% accuracy. – user263983 Jan 01 '22 at 11:09
3

Developers might changed schematic without changing PCB. Usual practice.

user263983
  • 1,599
  • 1
  • 4
  • 9
1

Some microcontrollers (such as the ATmega 16U2) require a 22 Ohm series resistor on the D+ and D-. Perhaps the designer wasn't sure if a series resistor would be required so they specified a 0 Ohm resistor. It is a lot easier to desolder that resistor and replace it with the correct value than to add one after the fact if something does not work as expected.

MattD
  • 43
  • 6