I borrowed this idea and circuit design from stoneslice’s 1MHz Oscillator video. I tested a range of components across a range of frequencies from 1.5MHz to 2.9MHz. As always, all notes, schematics and code are in the Little Electronics & Arduino Projects repo on GitHub