Give the antenna the edge: layout notes for a battery wireless sensor
A wireless node that reports a temperature every ten minutes can run most of a year on one cell, or lose half its range to a careless copper pour. Five places on the board decide which. The film visits each; the notes add the arithmetic.
A sensor that sends a reading over Wi-Fi or Bluetooth and then goes back to sleep is the most common first wireless project. The schematic is nearly given to you: a radio module, a sensor, a regulator, a battery connector. The layout is where it is won or lost.
1. Nothing under the antenna
The antenna on a radio module is a small strip of copper at one end. It works by having open space around it. Copper nearby detunes it, and a ground plane underneath can cut the range to a fraction.
- Put the module at the edge of the board, antenna end outwards. Hanging the antenna past the edge is better still.
- Keep every layer clear under it: no pour, no traces, no vias. The module's datasheet draws the exact area.
- Keep metal away above and beside it too: battery, screws, a metal case.

Everywhere else under the module, a solid ground plane is what you want.
2. Use a ready-made module
The radio circuit between the chip and the antenna is hard to get right and needs instruments to check. A module arrives with that work done, tuned and tested, and usually with its radio approvals. For a first product it saves months.
3. A large capacitor beside the module
Asleep, the module draws microamps. When it transmits, it takes a few hundred milliamps for a moment. A small battery and thin traces cannot deliver that step, the supply dips, and the module resets at exactly the moment it tries to send.
- Put 10 µF or more right at the module's supply pin, plus the usual 100 nF.
- Keep the path from the battery connector short and wide.
4. The sensor at the far end
The radio and the regulator warm up when they work. A temperature sensor beside them measures the board, not the room.
- Place the sensor as far from them as the board allows.
- Use thin traces to it, and keep the pour back from it. Copper carries heat.
- A slot routed in the board between the sensor and the rest stops most of the heat.

In a case, put the sensor next to a vent. Our [enclosure story](#/story/a-case-for-your-board) covers the rest.
5. The battery, and the arithmetic
Battery life is decided by the time spent awake. Suppose the node draws 80 mA for 2 seconds each time it wakes, and 10 µA asleep, on a 2,000 mAh cell.
| Reports every | Average current | Battery life | |---|---|---| | Minute | 2.7 mA | about a month | | 10 minutes | 0.28 mA | about 10 months | | Hour | 0.05 mA | years; the cell's own ageing takes over |
Two details keep the sleep figure honest.
- The regulator. Many regulators use more current themselves than the sleeping module does. Pick one whose own current is a few microamps.
- The pull-ups and the LED. A power LED left on draws more than everything else put together. Leave it off, or make it blink.
Notes for the factory
- A module with pads along its edges solders like any other part, but the assembler needs its exact part number in the BOM.
- If the antenna hangs over the board edge, say so. Otherwise it looks like a placement mistake.
- Four pads for programming are enough: power, ground, transmit, receive. Test points work as well as a header, and cost nothing.
Before ordering, put the files on EIN. The DFM check reads the board the way the factory will, and makers quote the bare boards and the assembly together.
The node in this film was drawn for the article. It is a design sketch, not a product.