← Block library
📶

RF Field Detector

@electrace/rf-field-detector@1.0.0 · CC-BY-4.0
band vout
The actual schematic inside this block — every part is explained below.

RF Field Detector — your ADC is secretly a radio

An ADC can't sample 2.4 GHz. Nyquist forbids it: to digitize a wave you must sample at least twice its frequency, and no microcontroller pin runs at 5 billion samples a second. So how does a one-dollar circuit let an ordinary ADC pin feel the Wi-Fi in the room?

It doesn't sample the RF. It measures its envelope — how much RF energy is present — and hands that to the ADC as a slow DC level. This is the oldest trick in radio: the crystal-radio envelope detector.

How it works

  1. The antenna is just a wire. Hold it near any transmitter — a phone, a router, a walkie-talkie — and a few millivolts of RF couple onto it. It isn't tuned; it picks up whatever's loudest nearby.
  2. The Schottky diode rectifies that RF. A Schottky's low forward drop and fast recovery let it follow gigahertz signals where an ordinary silicon diode simply can't keep up — it chops the wave so only the positive half gets through.
  3. The RC (C1 + R1) smooths those rectified pulses into a steady DC level. The capacitor holds each peak; the resistor bleeds it so the level falls when the field weakens. What comes out tracks the strength of the RF, not its content.
  4. The ADC pin reads that DC level. Phone transmits → the number jumps. Walk away → it falls. You built a field-strength meter out of four passives.

The honest part

This measures how much RF is here, not what's being said. There's no tuning, no station selection, no demodulation of data — just power. That's the honest scope of an envelope detector: a cheap, wideband "is something transmitting near me?" sensor, the same core that sat inside foxhole radios and every AM crystal set. To turn field strength into a clean reading, bias the diode just below conduction with a high-value resistor so even tiny signals push it into rectifying, and pick a true detector Schottky (a zero-bias part like an HSMS-285x) when you want to feel weak fields.

The lesson generalizes: an ADC that can't possibly sample a signal can still measure a property of it, if you do the hard part in hardware first. The diode is doing the down-conversion the silicon never could.

Watch it explained

Exposed nets

adcout · signal
gndin · gnd

Inside this block

ANT1
stub
the pickup — even a short wire couples a few millivolts of RF in from a nearby transmitter. Near a quarter-wave of the band you care about works best, but it isn't tuned
D1
BAT54
the rectifier — a Schottky's low forward drop and fast recovery let it follow GHz signals where an ordinary diode just can't keep up. This is what turns RF the ADC could never sample into a DC level it can
C1
100pF
holds the rectified peaks and smooths them into a steady DC level — the RF envelope. With R1 it sets how fast the reading tracks a changing field
R1
1M
bleeds C1 so the level falls when the field drops (sets the RC response), and idles the diode just under conduction so even tiny signals push it into rectifying

Limits & gotchas

physics.note 0This is the crystal-radio envelope detector: the antenna's tiny RF voltage is rectified by the Schottky (its low forward drop and fast recovery are why a SIGNAL diode won't do at GHz), and the RC smooths the rectified pulses into a DC level that tracks the ENVELOPE — the signal's strength, not its content. Nyquist forbids an ADC from sampling 2.4 GHz directly; the diode does the down-conversion in hardware, for free.
honesty.note 0It measures field STRENGTH, not information — you get 'how much RF is here', not what's being transmitted. No tuning, no station selection. That's the honest scope: a $0.50 field-strength meter, not a radio receiver.
sensitivity.note 0Sensitivity hinges on the diode: a zero-bias Schottky (e.g. an HSMS-285x detector diode) reads weak fields a rectifier diode can't. A DC bias resistor that idles the diode just below conduction (a few hundred kΩ to a rail) linearizes the small-signal response. The antenna is just a wire — length near a quarter-wavelength of your band of interest helps, but even a stub picks up a nearby transmitter.
Use this block in a real design
Drop it on a canvas, wire it up, and watch the live checks — free, no card.
Start designing →
This page is generated from the block's source — the same content powers the editor's explanations and live checks.