slopswap / emf badge

A tuning knob for the EMF Explorer Badge

The badge hears fields from 20 Hz to 20 kHz. One analog switch chip, one oscillator and a pot should let it tune in everything from 20 kHz up toward 1 MHz, for between 50 cents and two dollars of parts.

Where this stands

Simulated, not yet measured. A first version is wired on a breadboard and its bench test is next. Every electrical figure here comes from circuit simulation or a datasheet. Every price is a distributor listing read on 13 November 2026.

The short version

Try the knob

This is a model of what the knob does, not a recording. The coloured spikes are things that put out fields above hearing, at typical frequencies. Turn the sound on, then move the knob.

The dialSimulation 1

Source frequencies are typical values; real devices vary. The rhythms are invented, to show that rhythm survives. An amber band is a window: anything inside it lands in the headphones, and the fainter the band, the quieter it lands. The knob's range, 26 kHz to about 1 MHz, is the recommended oscillator on fresh cells. Tone filter fits the 0.22 µF and 390 pF pair described under A nicer tone.
  1. Badge today, then Tuned. Today only the mains hum gets through. Tuned, whatever sits in the amber window becomes a note.
  2. Move the knob slowly through the fluorescent ballast at 40 kHz. The note falls, vanishes as the knob crosses 40 kHz, and rises again. The note is the distance between the knob and the source.
  3. Park next to the induction hob at 25 kHz. It still buzzes. The switch moves a signal down without flattening it.
  4. Set the knob near 41.5 kHz and turn the ballast off with its button under the dial. The RFID reader at 125 kHz ticks faintly. That is the window at three times the chopper frequency.
  5. Switch to Comb and bring the knob down to about 30 kHz. Every source turns up at once, each more quietly. The knob no longer chooses a source. It slides all the pitches.

Why flipping a switch moves a sound

Point a strobe light at a spinning fan. If the strobe flashes almost in time with the blades, the fan seems to turn slowly, because each flash catches the blades a little further round than the one before. The fan has not slowed down. You are seeing the difference between two fast rates.

The switch does this to the coil's signal. Each time it closes, it lets a short piece of the wave through to the amplifier. When the switch runs almost in time with the wave, each piece comes from a little further along the wave than the last. The amplifier is too slow to follow the pieces one by one, so it follows their average, and the average drifts up and down at the difference between the two rates. A 40 kHz field chopped at 39 kHz comes out as a 1 kHz tone.

The switch in slow motionSimulation 2

Trace 1 is the fast wave. The amber dots mark where the wave is each time the switch closes; joined up, they already trace the slow wave, like the strobe on the fan. Trace 3 is what gets through. Trace 4 is the amplifier's output, drawn twice as tall as the others: the thin line still carries fast ripple that nobody can hear, and the heavy line is the part below 20 kHz.

Four things follow from that picture.

A square wave also contains its own third and fifth harmonics, so the switch opens fainter windows at three and five times its frequency, a third and a fifth as loud. Shorten the time the switch is on, with the slider above, and the windows multiply: a switch that passes for a tenth of each cycle has windows of nearly equal size at one, two, three, four and five times its frequency, each a tenth of the size. That is comb mode.

Here is the same thing as a circuit, with the badge's own values: the pickup coil, one section of the 74HC4053 and the amplifier, running in Paul Falstad's circuit simulator.

The chopper as a live circuitFalstad simulator
The left trace is the coil's current, a steady 40 kHz. The middle trace is what the switch lets through to the amplifier; its outline breathes at the difference between the two frequencies. The right trace is the amplifier's output after a small low-pass that stands in for the ear: a 1 kHz note. On a wide screen the frame has two sliders, Field frequency and Knob, each from 30 to 50 kHz. Bring them together and the note slows, stops and climbs again; move the field and the knob can follow it. The source reaches the pickup coil through a loosely coupled pair of coils, so the field keeps the same strength at any frequency. The switch is a plain 120 Ω one and the op-amp is ideal; the note is 61 mV at the amplifier, against 59 mV in the fuller model further down. The frame loads from falstad.com and stays empty if that site cannot be reached.

