How to Self-study Microcontroller Programming

Publisher:快乐微笑Latest update time:2017-10-22 Source: eefocus Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

At present, single-chip microcomputers have become a basic course for engineering students, just like the basic principles of circuits.

In fact, it is not that single-chip microcomputers are difficult to learn, but that we don’t know how to get started. Please remember this sentence: "single-chip microcomputers are not learned, but played." Below, combined with my own experience of self-studying single-chip microcomputers, I will "play" single-chip microcomputers with everyone. Are you ready? I will now start to teach you how to learn single-chip microcomputers.

The first step: read through a textbook first


Oh! ? Too uncreative, don't you still need to read books? Yes, the first step is to read the textbooks thoroughly, so that we can stand on the shoulders of giants. How do you feel after reading it? One word makes you dizzy. It's normal, otherwise you wouldn't be able to read this article. Many people get discouraged after they feel dizzy, or change textbooks, and then feel dizzy again until they faint. However, now I tell you that we should learn from drunkards. It doesn't matter if you feel dizzy. You can keep saying "I'm not drunk" and at least you can drink half a pound more. So confidence is very important.


Second: Practice with a dizzy mind


We are already dizzy in the first step. In fact, we are in the highest state of being neither drunk nor awake. Taking advantage of this good feeling (this feeling is what many martial arts masters dream of), we quickly practice some boxing and kicking.


First of all, you need to choose the right weapon. Now school laboratories all have single-chip microcomputer experiment boxes. You should manage the experiment time well, or get along well with the teacher, and play a few times when you have time. However, it is better to have your own exclusive equipment. At the beginning, the equipment should not be too fancy, as long as it can be used. It is recommended to use Keil c51 software, and the hardware should have a PC and a development board. The development board requires running lights, digital tubes, independent buttons, matrix keyboards, AD conversion, LCD screens, and buzzers. That's about it. There are plenty of software on the Internet, and the next one is free. If you don't have a PC, you can use your classmates' first. The development board is about 200 yuan, which is much cheaper than treating friends to dinner. When you think about the future, we will rely on it to make our way in the world, so what does it matter?


Good! Now that you have chosen your weapon, let's practice! I would like to remind you that the Eighteen Dragon Subduing Palms also starts with horse stance. Even if we are smarter than Guo Jing, we still need to practice horse stance first. Just think about Huang Rong and you will understand. Now let's start with the most basic flowing water lamp. Try to control a light tube first, and then slowly change the pattern to make your own personality. Isn't it a special sense of accomplishment? Don't you feel hungry even if you don't eat? Now you are a little obsessed (except for some people).


Third: Solve problems with problems


In practice, there are many phenomena that we cannot explain. What should we do? Should we slowly comprehend them by ourselves, or ask experts for advice? It is recommended to comprehend them by ourselves first, and then ask experts for advice if it doesn't work. This is the most profound way to remember and achieve the best results. But don't spend too much time comprehending, otherwise it will reduce the confidence we have just built up; if you ask about everything, your memory will not be profound, and it will not become your own thing, just like practicing martial arts, you only learn the moves but not the inner strength. If you can pass this step, haha, I believe you have been fascinated by microcontrollers.


Step 4: Self-cultivation and continuous improvement


At this point, whether it is the technical level, learning method, or psychological quality, you have reached a certain level and have entered the door. As the saying goes, the master leads you to the door, but the practice is up to you. At this point, it depends on your personal efforts and understanding. Whether you can create your own "Sad Palm" depends on your personal practice.


Reference address:How to Self-study Microcontroller Programming

Previous article:What is the clock cycle of a microcontroller?
Next article:Single Board Computer Monitoring Main Program List and Analysis

Latest Microcontroller Articles
  • Download from the Internet--ARM Getting Started Notes
    A brief introduction: From today on, the ARM notebook of the rookie is open, and it can be regarded as a place to store these notes. Why publish it? Maybe you are interested in it. In fact, the reason for these notes is ...
  • Learn ARM development(22)
    Turning off and on interrupts Interrupts are an efficient dialogue mechanism, but sometimes you don't want to interrupt the program while it is running. For example, when you are printing something, the program suddenly interrupts and another ...
  • Learn ARM development(21)
    First, declare the task pointer, because it will be used later. Task pointer volatile TASK_TCB* volatile g_pCurrentTask = NULL;volatile TASK_TCB* vol ...
  • Learn ARM development(20)
    With the previous Tick interrupt, the basic task switching conditions are ready. However, this "easterly" is also difficult to understand. Only through continuous practice can we understand it. ...
  • Learn ARM development(19)
    After many days of hard work, I finally got the interrupt working. But in order to allow RTOS to use timer interrupts, what kind of interrupts can be implemented in S3C44B0? There are two methods in S3C44B0. ...
  • Learn ARM development(14)
  • Learn ARM development(15)
  • Learn ARM development(16)
  • Learn ARM development(17)
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号