Hardware design for IoT
Module or chip-down, antenna keep-outs, RF and USB layout, power entry, ESD and test points for connected boards, from Espressif, Raspberry Pi and TI design documents with their revisions.
Overview
This hub is for the step after the devkit: a board of your own that carries a radio. It covers the decisions that decide whether that board passes radio testing and survives handling: module or chip-down, where the antenna goes, how the RF, USB and power traces are laid out, where ESD protection sits, and which signals you bring out for bring-up and production test. The rules come from vendor design documents, with revisions, because they differ between chip families. Antenna theory itself is covered on our sister site, the Wireless Field Guide.
Key ideas
Module or chip-down
A module is a small shielded board with the chip, crystal, flash, matching network and usually an antenna, sold with its own radio approvals. In the US, 47 CFR 15.212 lets a module hold a modular approval if it has its own shielding, buffered data inputs, its own supply regulation, an approved antenna arrangement and stand-alone test results. The host then carries an outside label such as “Contains FCC ID: …”. The host’s own digital circuitry is still an unintentional radiator under 15.101, so it needs its own Supplier’s Declaration of Conformity (SDoC) or certification.
Approval scope varies by region. Raspberry Pi’s datasheet for its Radio Module 2 (RM2, part RMC20452T, release 7) states full modular approval in the EU, UK, USA and Canada. In India and Malaysia the approval covers the module only, and the host needs its own. As of that release (February 2026), the datasheet gives a recommended retail price of 4 USD and a production lifetime to January 2036. For the external-antenna ESP32-C5-WROOM-1U (datasheet v1.3), Espressif names the antenna used for certification and recommends a maximum gain of 3.86 dBi at 2.4 GHz and 3.65 dBi at 5 GHz. A different antenna type or gain may need extra testing.
Chip-down means you own all of that. Espressif’s ESP32-C5 guidelines (v1.4) say matching values from its modules cannot be reused on your board. You tune the network yourself on a network analyser, measuring S11 (reflection) and S21 (transmission). Then the whole product goes through intentional-radiator certification, which 15.201(b) assigns to a Telecommunication Certification Body. See Certification and regulation for the other markets.
The antenna keep-out, and the housing, are part of the antenna
Each vendor draws its own keep-out. Espressif asks for the module’s PCB antenna to sit beyond the base board edge, or for the board to be cut away on both sides of and below it. It warns against centring the module with clearance hollowed out on all four sides. Inside the product, it recommends at least 15 mm of clearance around the antenna in all directions, then a throughput and range test of the finished product. The Pico 2 W datasheet (release 3) gives a 14 mm × 9 mm antenna cutout, asks for the board edge, and warns against metal enclosures, which form a Faraday cage. The RM2 footprint marks a keep-out that must stay free of any metal, next to a good ground connection to the host.
Layout rules that protect the radio
Espressif recommends a four-layer board with an unbroken ground plane on layer 2. The RF trace should be 50 Ω, short, of constant width, on the outer layer without vias and fenced with ground vias. The USB port, the USB-to-serial chip and UART lines, including their test points and header pins, should sit as far from the antenna as possible. USB D+ and D- run as a 90 Ω ±10% differential pair over continuous ground. On the RP2350, Raspberry Pi’s “Hardware design with RP2350” (release 3) adds 27 Ω series resistors close to the chip on the USB pins.
Power entry
For a single 3.3 V supply, Espressif asks for at least 600 mA from the regulator, an ESD protection diode and at least 10 µF at the point where power enters the board. The enable pin (CHIP_PU) must never float. An RC delay of 10 kΩ and 1 µF is the usual start, and a supervisor chip is the fallback when the supply ramps too slowly. Raspberry Pi recommends 100 nF of decoupling per RP2350 power pin, placed close to the pin. Regulator choice and battery budgets are on Power and batteries.
ESD: component ratings are not the system test
Module datasheets quote handling ratings. The ESP32-C5-WROOM-1 lists ±2000 V human body model (HBM) and ±500 V charged-device model (CDM). The RM2 lists 1000 V HBM and 300 V CDM to JEDEC test methods. A finished product is judged differently: TI’s ESD layout guide (SLVA680A) works from an IEC 61000-4-2 level 4 waveform at 8 kV, entering through a connector or a key. Its rules are to put the transient voltage suppressor (TVS) as near the connector as design rules allow, keep the protected chip further away, avoid stubs and keep the TVS ground path short. Espressif also recommends ESD protection on the antenna path.
Test points and bring-up access
On the ESP32-C5, UART0 carries download and logs, with a 499 Ω series resistor recommended on U0TXD. GPIO26 to GPIO28 set the boot mode, with a pull-up recommended on GPIO28. Bring out UART0, enable, the boot strap and ground as pads. Raspberry Pi’s RP2350 reference design puts SWD on a 2.54 mm header with an optional JST connector for its Debug Probe.
Where to start
/learn/beginner/02-choosing-your-first-board/ explains why module grants and lifecycle belong in the criteria, and /learn/beginner/08-power-and-sleep/ shows why a devkit’s regulator and USB bridge dominate its current. The ESP32-C5-DevKitC-1 and Pico 2 W are both module-based designs worth studying before you draw your own. Housing and antenna clearance continue on Enclosures and 3D printing.
For makers
Use a module with a PCB antenna and put it on the board edge with nothing under the antenna. Add a TVS and 10 µF at the power connector, a reset RC, and pads for UART, enable, boot and ground. Keep the USB bridge at the far end of the board. Do not swap the antenna on an external-antenna module for one with a higher gain.
For product teams
Choose module or chip-down on certification scope, unit cost and lifecycle together: check which regions each module grant covers, and the maker’s stated production lifetime. Budget network-analyser time for chip-down matching inside the final housing. Treat datasheet HBM and CDM figures as handling data and design for the system-level ESD test with TVS parts at every connector. Put programming and test pads where a fixture can reach them.
Tools and platforms
| Job | Document | What it gives you |
|---|---|---|
| Lay out an ESP32-C5 board | ESP Hardware Design Guidelines v1.4 | Stack-up, 50 Ω RF, USB 90 Ω, module placement, 15 mm housing clearance |
| Check a power and reset circuit | ESP32-C5 Schematic Checklist v1.4 | 600 mA supply, ESD diode and 10 µF at entry, 10 kΩ and 1 µF RC |
| Use an external antenna | ESP32-C5-WROOM-1U datasheet v1.3 | Certified antenna and maximum gains (3.86 dBi and 3.65 dBi) |
| Place a Pico 2 W on a carrier | Pico 2 W datasheet release 3 | 14 mm × 9 mm antenna cutout, board-edge placement |
| Pick a pre-approved radio for an RP2350 design | RM2 datasheet release 7 | Modular approval regions, keep-out, lifetime to January 2036 |
| Design RP2350 decoupling, USB and debug | Hardware design with RP2350, release 3 | 100 nF per pin, 27 Ω USB resistors, SWD header |
| Lay out ESD protection | TI SLVA680A | TVS placement and ground path rules |
Common mistakes
- Centring a module on the board with copper or a ground pour under the antenna.
- Reusing a module’s matching values on a chip-down design without tuning.
- Fitting a higher-gain antenna to an external-antenna module and assuming the module’s approval still holds.
- Routing the USB bridge or UART header beside the antenna.
- Leaving the enable pin floating, or relying on an RC delay with a slow supply.
- Reading a 2000 V HBM figure as system-level ESD protection.
- Forgetting pads for UART, boot and enable, then needing a bed-of-nails fixture redesign.
Going deeper
- ESP Hardware Design Guidelines for ESP32-C5, layout and schematic checklist.
- Raspberry Pi Radio Module 2 datasheet, for a worked example of modular approval scope.
- Hardware design with RP2350, a full minimal board explained part by part.
- TI ESD Protection Layout Guide.
- 47 CFR 15.212, the US modular transmitter rule.