Why the badge is already most of the way there

On the badge each coil feeds its amplifier through 100 Ω, which is close to a short circuit. That turns out to matter. A faster field induces more voltage in the coil, but the coil's own inductance holds back a faster current by exactly as much. The two cancel. The current in the coil follows the strength of the field and ignores its frequency, so a 1 MHz field puts as much current through the coil as a 10 kHz field of the same strength.

What stops the badge hearing it comes after the coil. The 100 pF across the feedback resistor rolls the amplifier off above 16 kHz, and then hearing gives out. The switch sits ahead of all that. It turns the high-frequency current into an audio-frequency current before the amplifier sees it, so the roll-off never touches it.

A field of the same strength, at any frequencyCalculated and simulated
Level at the amplifier output for a field of constant strength, relative to the badge's mid-band. The black curve is calculated from the badge's own values: a 100 mH coil with about 250 Ω of winding resistance, 100 Ω in, 100 kΩ with 100 pF in the feedback. It falls on the left because the winding resistance takes over below about 500 Hz, and on the right because of the 100 pF. The amber line is the simulated tone, about 10 dB down and flat. With the 74HC4053 it was simulated to 1 MHz. Not modelled: losses in the coil's ferrite core at high frequency, the likeliest thing to pull the right-hand end down.

The circuit

There are two blocks. The switch does the shifting. The oscillator and its pot are the dial. Both run between the badge's −1.5 V and +1.5 V rails, which puts the signal, at 0 V, in the middle of the switch's range.

One ear of the recommended buildPress a button to move the switch
ALREADY ON THE BADGE I1 100 mH coil break the track here R2 100 Ω R4 100 kΩ ‖ C5 100 pF − + U1A NJM2115D to C1 and the jack one section of a 74HC4053 a second section does the other ear 14 13 12 11 select to the amplifier to 0 V square wave high: pass. low: to 0 V. OSCILLATOR: THE DIAL one 74HC14: gate 1 oscillates, gate 2 drives the switch 2.2 kΩ pot 100 kΩ 330 pF −1.5 V 1 2 3 4 output, pin 4
Grey parts are on the badge now, with the names from its schematic. Everything else is added. Held at Pass the badge is very nearly its old self. Held at To 0 V it is muted. Chopping is flipping between the two at the oscillator's rate. Not drawn: 74HC4053 pin 16 and 74HC14 pin 14 to +1.5 V; 74HC4053 pins 6, 7 and 8 and 74HC14 pin 7 to −1.5 V; 100 nF across the rails beside the chips; unused inputs to −1.5 V.

The switch

It has to be a two-way switch. While the amplifier side is disconnected, the coil must still see a short circuit, or its current has nowhere to go. In simulation a switch that only opens and closes the path, with no throw to 0 V, gave a tone with extra whistles on it and a mute that leaked. One section of a 74HC4053 does both throws and never connects them at the same moment.

The chip holds three such sections. Section 1 (pins 14, 13, 12, select 11) takes one coil and section 2 (pins 15, 1, 2, select 10) takes the other, both flipped by the same oscillator. Section 3 is spare.

The switch's resistance hardly matters while chopping, because the coil behaves as a current source. A 74HC4053 on 3 V is somewhere between 100 and 200 Ω, and more as the cells run down; the datasheet does not pin it down at so low a supply. In simulation 400 Ω and a slower switch, standing in for nearly flat cells, still gave the full tone.

The oscillator

One Schmitt inverter with a resistor from its output back to its input and a capacitor from its input to the rail. The capacitor charges until the gate flips, discharges until it flips back, and repeats. With 2.2 kΩ, a 100 kΩ pot and 330 pF it runs from about 26 kHz to 1 MHz on fresh cells, and from 21 kHz to about 0.8 MHz on cells run down to 2 V. A second gate of the same chip squares the edges up and drives the switch. Expect the whole range to sit 30 % higher or lower from one chip to the next; it is a knob, not a calibrated dial.

