He then adds an inductor and diode, this keeps the current from dropping too fast, but the PWM just isn’t switching fast enough to keep the coil energized. A small modification to the Arduino ...
To automate tuning, an Arduino switches a bank of capacitors and inductors in and out of the circuit. By varying the load, it can find the ideal matching for the given antenna and frequency.