How to learn 51 microcontroller

Publisher:advancement3Latest update time:2024-03-15 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

Anyone who has studied 51 microcontrollers knows that the learning process may not be so "beautiful", so today I will introduce to you some learning methods about 51 microcontrollers.


1. I never say that 51 is the foundation. If I say so, please understand this sentence as the microcomputer principle is the foundation.

2. The operation of the 51 microcontroller is essentially the operation of the register, and the same is true for other microcontrollers. The library is just an interface for the convenience of users.

3. Assembly language is rarely used in work, just understand it.

4. The P0 port of the 51 microcontroller is very special.

5. C language is C language, 51 microcontroller is 51 microcontroller, algorithm is algorithm, peripheral circuit is peripheral circuit, sensor is sensor, communication device is communication device, circuit diagram is circuit diagram, PCB diagram is PCB diagram, and simulation is simulation.

When you never use 51 again, the knowledge of C language will still be there, the knowledge of algorithms will still be there, the skills of building the minimum system of microcontroller will still be there, the methods of using sensors and communication devices will still be there, and you will still be able to draw circuit diagrams and PCB diagrams. , of course it will also be simulated.

6. The 51 microcontroller is this:

7. When the program debugging is not satisfactory, calm down and check the information carefully. The biggest advantage of the 51 microcontroller is that there is a lot of information online. The problems you encounter must have been encountered by others. As a learner, it may be more convenient to ask people, but doing this all the time will not cultivate the ability to solve problems.

8. Some microcontroller beginners feel that it is not good to read the routines, and they feel as guilty as looking at the answers. In fact, for beginners, the best way to learn is to read the routines to understand them and then read the annotations of the routines. When doing experiments, course design, and competition entries, you can also transplant the program without having to re-implement it yourself. (Of course, it is better to complete the homework assigned by the teacher independently)


However, it must be clear that transplanting a program does not mean learning a microcontroller. The most important thing is to know what kind of framework and implementation method the routine is. Which registers are initialized, which pin configurations are made, which functions are called, how those functions are implemented, which interrupts are set, which on-chip resources (UART, ADC, etc.) are used, which statuses are queried, and if the status changes (Trigger event) What will be done and so on. From this, you can sort out a flow chart and know how to implement it. Basically, you have almost learned this routine.


Reference address:How to learn 51 microcontroller

Previous article:Comparative analysis of enhanced 51 microcontroller and traditional 51 microcontroller
Next article:at89c51 chip pin diagram pin diagram

Latest Microcontroller Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号