I moved from an ESP32 dev board to my own two-layer PCB with the same WROOM module. RSSI at the same spot dropped from about -55 dBm to -75 dBm. The module sits in the middle of the board with ground pour on both layers underneath, and the board is mounted in a plastic case next to a metal bracket.
What are the layout rules for a module with a PCB antenna, and if I later use a module with an external antenna connector or a chip antenna, how do I route the 50 Ω trace?