The top of that range is ragged, and that is the bargain. An earlier draft used 10 kΩ and stopped at 255 kHz. The smaller resistor costs nothing and lets the knob reach on toward 1 MHz, where three things stop being tidy.

If the top end turns out to be too fiddly, a larger fixed resistor pulls it back in: 4.7 kΩ stops near 500 kHz and 10 kΩ near 250 kHz.

Normal listening

A mode switch that holds the select pin high leaves the coil connected to the amplifier through the chip. That is not quite the stock badge: the chip's resistance sits in the coil's path and takes about 2.5 dB off everything below 300 Hz on fresh cells, and about 6.5 dB once they are down to 2 V. If that matters, a two-pole switch can take each coil straight to its resistor instead, which leaves the stock signal path in normal listening. The schematic generator has that as an option.

One thing to check on the badge itself

This design needs the 100 pF feedback capacitors, C5 and C6, that the V2 schematic shows. The KiCad file in the public repository shows 10 pF. With 10 pF the oscillator's leak at the amplifier output swings ±0.6 V in simulation, against ±0.15 V with 100 pF, and that is most of the amplifier's headroom on tired cells.

Parts for both ears

PartValueJob
Analog switch74HC4053, DIP-16sections 1 and 2 chop the two coils; section 3 is spare
Schmitt inverters74HC14, DIP-14gate 1 oscillates, gate 2 drives the switches; two more gates make comb mode
Pot100 kΩ, log taperthe knob; smaller pots cover less of the range
Resistor2.2 kΩsets the top of the range
Capacitor330 pFsets the range
Capacitor100 nFacross the rails, beside the chips
Mode switchtwo- or three-position slidenormal, tuned, and comb if fitted

To put this into KiCad, the schematic generator makes a KiCad 9 schematic of this build or of the transistor one, with footprints and LCSC part numbers filled in, either on its own for pasting into the badge's schematic or with the badge drawn alongside.

The switch: what else could do it

The switch chip is where the sound quality is decided. Every alternative was simulated on the badge's ±1.5 V with the same 40 kHz field, and again on ±1.0 V to stand in for tired cells.

SwitchPer earToneHiss against the stock badgeOn tired cellsVerdict
74HC4053 sectiona third of a chip59 mV10 dB quieter59 mVRecommended
74HC4066, two on-off switcheshalf a chip, and both phases of the oscillatorsame circuitsamesameWorks more wiring for no gain
74LVC1G3157, surface-mountone SOT-23-6 chipsame circuit, a few ohmssamespecified down to 1.65 VWorks the best switch, if surface-mount is acceptable
One FET to the rail: BSS138 and 1 µFone transistor, one capacitor72 mV15 dB noisier71 mVWorks, hissy surface-mount only
The same with a 2N7000one transistor, one capacitor71 mVnot run36 mVNo a typical part fades as the cells sag, and a worst-case part never turns on
One NPN to the rail: 2N3904, 1 µF, 10 kΩone transistor, two passives55 mV12 dB noisiernot runNo it also adds low-pitched tones of its own

The hiss is the difference that matters. With the switch chip, the amplifier's input is disconnected for the half of each cycle that the coil is grounded, so the op-amp has nothing to amplify. With a transistor to the rail, the coil and R2 are grounded together, and for that half-cycle the op-amp amplifies its own noise about a thousand times. The transistor version is 25 dB hissier than the chip while it is tuning.

The one-transistor alternativeCheapest, and hissy
I1 100 mH R2 100 Ω R4 ‖ C5 − + to the jack 1 µF BSS138 or another FET that turns on below 1.5 V 1 kΩ oscillator −1.5 V Nothing sits in the signal path, so the track is not cut. High: coil current goes to the rail. Low: the badge as it is.
The capacitor lets the transistor sit on the negative rail, where a 3 V gate swing can turn it on. Its one real attraction: the badge's own signal path is untouched, so with the oscillator stopped the badge is exactly as it was.

