Embedded experts talk about embedded

Source: Internet
Author: User

As aElectronic TechnologyPractitioners, you've learnedSingle Chip microcomputerIt? You will useSingle Chip microcomputerIt? I think you must have learned it, but not necessarily use it. Because learning SCM than learning other disciplines need to pay more efforts and costs, not only to learn theoretical knowledge to practice the actual operation, but mainly in the actual operation in order to really learn the single-chip computer technology. In addition, learning SCM also need to invest a certain amount of learning costs, as you learn knowledge of the expansion of the cost will increase. There are four motives for learning single-chip microcomputer: One is to learn for interests and hobbies, the other is to learn for the profession, the third is to learn for the rice bowl, and four is to be forced to learn at work. Regardless of the motive, the difference between major majors andElectronicThe basis of different shades, for different people may use different learning methods, according to the author's personal learning experience and teaching the feelings of students learning, put forward the author's learning methods and steps.
The first step: basic Theory knowledge Learning
Basic theory knowledge includes analog circuit, digital circuit and C language knowledge. Analog circuits and digital circuits belong to abstract disciplines, it is also a bit of spirit to learn it well. Before you learn SCM, think analog circuit and digital Circuit Foundation is not good, do not hurry to learn SCM, should first review the analog circuit and digital circuit learned knowledge, for learning SCM to strengthen the foundation. Otherwise, your microcontroller learning path will not only be difficult and long, but may also give up halfway. I always believe that a solidFundamentals of electronic technology is the key to learn a single-chip microcomputer, directly affect the speed of the introduction of single-chip microcomputer. Some students think that single-chip microcomputer is very difficult, the more learning more complex, finally learn not to go on. Some students seem to understand when reading, but the move to a mess, the reason is that the basis of electronic technology is not playing well, first by the surface of knowledge to confuse.
MCU is a digital circuit, its concept, terminology, hardware structure and principle are derived from digital circuits, if the digital circuit based on a solid, complex microcontroller hardware structure and principles can be easily understood, can easily take the first step of learning, confidence will be set up. On the contrary, the foundation is not good, this can not understand that also do not understand, the more learning problems, the more learning less confidence. If you think that single-chip microcomputer is very difficult, it should first put down the SCM textbook, to revisit the digital circuit, make clear the trigger, register, gate Circuit, COMs circuit, timing logic and timing diagram, conversion and other theoretical knowledge. Understand this knowledge and then go to see the structure and principle of SCM, I think you will Taichetaiwu, confidence doubled.
Analog circuit is the most basic science of electronic technology, she let you know what is resistance, capacitance, inductance,Diode、Transistor, field-effect tubes, amplifiers, and their working principles and functions in the circuit, this is the basic knowledge that electronic technology must master. The general is to learn the analog circuit and then learn the digital circuit. A solid analog circuit base not only makes it easy for you to understand other people's design circuitry, but also makes your design circuit more reliable and improves product quality.
CLanguage knowledge is not difficult, there is no programming foundation of the people can learn, in my opinion, junior high school students, senior secondary students, student can learn. Of course, people who have good mathematical fundamentals and logical thinking are relatively easy to learn. C language needs to grasp the knowledge of the 3 conditional judgment statements, 3 loop statements, 3 jump statements and a switch statement. Don't underestimate the 10 statements, how complex and complex the logic of their composition is. Learn to a statement a statement of the study, learning a use of a, all learned to have used these key statements, I believe your C foundation established.
When the foundation is played, you will feel that the microcontroller is no longer difficult to learn, and the more learning more and more enthusiastic. When the microcontroller obediently in accordance with your logical thinking and algorithm to implement the instructions, to achieve the desired control effect, the sense of accomplishment will let you confidence, night to renew, sleep and sleep into the single-chip computer world. It can be said that a solid foundation of electronic technology and C Language Foundation can enhance the learning of single-chip computer confidence, faster grasp of single-chip microcomputer technology.
The second step: single-chip microcomputer practice
This is really learning the process of single-chip computer, both exciting and let people tired, both people helpless and let people not to be satisfied, both let a person is lonely and let a person full, both let people angry and let people gratified, both sense of loss and accomplishment ... The ups and downs of which only learned people have deep experience. Thinking must have the determination to study hard, hardware on a complete set of learning and development tools, software should pay attention to the combination of theory and practice.
1.Have the determination to study hard
First, clarify the purpose of learning. First, answer two questions: What do I do with a single-chip computer? How long does it take to learn it? This is the power of you to learn a single-chip computer. Without motivation, I don't think you'll be able to hold on for long. Second, correct the learning mentality. Single-chip microcomputer learning process is dull, lonely process. To know, learning knowledge there is no shortcut, only gradual, down-to-earth, step by step, can learn the real kung fu. Once again, you need to do a lot of brain action. Single-chip microcomputer learning has a strong practice, is a very focused on practical hands-on technical disciplines. You do not learn to practice a single-chip computer. Finally, open-minded communication. In the single-chip computer learning process, everyone will encounter countless problems, you need to have experienced people to ask for advice, otherwise, blindly immersed in groping will go a lot of detours, wasting a lot of time.
2.A complete set of learning and development tools
It takes a cost to learn a single-chip microcomputer. Must have aComputer, a single-chip development Board (if the Development Board can not download the program code directly, you need a programmer), a set of video tutorials, a single-chip computer teaching materials and a C language teaching material. The computer is used to write and compile the program, and download the program code to the microcontroller, the Development Board is used to run the microcontroller program to verify the actual effect; Video tutorial is to teach you the use of single-chip microcomputer development environment, microcontroller programming and debugging. For single-chip beginners, video tutorials must look, otherwise, even if the textbook read a few times, or do not know how to start, especially in the College of single-chip computer textbooks, after learning, the face of the real single-chip computer may still be helpless; single-chip computer textbooks and C language textbooks are theoretical learning materials, memo for reference. Do not need to save the cost of development board and light with Protur software simulation debugging, which is no different from the armchair.
3.Pay attention to the combination of theory and practice
SCM C Language Programming theory knowledge is not abstruse, light reading does not do hands can understand. But it's not that simple when it's actually programmed. The formation of a program requires not only C language knowledge, more need to integrate into your personal programming ideas and algorithms. Programming ideas and algorithms determine the merits and demerits of a program, is a single-chip programming of the big problem, only in the actual hand-written when it will have deep sentiment. Whether a program can operate according to your wishes is to see if your ideas and algorithms are correct and reasonable. If the program is not normal, you should repeatedly debug (check, modify ideas and algorithms) until successful. This process is time-consuming, cost-minded, exhausted, and will not be strong enough to stumble over here halfway.
Learning to write programs should follow the following process to learn, the effect will be better. See the example of the topic first try to conceive their own programming ideas, and then look at the textbook or video tutorial code, research People's programming ideas, attention and their own ideas of the difference; then copy the people's ideas to write this program, understand the role of each statement , to have doubts about the place try to modify the procedure according to their own ideas, compare the program running effect, understand the mystery. Each of the routines adhere to the process of learning, you will soon find the sense of programming, take its essence to its dross, over time will form your unique programming ideas. Of course, just at the beginning, look at other people's program source code is like looking at the heavenly book, as long as the bullet to see, see not understand the keywords and statements on the book check, control. As long as you can stick to it, learning to harvest will do more. (http://www.diangon.com Copyright) in the course of practice not only to learn other people's routines, but also in other people's procedures to improve and expand, so that the program produces more powerful functions. At the same time, you also know how to check the reliability of others ' routines by checking the reading and writing sequence of the chip commands and data in the chip data Sheet (datasheet), and if you feel that the routine is unreliable, modify it to become your own program. Not only that, they should often find projects to do, to consolidate the knowledge and accumulate more experience.
The third step: single-chip computer hardware design
When writing your own programs and reading other people's programs can find problems, it means that your microcontroller programming level is quite good. The next thing you should look at is the hardware. The hardware design includes the circuit principle design and the PCB board design. Learning to do hardware is more difficult than learning to do software, and it costs more and has longer cycles. However, the ultimate goal of learning SCM is to do product development----software and hardware combined to form a complete control system. So, do hardware is also learning SCM Technology a must learn content.
Circuit principle design involves a variety of chip applications, and these chip peripheral circuit design, the typical application circuit and the microcontroller connection and so on the chip data Sheet (datasheet) can find the answer, the premise is to understand the full English data manual. Otherwise, copying someone else's design will always fall behind others, you do the product is not creative. The first-hand information in the field of electronic technology (datasheet) is in English, and the knowledge you gain from firsthand information may be the knowledge that is not available in textbooks, web documents and extracurricular readings. Although some materials are also written on the basis of datasheet, but the content is not comprehensive, even there are translation omissions and errors. Of course, reading datasheet need to have some English reading ability, this is also hinder the single-chip computer learners to advance the stumbling block. Good English reading ability allows you to roam freely in the ocean of technical knowledge of single-chip microcomputer.
Making PCB board is relatively simple. As long as you understand the use of Protel software or Altimdesigner software is no problem. But want to do the board layout beautiful, wiring reasonable still have to pay a kung fu.
Skilled microcontroller C language programming, will use Protel software or altimdesigner Software design PCB board and have a certain degree of English reading ability, you are a strong single-chip microcomputer master.

Embedded experts talk about embedded

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.