How to make square wave signal generator with crystal oscillator
The sine wave output by the crystal oscillator is shaped by the inverter 74HC 14 or 74HC04, and the high-quality positive square wave can be obtained by inverting it twice at most. Every 74HC 14 or 74HC04 has a six-channel inverter, and you can use two of them at will. As shown in the figure below-