JFET and diode switches were not simulated. A JFET needs its gate driven several volts beyond the signal to turn off, which ±1.5 V rails cannot be relied on to give, and a diode switch takes more parts than the chip it would replace.

The oscillator: four ways to make the dial

Four oscillators that run on two AAA cellsEach with one pot
A One gate of a 74HC14Schmitt inverter, one resistor, one capacitor 2.2 kΩ pot 100 kΩ 330 pF −1.5 V 1 2 out B One CMOS 555TLC555, LMC555 or ICM7555, not the bipolar NE555 CMOS 555 2, 6 3 8 4 1 +1.5 V 2.2 kΩ pot 100 kΩ 220 pF −1.5 V out C Two spare sections of the 74HC4053each wired as an inverter: its two throws on the rails 47 kΩ 2.2 kΩ pot 100 kΩ 180 pF out D Two 2N3904 transistorsthe textbook multivibrator; no chip +1.5 V 4.7 kΩ 4.7 kΩ pot 100 kΩ 22 kΩ 22 kΩ 100 pF 100 pF out
Every one drives the select pin of the switch chip directly. The pot and the 2.2 kΩ set the frequency in A, B and C. In D the one pot feeds both base resistors.
OscillatorRange on fresh cellsOn cells at 2 VTime highVerdict
A. One 74HC14 gate26 kHz to 1.0 MHz21 to 810 kHz42 %Recommended the spare gates give the buffer and comb mode for nothing
B. One CMOS 55531 to 735 kHzthe same50 %Works the steadiest dial, and comb mode is built in; costs more than the 74HC14
C. Two 74HC4053 sections25 to 555 kHzthe same50 %Works no second chip; leaves one section, so it tunes one ear
D. Two 2N3904about 50 to 300 kHzthe bottom of the range stops following the pot40 to 48 %Works, narrowly a 6 to 1 range, 0.6 to 1.1 mA from the cells, nine parts
Bipolar 555 (NE555)needs 4.5 VNo
CD4000-series gatestoo slow on 3 V; fine on 5 V, which is what the breadboard build usesNo

The 555 has to be a CMOS one: a TLC555, LMC555 or ICM7555. Wired with its timing resistor from the output pin, it gives an even square wave whose frequency does not move as the cells run down, because its thresholds are fixed fractions of the supply. The 74HC14's thresholds are not, which is why its range sags by a fifth. The 555 and the two-section oscillator stop short of 1 MHz with the same 2.2 kΩ, because their own delays are longer. Its uneven 42 % also opens a faint extra window at twice the oscillator frequency, about a quarter the size of the main one. Neither costs anything you would hear as a fault.

The 555 figures assume a quarter of a microsecond of delay inside the chip. The TLC555 datasheet's graph runs up to half a microsecond at low supply, so the top of its range could sit lower. The transistor pair is the only one of the four simulated with real device models.

Comb mode

Tuned, the switch passes for half of each cycle and you hear one window. Give it a short pulse instead and it opens a window at every multiple of the oscillator frequency at once. With the oscillator near 30 kHz the windows overlap, so everything from 15 kHz to about 300 kHz is audible together. The knob stops being a tuning dial and becomes a pitch control.

Why a short pulse hears everything

Go back to the strobe and the fan. A strobe that flashes 30 times a second freezes a fan turning 30 times a second. It also freezes one turning 60, 90 or 150 times a second, because each of those is back in the same place at every flash. That only works if the flash is short. A flash that stays on for half the time between flashes still shows the slowest fan, and smears the faster ones into a blur.

The switch is the strobe. Tuned, it is on half the time, which is the long flash: it catches fields near the oscillator frequency well, fields near three and five times that frequency faintly, and nothing near the even multiples. In comb mode it is on for about 3 µs in every cycle, which is the short flash. A field near any multiple of the oscillator frequency now comes out as a tone. Those multiples are the teeth of the comb.

Three things set what the comb does.

The comb's teethSimulation 3

