Current location - Training Enrollment Network - Education and training - Characteristics of Single Chip Microcomputer Course
Characteristics of Single Chip Microcomputer Course
What are the characteristics of single chip microcomputer teaching?

What are the teaching characteristics of single chip microcomputer? It's hard to say. At present, almost all colleges and universities have set up single chip microcomputer courses in all electronic related majors. However, the teaching conditions and teaching materials in different schools are different, so the teaching methods are different. But one thing, most of them still treat the single-chip microcomputer course as a pure theoretical course, which makes the single-chip microcomputer course very secret and difficult to learn. Students don't know what they have learned, and there is nothing to gain after learning.

In fact, MCU course is a practical course, and it must be combined with experimental training and practical application to achieve certain results. From countless students who come here to ask questions, we can see the present situation of single chip microcomputer teaching.

Second, what is the core of learning MCU course?

The main learning content of single chip microcomputer is:

1. memory structure: including progRAM memory and ram (working register, bit register, user register, special capacity function register and extended ram).

2. Interrupt resources: external interrupt, timer interrupt, serial interrupt, etc.

3.IO port: Many IOs are multiplexed, so it is necessary to find out the specific meaning and control method.

4. Various functional modules: such as RS232, SPI, timer counter, I2C, PWM, watchdog, etc. Some of these modules only have a single chip microcomputer, and some have more.

You'd better learn to compile, which will help you to understand these things better.

What preparations do you need to make to learn the course of single chip microcomputer?

Landlord, your question is as stupid as I used to ask. Learn what others tell you to learn. Finally, you don't know what the single chip microcomputer is. Only by finding the knowledge you need in use can you learn anything. This is the best way.

Suppose a calculator (this is a real thing), you will find a small CPU and peripheral devices (such as keyboard and LCD) in it, so how does the CPU contact them? The first is hardware interface connection, and the second is software programming. Hardware interface connection: then you have to learn analog electricity, digital electricity and so on; Software programming: C language, assembly, etc.

What I think is not what I want to learn, but what I want to learn it for and where it can be used.

Which of the four courses of single chip microcomputer is better?

It is not too difficult to learn the basic knowledge of single chip microcomputer better than anyone's single chip microcomputer.

Five, talk about the understanding, understanding, opinions and suggestions of the single chip microcomputer course.

Single-chip microcomputer, also known as single-chip microcontroller, is not a chip to complete a certain logical function, but to integrate a computer system into a chip.

To sum up: the chip becomes a computer. It is small in size, light in weight and cheap, which provides convenient conditions for learning, application and development. At the same time, learning to use single chip microcomputer is the best choice to understand the principle and structure of computer.

Microcontrollers also use modules with similar functions to computers, such as CPU, memory, parallel bus and storage devices with the same functions as hard disks. The difference is that the performance of these components is much weaker than that of our computer, but the price is also low, generally less than 10 yuan ... it is enough to do some uncomplicated work such as controlling electrical appliances. We now use automatic drum washing machine, exhaust hood, VCD and other household appliances can see it! ..... is mainly used as the core component of the control part. It is an online real-time control computer. Online control is field control, which requires strong anti-interference ability and low cost, which is also the main difference from offline computers (such as home PC).

Single-chip microcomputer depends on the program and can be modified. Different functions, especially some special and unique functions, are realized by different programs, which other devices need to make great efforts to do, while other devices are difficult to do.

If a function that is not very complicated is solved by pure hardware such as 74 series developed by the United States in the 1950s or CD4000 series in the 1960s, the circuit must be a large PCB! But if you use a series of single-chip computers that were successfully put on the market in the United States in the 1970 s, the result will be very different! Just because the single chip microcomputer can realize high intelligence, high efficiency and high reliability through the program you wrote!

Because single-chip microcomputer is sensitive to cost, the dominant software at present is the lowest assembly language, which is the lowest language except binary machine code. Since it's so low, why use it? Many advanced languages have reached the level of visual programming. Why not use them? The reason is very simple, that is, the single chip microcomputer does not have the CPU like a home computer, and there is no mass storage device like a hard disk.

Even if there is only one button, a small program written in a visual high-level language will reach the size of tens of K! It's nothing for the hard disk of home PC, but it's unacceptable for single chip microcomputer. Single-chip microcomputer must have a high utilization rate of hardware resources, so assembly is still widely used although it is primitive.

Similarly, if the operating system and application software on the supercomputer are run on the home PC, the home PC can't bear it. It can be said that the 20th century spanned three "electricity" eras, namely, the electrical era, the electronic era and the computer era.

However, this kind of computer usually refers to a personal computer, or PC for short. It consists of a host, a keyboard, a display, etc. There is another kind of computer that most people are not familiar with. This kind of computer is a single chip microcomputer (also called microcontroller) that gives intelligence to various machines. As the name implies, the smallest system of this computer can complete simple operation and control with only one integrated circuit. Because of its small size, it is usually hidden in the "belly" of the controlled machine.

It acts like a human brain in the whole device. If something goes wrong with it, the whole equipment will be paralyzed. Now, this single-chip microcomputer has been widely used, such as intelligent instruments, real-time industrial control, communication equipment, navigation systems, household appliances and so on.

Once the single-chip microcomputer is used in various products, the products can be upgraded. The adjective "smart" is often used before the product name, such as smart washing machine.

At present, the products made by technicians or other amateur electronic developers in some factories are either too complicated in circuit or too simple in function and easy to be copied. The reason may be that the product does not use single chip microcomputer or other programmable logic devices.

What is the whole process of six courses of single chip microcomputer?

Principle and interface technology of single chip microcomputer

Generally divided into assembly version and C language version.

What courses should I study before studying single chip microcomputer?

1, the landlord, must first learn the basics of C language, which is equivalent to 80% knowing single chip microcomputer, because now all 8/ 16/32 bits (5 1 series, MSP430 series and ARM series) have the right to use C language.

2, first look at 805 1 single chip microcomputer: Taiwan Province Hongjing STC89C5 1-DIP40/ or others such as Ruxinmao, buy development boards online, the price will not exceed 200 yuan.

3. Look at the functions of MCU: replacing internal FLASH, RAM, timer, INT, ADC, USB, ISP/IAR, etc.

4. Compilation environment and programming software KEIL.

5. Open the sample program of the development board, compile it in KEIL and download it to the development board to see if the result is consistent with the instruction. You must be very excited when you achieve this effect. At this time, you really learned the microcontroller, and you succeeded! ! ! ! ! .

6, microcontroller C language example:

* * * It speaks = p15; //IO port is defined as buzzer control.

Unsigned char temperature; //Define TEMP as a single-byte variable.

sfr PORTA p 1; //define port P 1 as PORTA.

SPEAK = 0; //P 1 5 output low level. If the positive pole of the buzzer is connected to the power supply and the negative pole is connected to this IO port, the buzzer will sound.

Summary: First, go to the bookstore to buy a single-chip C language book, and then do the experiment. You should participate more in such project development, and you will get it slowly.