Microcontroller principle is microcontroller is mainly composed of three main parts: operator, controller and registers. Among them, the operator consists of arithmetic logic unit (ALU), accumulator and registers.
First accumulator and registers to ALU input two 8-bit source data, followed by ALU to complete the source data of the logical operation, and finally the results of the operation will be deposited into the register; controller by the program counter, instruction register, instruction decoder, timing generator and operation controller, etc. constitute, is a command "organization "
The controller consists of a program counter, an instruction register, an instruction decoder, a timing generator, and an operation controller.
The registers are mainly Accumulator A, Data Register DR, Instruction Register IR, Instruction Decoder ID, Program Counter PC, and Address Register AR.
Single-chip microcomputer applications in various fields are as follows:
1, in the field of instrumentation, once the use of single-chip microcomputer control, the instrumentation has become digital, intelligent, miniaturized, and its function is more powerful.
2, in the field of household appliances, has been widely realized in the home appliances of the microcontroller control, such as rice cookers, refrigerators, air conditioners, color TV, stereo and so on.
3, in the field of network communication, cell phones, small program-controlled switches, building automatic communication call system and so on have realized the single-chip control, and the single-chip is generally equipped with a communication interface, so that the communication equipment can be convenient to communicate with the computer between the data.
4, in the field of industrial control, you can use the microcontroller to form a variety of control systems, such as intelligent management of factory assembly lines, intelligent control of elevators, a variety of alarm systems, and computer networking to form a secondary control system.
5, in the field of medical equipment, microcontroller has also greatly realized its value, has been widely used in a variety of analyzers, monitors, bed call system, medical ventilators and other medical equipment.