Each amber stem is one tooth, as tall as the tone it gives for a field of fixed strength; the top of the panel is the level of a source that is tuned in. The dashed curve is the limit the pulse width sets. The blue line is one field: drag it, or use the slider, and watch which tooth catches it and what note comes out. Calculated from the same formula the circuit simulation confirmed to within half a millivolt.
  1. Drag the field slowly from left to right. A note falls to zero and rises again at every tooth, quieter each time, and all but stops at the reach.
  2. Shorten the pulse to 1 µs. The teeth run all the way to 1 MHz, and every one of them is a third as tall.
  3. Press Half on, as when tuning. Every second tooth vanishes and the rest fall away quickly: that is why tuning hears one band.
  4. Raise the oscillator to 60 kHz. Gaps open between the windows, and a field in a gap is not heard at all.

What it sounds like

Every source in reach plays at once, each at its distance from its nearest tooth. Turn the knob and each note moves at its own speed: a source near tooth 5 moves five times as fast as one near tooth 1, and a source just below a tooth moves the opposite way to one just above it. So in comb mode the knob is for nudging a sound to a comfortable pitch, not for finding it. Comb mode answers what is out there; tuning then picks one thing and gives it three times the level.

What comb mode gives up is loudness. In simulation the same field that gives 59 mV when tuned gives 17 mV at 31 kHz, 17 mV at 61 kHz, 12 mV at 151 kHz, 6 mV at 241 kHz and 2 mV at 301 kHz. Hiss falls further still, to about 26 dB below the stock badge, and ordinary sound drops to 9 % with everything else. The amplifier's output is then mostly ripple at the oscillator frequency. It is above hearing, and in the frame below a small low-pass standing in for the ear takes it off so that the note shows.

Comb mode as a live circuitFalstad simulator
The oscillator runs at 30 kHz and turns the switch on for 3 µs in each cycle. The field starts at 151 kHz, 1 kHz above tooth 5, and the right-hand trace shows the 1 kHz note: 12.5 mV at the amplifier here, 12.3 mV in ngspice. On a wide screen the Field frequency slider moves in 3 kHz steps from 31 to 331 kHz, so every tenth step lands 1 kHz above a tooth; in between, the note is higher and fainter. The source reaches the pickup coil through a loosely coupled pair of coils, so the field keeps the same strength as its frequency changes.

Adding it to the build

On the recommended build the comb costs a capacitor, a resistor and a third position on the mode switch. The pulse is a fixed 2.8 µs or so, which puts the reach near 350 kHz. Keep the knob in the lower part of its travel: above about 180 kHz the pulses fill more than half of each cycle and it stops being a comb.

Comb mode on the recommended buildTwo spare gates, two passives, one switch
gate 1 gate 2 gate 3 gate 4 330 pF 6.8 kΩ −1.5 V +1.5 V square, for tuning 3 µs pulses, for the comb NORMAL TUNED COMB mode switch to the 74HC4053
The capacitor and resistor turn each rising edge into a spike, and gates 3 and 4 square it into a pulse of about 2.8 µs. The switch then chooses what reaches the 74HC4053: a steady high for normal listening, the square wave, or the pulses.
OscillatorAdded for comb modeHow well
A. 74HC14330 pF, 6.8 kΩ, two spare gates, a three-position switchA fixed pulse of about 2.8 µs (calculated)
B. CMOS 55518 kΩ and a two-pole three-position switch that rewires it as the standard 555 circuitA steady 3 µs pulse from 44 to 139 kHz (simulated). The neatest of the four
C. Two 74HC4053 sectionsa diode and 15 kΩ across the timing resistor, and a switchWorks at the low end of the dial, but the pulse narrows from 3.6 µs to under 1 µs as the knob goes up (simulated)
D. Two 2N3904unequal base resistorsNot worth it: it stalls at one end of the pot

A nicer tone

Tuned in, the badge plays three things at once: the note you tuned to, the mains hum it always plays, now at half its usual level, and ripple at the oscillator frequency that nobody hears but the amplifier has to carry. Two small filters each take one of those out, and one larger change takes out two. None of them is in the recommended build. All were simulated with a 40 kHz field tuned to a 1 kHz note and 60, 180 and 300 Hz hum induced in the coil alongside it.

