What's the difference between single-chip timing and counting?

1, the trigger source is different: the trigger source of timer is external pulse, while the trigger source of counter is clock signal.

2. The counting object is different: the timer is actually a counter, but it counts pulses with a fixed period; A counter just counts time.

Single chip microcomputer, also known as monolithic microcontroller, belongs to integrated circuit chip. Single chip microcomputer mainly includes CPU, ROM and RAM. Diversified data acquisition and control systems enable the single chip microcomputer to complete all kinds of complex operations, whether it is controlling operation symbols or sending operation instructions to the system. ?

It can be seen that with its powerful data processing technology and computing function, single chip microcomputer can be fully applied in intelligent electronic equipment. Simply put, a single chip microcomputer is a chip, and this chipset becomes a system. Through the application of integrated circuit technology, the data operation and processing ability are integrated into the chip to realize high-speed data processing.

Extended data:

Application of single chip microcomputer

1, energy saving control

Because the intelligent electronic equipment may be operated frequently, the energy consumption of these equipment is very high, so some energy-saving control modules are often designed to improve the standby time of intelligent electronic equipment.

The application of single-chip microcomputer technology in energy-saving control is mainly divided into the following aspects: First, most intelligent electronic equipment is in light load mode when going out. At this time, energy-saving control is needed to further reduce power consumption on the premise of ensuring their basic functions.

Through the collection of data in intelligent electronic equipment, the single chip microcomputer can roughly infer that the current equipment is in a low load state, thus reducing the output of voltage and current and achieving the purpose of energy saving; Secondly, the single chip microcomputer can control the rhythm of energy consumption. For example, mi band collects the numbers of human heart rate, sleep and exercise steps, which will be stored locally and then reported at a frequency of minutes.

When the information is not reported, the equipment is in a low energy consumption state. When information is reported, there will be some consumption in network transmission. Single-chip microcomputer can control the energy consumption rhythm, control the bracelet in a low energy consumption state most of the time, and make the standby time as long as 72 hours or more.

2. Intelligent voice equipment

In order to better improve the intelligence of intelligent electronic equipment, people can control it through simple language and realize the purpose of voice human-computer interaction. At present, speech processing chips have been developed and applied to intelligent electronic devices. The application of single chip microcomputer in intelligent voice equipment is mainly divided into the following two parts.

First, in the aspect of software setting, because the single chip microcomputer can process some business logic through programming, it can operate the intelligent voice processing flow. For example, in navigation intelligent electronic equipment, some road names and distances can be extracted and then broadcast; At the same time, you can also choose different celebrity tones to play, truly realize intelligent customized operation and better meet the needs of users.

Secondly, in terms of hardware design, because intelligent voice equipment consumes a lot of resources, in order to better extend the standby time of the product, we will use single chip microcomputer technology to dynamically control the power of the product to further reduce power consumption. At the same time, it can also improve the response time of hardware and further improve the user experience through single chip microcomputer technology.

3. Alarm control

For some electronic equipment, there will be automatic alarm settings, and alarm control is also a frequently used field of single chip microcomputer technology, which is mainly reflected in the following aspects: First, for some automatic alarm devices, such as fire alarms often used at home, it is the equipment that turns on intelligent alarm when the external environment reaches certain conditions.

If the indoor smoke concentration reaches a certain level, or the collected external data reaches a certain state, it will automatically trigger the alarm setting, thus realizing the function of intelligent alarm; Secondly, for some intelligent electronic equipment, if the external environment exceeds the working environment of the equipment, or the equipment has some abnormal conditions, it will trigger its own alarm mechanism, so that users can know the operation details of the equipment in time and provide solutions according to the alarm information.

4. Medical equipment

With the continuous improvement of medical equipment technology, single-chip microcomputer has been widely used in medical equipment, mainly in the following aspects: First, intelligent monitoring of patients' physical characteristic data, some medical equipment can be installed on patients, collect their physical data, and then interact with the background control system. If the patient's physical characteristics are abnormal, an alarm will be generated in time.

References:

Baidu encyclopedia-single chip microcomputer