After you have a MCU learning board, you should practice more. It is best to have a computer. Watch fewer movies and play fewer games every day. Connect the learning board and the computer, open the debugging software and sit in front of the computer. First learn how to use the debugging software, and then start with the simplest running light experiment. When you can make the eight running lights flow freely according to your wishes, you have already entered the door. You will find how fascinating the MCU is. It is so fun. This is not learning knowledge, but playing. When the program you wrote is realized according to your wishes, you are happier than doing anything else. You will be addicted, really. People who do electronics are really addicted. Then make the digital tube light up. After these two items, you can't extricate yourself. You have begun to consider which line of work you will go in this life. This is how to practice. When writing a program, you will definitely encounter many problems. At this time, you will look for it in a book or ask others. When you get the answer, you will remember it for a lifetime. Knowledge must be used in real life to solve practical problems, so that it can play its role. Think about it yourself. You have been in college for so many years and have classes every day. What have you learned in class? Are you busy for the final exam? You got 90 points after the exam, so happy, hahaha, but you forgot everything when you came back from the next semester, right? What did you learn? But I tell you that once you learn the microcontroller, you will never forget it. In addition, let me talk about the problem of programming in assembly language and C language. Many students have C language courses in their freshman and sophomore years. I have also taken them. I know that at that time, every day I was multiplying, adding, and calculating factorials. What's the use of learning it? Would you be stupid if you were asked to program the microcontroller in C language? We must be able to use what is in the book. Microcontroller programming can be done in C language or assembly language, but I suggest that it is better to use C language. If you have a foundation in C language, it will be easier to learn. If not, you can also learn C language while learning microcontrollers. C language is also very simple, just a tool. I advise you to learn it as it will definitely be useful in the future. Otherwise, you will have to learn it in the future. It doesn't matter if you don't know any assembly language, but if you don't know any C language, you will suffer in the future. Writing program code in assembly language is highly efficient, but relatively difficult and wordy, especially when encountering algorithmic problems, it is extremely troublesome. Now the main frequency of microcontrollers is constantly increasing, and we do not need such high-efficiency code at all, because there is a high-frequency clock, and the ROM of microcontrollers is also constantly improving, which is enough to hold any code you write in C language. C language materials are abundant and easy to find, and it will be very portable in the future. You only need to change an IO port to write a temperature sensor program and it can be used anywhere, so I advise everyone to use C language.
In summary, as long as you have confidence, can stick to things, and have a strong will not to give up until you succeed, then learning a microcontroller is a very easy thing.
Previous article:MCU serial communication program
Next article:How to calculate good microcontroller C language code
Recommended ReadingLatest update time:2024-11-17 02:35
- Popular Resources
- Popular amplifiers
- Wireless Sensor Network Technology and Applications (Edited by Mou Si, Yin Hong, and Su Xing)
- Modern Electronic Technology Training Course (Edited by Yao Youfeng)
- Modern arc welding power supply and its control
- Small AC Servo Motor Control Circuit Design (by Masaru Ishijima; translated by Xue Liang and Zhu Jianjun, by Masaru Ishijima, Xue Liang, and Zhu Jianjun)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Innolux's intelligent steer-by-wire solution makes cars smarter and safer
- 8051 MCU - Parity Check
- How to efficiently balance the sensitivity of tactile sensing interfaces
- What should I do if the servo motor shakes? What causes the servo motor to shake quickly?
- 【Brushless Motor】Analysis of three-phase BLDC motor and sharing of two popular development boards
- Midea Industrial Technology's subsidiaries Clou Electronics and Hekang New Energy jointly appeared at the Munich Battery Energy Storage Exhibition and Solar Energy Exhibition
- Guoxin Sichen | Application of ferroelectric memory PB85RS2MC in power battery management, with a capacity of 2M
- Analysis of common faults of frequency converter
- In a head-on competition with Qualcomm, what kind of cockpit products has Intel come up with?
- Dalian Rongke's all-vanadium liquid flow battery energy storage equipment industrialization project has entered the sprint stage before production
- Allegro MicroSystems Introduces Advanced Magnetic and Inductive Position Sensing Solutions at Electronica 2024
- Car key in the left hand, liveness detection radar in the right hand, UWB is imperative for cars!
- After a decade of rapid development, domestic CIS has entered the market
- Aegis Dagger Battery + Thor EM-i Super Hybrid, Geely New Energy has thrown out two "king bombs"
- A brief discussion on functional safety - fault, error, and failure
- In the smart car 2.0 cycle, these core industry chains are facing major opportunities!
- Rambus Launches Industry's First HBM 4 Controller IP: What Are the Technical Details Behind It?
- The United States and Japan are developing new batteries. CATL faces challenges? How should China's new energy battery industry respond?
- Murata launches high-precision 6-axis inertial sensor for automobiles
- Ford patents pre-charge alarm to help save costs and respond to emergencies
- [Hua Diao Experience] 17 Beetle ESP32C3 and WS2812 screen music visualization rhythm light
- SMS Humor
- EEWORLD University----42/5000 Power over Ethernet (PoE) Training Series
- How to effectively program a microcontroller active buzzer driver
- MSP430 SPI reads AFE4400 register value code
- WPG Live Broadcast Registration | Thundercomm, Lianda, Qualcomm IOT Platform Solutions and Success Stories
- [Anxinke NB-IoT Development Board EC-01F-Kit] 4. Serial port MQTT networking and information sending and receiving test
- Microchip Live FAQ|ADAS Platform Root of Trust
- Current sampling
- "Non-textbook" analysis of transistors, forget about forward bias and reverse bias!