While tuning1 kHz note60 Hz hum180 Hz hum300 Hz humOscillator rippleHiss, against the stock badge
Recommended build, no filter59 mV55 mV53 mV51 mV54 mVabout −10 dB
0.47 µF in series64 mV17 mV43 mV54 mV51 mVnot run
0.22 µF in series72 mV8 mV25 mV41 mV51 mVabout −8 dB
0.1 µF in series90 mV4 mV12 mV20 mV51 mVnot run
390 pF more across the feedback58 mV58 mV56 mV53 mV13 mVabout −11 dB
0.22 µF and 390 pF71 mV8 mV25 mV42 mV12 mVabout −8 dB
Reversing the coil, even square wave126 mV0 mV0 mVnot run0 mVabout −22 dB
Reversing the coil, 74HC14's 42 %123 mV11 mV11 mVnot run10 mVnot run

Levels at the amplifier output, from badge_filter.py. The hum is 0.5 mV of each frequency induced in the coil, which gives about 0.1 V of each on the stock badge. The hiss figures move by a decibel or two from run to run.

A capacitor against the hum

A capacitor between the switch and R2 lets the note through and holds the hum back. With 0.22 µF the 60 Hz hum drops by 16 dB and the 180 Hz by 7 dB. The capacitor also resonates gently with the coil, so notes around 600 Hz to 1 kHz come out about a quarter louder than without it, and notes below 300 Hz fade. A smaller capacitor does more of both: 0.1 µF takes 23 dB off the 60 Hz and makes notes near 1 kHz stand out, 90 mV at 1 kHz against 62 mV at 600 Hz and 71 mV at 2 kHz.

It cannot stay in the path for normal listening. Held at pass with 0.22 µF in series, the badge loses 28 dB of its 60 Hz and 13 dB of its 300 Hz, and hum is most of what the stock badge plays. So the capacitor needs a bypass that closes for normal listening.

A capacitor against the shrillness

Another 390 pF across each feedback resistor moves the amplifier's corner from 16 kHz down to 3.2 kHz. Notes above that fade, by 4 dB at 4 kHz and 7 dB at 8 kHz, so an off-tune source is a murmur and not a whistle. The oscillator's ripple at the output falls to a quarter, which gives the amplifier its headroom back. It does little for hiss, about 2 dB, because the hiss is already concentrated at low pitches.

The price is a narrower window, about 3 kHz either side of the oscillator where it was 16 kHz. That makes tuning more selective and the crowded top of the dial harder still to catch. It also has to switch out for normal listening, or the stock badge loses its top end.

Switching them in and out

Both filters on one channelHalf a 74HC4066 per ear
pickup coil 74HC4053 section CS 0.22 µF R2 100 Ω bypass closed for normal listening 100 kΩ ‖ 100 pF CX 390 pF closed while tuning − + to the jack Grey parts are on the badge today. The two switches are half of a 74HC4066; the other half does the second ear.
The bypass goes round both the switch chip and CS, so normal listening passes through one switch as it does without the filters. A second pole on the mode switch gives the 74HC4066 its control signal, and a spare 74HC14 gate inverts it for the pair that closes while tuning.

Both filters for both ears come to one 74HC4066, four capacitors and a mode switch with a second pole. The TI SN74HC4066N is from $0.55 at LCSC; a low-cost one was not priced. Fitting only the hum capacitors needs half the chip.

Or reverse the coil instead of grounding it

The recommended switch sends the coil to the amplifier for half of each cycle and to 0 V for the other half. Give the coil's other end a switch section of its own, and the pair can swap the coil's two ends instead: one way round for half the cycle, the other way round for the rest. Nothing is thrown away, and three things change in simulation.

