Single-chip mini PCs must be powered by a clock in order to function. A single-chip microcomputer has a clock oscillation circuit inside it, and only an external oscillator source can generate a specific clock signal for each unit inside a single-chip microcomputer.Generally, a quartz crystal oscillator is used. After turning this circuit on, the oscillator starts vibrating after a delay of about 10 ms, and a sine wave clock signal with an amplitude of about 3 V is generated on the XTAL2 pin. The oscillation frequency is mainly determined by the frequency of the quartz crystal oscillator. The quartz crystal oscillator in the circuit has a frequency of 12 MHz, and capacitors C1 and C2 have two functions: one of them is to help the oscillator vibrate; The second is to adjust the frequency of the oscillator. Typical values for C1 and C2 are 33PF. The clock circuit of a single-chip computer is shown in Figure 3.