Basic theoretical knowledge learning
Basic theoretical knowledge includes analog circuits, digital circuits and C language knowledge. Analog circuits and digital circuits are abstract subjects, and it takes some effort to learn them well. Before you learn single-chip microcomputers, if you feel that the foundation of analog circuits and digital circuits is not good, don't rush to learn single-chip microcomputers. You should first review the knowledge of analog circuits and digital circuits you have learned to strengthen the foundation for learning single-chip microcomputers.
Otherwise, your MCU learning journey will not only be difficult and long, but you may also give up halfway. Xinyingda editor always believes that a solid foundation in electronic technology is the key to learning MCU well, which directly affects the speed of getting started with MCU learning.
Microcontrollers belong to digital circuits. Their concepts, terminology, hardware structures and principles all originate from digital circuits. If you have a solid foundation in digital circuits, you will be able to easily understand the complex microcontroller hardware structure and principles, and you will be able to easily take the first step in learning and build up your self-confidence.
Generally speaking, you should learn analog circuits first and then digital circuits. A solid foundation in analog circuits will not only make it easier for you to understand the circuits designed by others, but also make the circuits you design more reliable and improve product quality.
C language knowledge is not difficult, anyone without any programming foundation can learn it. In my opinion, junior high school students, high school students, technical secondary school students, and college students can all learn it. Of course, people with a good math foundation and good logical thinking can learn it relatively easily.
When the foundation is laid, you will feel that MCU is no longer difficult to learn, and you will become more and more motivated. When the MCU executes instructions according to your logical thinking and algorithms and achieves the expected control effect, the sense of achievement will make you full of confidence and devote yourself to the world of MCU day and night. It can be said that a solid foundation of electronic technology and C language can enhance the confidence in learning MCU and master MCU technology quickly.
Microcontroller Practice
1. Determination to study hard
First, clarify the purpose of learning. First, answer two questions carefully: What do I want to learn MCU for? How long does it take to learn it? This is your motivation to learn MCU. Without motivation, I think you won't be able to stick to it for long.
Secondly, correct your learning attitude. The process of learning microcontrollers is boring, lonely and lonely. You should know that there is no shortcut to learning knowledge. Only by proceeding step by step, being down-to-earth and taking one step at a time can you learn real skills.
Secondly, you should use your brain more and do more. The study of single-chip microcomputer is very practical and is a technical subject that focuses on practical hands-on operation. You cannot learn single-chip microcomputer without hands-on practice. Finally, communicate humbly. In the process of learning single-chip microcomputer, everyone will encounter countless unsolvable problems. You need to humbly ask experienced people for advice or participate in relevant courses . Otherwise, blindly burying your head in exploration will take many detours and waste a lot of time.
2. Have a complete set of learning and development tools
Learning MCU requires cost. You must have a computer, a MCU development board (if the development board cannot directly download program code, you will also need a programmer), a set of video tutorials, a MCU textbook, and a C language textbook.
The computer is used to write and compile programs, and download program codes to the microcontroller; the development board is used to run the microcontroller program and verify the actual effect; the video tutorial teaches you step by step how to use the microcontroller development environment, program and debug the microcontroller.
For MCU beginners, video tutorials must be watched, especially the MCU textbooks on the Internet . After learning, you may still be helpless when facing a real MCU; MCU textbooks and C language textbooks are theoretical learning materials, memos for reference. Don't use Protur software simulation debugging without a development board to save costs , which is no different from talking about it on paper.
3. Pay attention to the combination of theory and practice
Theoretical knowledge of microcontroller C language programming is not profound, and you can understand it just by reading the book without doing it. But it is not that simple when it comes to actual programming. The formation of a program requires not only C language knowledge, but also your personal programming ideas and algorithms.
Programming ideas and algorithms determine the quality of a program, which is a major issue in single-chip microcomputer programming. Only when you actually write it can you have a deep understanding. Whether a program can run normally according to your wishes depends on whether your ideas and algorithms are correct and reasonable.
In the process of practice, you should not only learn other people's routines, but also improve and expand on other people's programs to make them more powerful. At the same time, you should also know how to check the reliability of other people's routines by consulting the chip data manual for the chip commands and data read and write timing. If you think the routine is unreliable, modify it and make it your own program.
MCU Hardware Design
When you can easily write your own programs and find problems when reading other people's programs, it means that your MCU programming skills are quite good. The next step is to study the hardware. Hardware design includes circuit principle design and PCB board design. Learning to make hardware is more troublesome than learning to make software, with higher costs and longer cycles.
However, the ultimate goal of learning single-chip microcomputers is to develop products - combining software and hardware to form a complete control system. Therefore, making hardware is also a must-learn content in learning single-chip microcomputer technology.
Circuit principle design involves the application of various chips. The design of these chip peripheral circuits, typical application circuits and connections with microcontrollers can all be found in the chip data manual, provided that you can understand the data manual which is written in English.
Otherwise, if you copy other people's designs, you will always fall behind others, and your products will have no creativity. The first-hand information in the field of electronic technology is all in English, and the knowledge you gain from the first-hand information may not be found in textbooks, online documents, and extracurricular readings.
If you are proficient in microcontroller C language programming, can use Protel software or AltimDesigner software to design PCB boards, and have a certain level of English reading ability, you will be a microcontroller master who will become stronger when facing stronger opponents.
|