It costs a second 74HC4053 for two ears, nine cents at low-cost prices, and a different route for the coils: both ends of each coil go to the chips, where today one end goes to 0 V. Normal listening then passes through two switch sections, not one, so it loses a little more bass unless it is bypassed. This is a bigger change than a filter and it is not in the recommended build, but on a new board it is the one worth trying first. The switches were simulated as ideal, so real charge injection and mismatch will leave some ripple and some hum.

What each build costs

Prices for the parts that differ between builds. "From" means the lowest price break the distributor shows, without the quantity.

PartPackageBrand-nameLow-cost
74HC4053DIP-16TI CD74HC4053E: $0.57 at 1,000, $1.14 for one (DigiKey)HGSEMI 74HC4053N: from $0.09 (LCSC)
74HC14DIP-14TI SN74HC14N: $0.60 at 1,000, $1.22 for one (Mouser)HGSEMI 74HC14N: from $0.09 (LCSC, out of stock when read)
CMOS 555DIP-8TI TLC555CP: $0.69 at 1,000, $1.40 for one (Mouser)the same part at LCSC: from $0.40 (out of stock when read)
2N3904TO-92$0.023 at 1,000 (LCSC)
BSS138SOT-23from $0.011 (LCSC)
74LVC1G3157SOT-23-6TI SN74LVC1G3157DBVR: from $0.049 (LCSC)
74LVC1G14SOT-23-5TI SN74LVC1G14DBVR: from $0.032 (LCSC)
Pot, 9 mmthrough-holeBourns PTV09A, 100 kΩ linear: $0.74 at 1,000 (Newark)Alps RK09K: $0.32 at 1,000 (LCSC; the part priced is the 10 kΩ one)

And the builds, as chips and transistors plus the pot:

BuildEarsComb modeLow-costBrand-nameVerdict
1. 74HC4053 and 74HC14bothtwo passives$0.50$1.91Recommended
2. 74HC4053 alone, as switch and oscillatoronea diode and a resistor$0.40$1.30Cheapest that sounds right
3. 74HC4053 and a CMOS 555bothone resistor$0.80$2.00Works steadier dial for 30 cents more
4. 74HC4053 and two 2N3904bothno$0.45$1.35Works saves a nickel on build 1 and loses range
5. No chips: two 2N3904 and two BSS138bothno$0.39$0.80Works, hissy
6. Surface-mount: two 74LVC1G3157 and a 74LVC1G14bothneeds a second gate$0.45$0.87Works if the board is machine-assembled anyway

Low-cost uses the HGSEMI chips and the $0.32 pot. Brand-name uses the TI chips and the $0.74 pot; the transistors and surface-mount parts are the same LCSC prices in both columns. Not included, because they were not priced: ten to fifteen cents of resistors and capacitors, the mode switch, sockets, and board area. Machine assembly for build 6 is not included either.

At low-cost prices every build but the 555 one sits within eleven cents of the others, and in each of those the pot costs more than all the silicon. So the choice between them is about sound and ease of assembly, not chip count. At brand-name prices the second chip is the 60 cent question, and build 2 answers it by tuning one ear.

The knob. These totals use an ordinary 9 mm shaft pot. Pots from 10 kΩ to 100 kΩ work, though only the larger values reach the top of the range, and cheaper ones exist, down to a four-cent trimmer that takes the low-cost build to $0.22. Which pot to buy prices them, including position sensors used as sliders.

Other ways to cut cost

What the simulations say

QuestionSimulated answer, recommended build on ±1.5 V
How big is the tone?A 40 kHz field chopped at 39 kHz gives a 1 kHz tone of 59 mV at the amplifier output. Today the same field leaves 73 mV of 40 kHz there, which nobody hears.
Does it fall off higher up?Not in the model: 59 mV at 200 kHz, 59 mV at 600 kHz and 57 mV at 1 MHz. An offset builds at the amplifier output instead: 60 mV at 40 kHz, 0.16 V at 600 kHz and 0.24 V at 1 MHz.
And on tired cells?59 mV at 40 kHz and at 200 kHz on ±1.0 V, with the switch modelled as 400 Ω and 150 ns, and 60 mV at 1 MHz with a 0.25 V offset. The oscillator only reaches about 0.8 MHz there.
Is it hissier than the badge?No. The op-amp's own noise at the output is 10 dB lower while tuning than on the stock badge. The tone is also 10 dB down, so a tuned-in source is about as clean as an audible one is today.
Does the oscillator leak into the sound?Some of it reaches the output, always at the oscillator frequency, so above hearing. It swings ±0.15 V of the amplifier's ±1.2 V.
What happens to ordinary sound while tuning?It passes at half level, mixed with whatever is in the window.

