Single chip clock circuit

What is a clock circuit?
Single chip clock circuit

A clock circuit is an oscillating circuit that produces an accurate motion like a clock. Any work is in chronological order. The circuit used to generate this time is the clock circuit. The clock circuit generally consists of a crystal oscillator, a crystal oscillator control chip, and a capacitor. Clock circuits are widely used, such as computer clock circuits, electronic watch clock circuits, and MP3MP4 clock circuits.

MCU clock circuit function
Single chip clock circuit

The operation of the MCU requires clock support - just like the CPU of a computer. If there is no clock circuit to generate the clock to drive the MCU, then the MCU cannot execute the program.

The internal circuit of the MCU is composed of many sequential circuits such as flip-flops. Only through the clock can the MCU work step by step.

In the specific work, the external oscillator connected to the oscillator (or the internal oscillator) can provide the high-frequency pulse after the frequency division processing, and become the internal clock signal of the single-chip microcomputer as the control signal for the coordinated operation of the components in the chip.

If there is no clock signal, the state of the flip-flop cannot be changed. All the circuits inside the microcontroller will eventually reach a steady state after completing a task and no further work can be performed.

A microcontroller can be thought of as a sequential logic circuit driven by a clock.

Taking the MCS-5l single-chip microcomputer as an example, the MCS-51 single-chip microcomputer executes one instruction for l2 clock cycles. That is to say, when the MCU runs an instruction, it must use r2 clock cycles. Without this clock, the microcontroller could not run, and there was no way to perform time-related operations.

The clock circuit is the heart of a microcomputer that controls the two rhythms of a computer. The CPU completes different instruction functions through complex sequential circuits. The clock signal of the MCS-51 can be generated in two ways: one is an internal mode, and the clock signal is generated by using an internal oscillation circuit of the chip: the other is an external mode, and the clock signal is externally introduced.

If there is no clock circuit to generate the clock to drive the microcontroller, the microcontroller will not work.

The one-chip computer clock circuit is used to cooperate with the external crystal to realize the oscillation circuit. This can provide the running clock for the single-chip microcomputer. If the running clock is 0, the single-chip microcomputer will not work. Of course, the clock that exceeds the operating frequency of the single-chip microcomputer will also cause the single-chip microcomputer to not work.

It is like the beating of the human heart.

MCU clock circuit example

Hardware selection

1. The selection of single-chip microcomputer selects AT89C2051 single-chip microcomputer, equipped with 11.0592MHz crystal oscillator, reset circuit adopts power-on reset

2, the display circuit selection uses software decoding dynamic display, P3.0-P3.5 for the digital tube bit selection port, P1.0-P1.6 for the digital tube segment selection port. Considering that the direct drive with the I/O port of the MCU can make the drive power insufficient, the triode 9012 can be used for driving, and the common anode digital tube display.

3, the power supply is selected by DC 5V power supply, can be used to convert 9V battery to 5V

Control System

Single chip clock circuit

Procedure flow chart

Single chip clock circuit
Single chip clock circuit

Internal mode clock circuit diagram

Single chip clock circuit

Internal mode clock schematic

Single chip clock circuit

Vertical Laptop Stand

Vertical Laptop Stand,Dual Vertical Laptop Stand,Vertical Laptop Stand 2 Slot,Vertical Laptop Stand Adjustable,etc.

Shenzhen Chengrong Technology Co.ltd is a high-quality enterprise specializing in metal stamping and CNC production for 12 years. The company mainly aims at the R&D, production and sales of Notebook Laptop Stands and Mobile Phone Stands. From the mold design and processing to machining and product surface oxidation, spraying treatment etc ,integration can fully meet the various processing needs of customers. Have a complete and scientific quality management system, strength and product quality are recognized and trusted by the industry, to meet changing economic and social needs .

Comput Notebook Laptop Stand

Best Vertical Laptop Stand,Wood Vertical Laptop Stand,Wooden Vertical Laptop Stand,Dual Vertical Laptop Stand

Shenzhen ChengRong Technology Co.,Ltd. , https://www.laptopstandsupplier.com

Posted on