How far to trust this. The models are simple fits to datasheet numbers, run in ngspice. The 74HC4053 is a pair of ideal switches with a resistance, a delay and 2 pF of feedthrough, and its resistance on 3 V and 2 V is an estimate; the 74HC14 and the 555 are threshold switches with the datasheet's thresholds. The comb-mode tones came out within 0.5 mV of the textbook formula. Not modelled: the real chip's charge injection, losses in the coil's ferrite, and the coils picking up the oscillator through the air.

The scripts

All of this can be rerun. The scripts are plain Python: they write ngspice netlists, run them and print the figures quoted on this page. They need Python 3 with numpy, and ngspice on the path. Keep the files in one folder.

FileWhat it does
badge_core.pyThe shared models: coil, amplifier and the switch options. The others import it.
badge_chop.pyTone, leak and output swing for the 74HC4053 section up to 1 MHz, the one-transistor shunts and comb mode.
badge_hiss.pyHiss for each way of chopping, against the stock badge.
badge_osc.pyFrequency range and duty cycle of the four oscillators.
badge_pots.pyThe 74HC14 oscillator with pots from 10 kΩ to 100 kΩ.
badge_filter.pyThe tone filters and the reversing chopper: note, hum, ripple and hiss.
badge_passband.pyWhat the switch and a series capacitor do to ordinary sound in normal listening.
badge_noresistor.pyThe same circuit with the 100 Ω input resistor left out: ordinary sound, the tuned note, the comb, the offset and the hiss.
chopper-falstad.txt, comb-falstad.txtThe two Falstad circuits shown above, as text to import into the simulator.

All ten files in one zip. Written against ngspice 42. The hiss figures move by a decibel or two from run to run, because the noise source is random.

What to check on the bench first

  1. Does it sound good? Build 1 on one ear, near a phone charger and an induction hob. Everything else is secondary.
  2. The oscillator's leak. A scope on the op-amp output while tuning. If it swings more than about ±0.3 V, look at the feedback capacitor's value first.
  3. Tired cells. Repeat on two cells at about 1.0 V each. The simulation says the tone holds; the 74HC4053's resistance down there is the least certain number on this page.
  4. The top of the dial. How far up the tone really holds, and how much offset builds at the amplifier output. Above a few hundred kilohertz the coil's core, the switch's speed and its charge injection are all unknowns.
  5. The pot. Linear against log, by feel.
  6. Comb mode, once tuning works: whether 17 mV where tuning gives 59 mV is loud enough to be worth a switch position.

Or as an add-on board

One more way to build it leaves the badge's layout alone. The two 100 Ω resistors each sit between a coil and an amplifier input, so their four holes are exactly the four points the chopper has to come between. A small board could stand on pins in those holes, carry the resistors itself, and hold the whole tuning circuit.

A proposed add-onA 3D rendering, not a photograph
The back of the badge with a small purple board standing on pins between the two battery holders, carrying two chips, a pot and a slide switch. Its lower edges run parallel to the badge's angled bottom edges, just above the two coils.
The add-on, in purple, sits between the battery holders. Its lower edges follow the badge's angled outline and stop just above the coils. It still needs three wires for power, and nothing on it is routed yet. Rendered from the badge's own board file with R1 and R2 removed, and with the coils drawn as the Bourns RLB1014 inductors the published parts list names. Badge board and artwork are EMF Explorer Badge V2.1, CC BY-NC-SA 4.0. Measurements, a second view and the board file are on the KiCad page.

More detail

Sources