Looking back, it has been six years since I first learned about microcontrollers. During the study period, I used 51 microcontrollers, Freescale microcontrollers, STM16, STM32 and other microcontrollers. Every time I come into contact with a new microcontroller, I will first familiarize myself with its basic development, and then understand it in depth through the implementation of the project.
Everyone knows that the 51 microcontroller is the easiest to learn, not only because of its simple programming, but also because there is a wealth of information on the Internet and it is very convenient to search. Therefore, people who want to engage in microcontroller development generally use the 51 microcontroller as their first choice for entry-level development. And I am no exception. When I was learning the 51 microcontroller, I basically followed this idea.
The first step (familiar with the process): Because I majored in electronics, I first made a 51 minimum system using a breadboard. In order to feel the microcontroller more intuitively, I added a digital tube to it.
As for programming, I didn't deliberately memorize it at the beginning. I mainly looked at the template code given by others and edited it once. I just copied it (definitely not copying and pasting. If you copy and paste, you will lose it), and then Burn the program you wrote into the microcontroller and run it to see if the microcontroller can work normally according to the program.
The second step (advanced process): After developing some feelings, I bought a 51 microcontroller development board, and then began to learn more about the 51 microcontroller. When the board first came back, I didn't watch the video tutorials, but still followed the textbook. Now it seems that I really made a mistake at that time. At that time, the learning that day felt weird. Later, I followed the video. After learning the functions on the board, I roughly understood the role of the 51 microcontroller.
In terms of program, we need to start making modifications. For example, the eight-digit running water lamp used to be from left to right, but now it is changed from right to left. 1, 3, 5, and 7 are on, 2, 4, 6, and 8 are off. Just do these final steps. Simple modification, rewrite the corresponding program yourself and then run it. To put it simply, it means establishing your own logic, learning to use it flexibly, and turning other people's programs into your own.
The third step (project actual phase): At that time, we were doing graduation project. I formed a small team with another classmate who was studying software and chose a small project for development. The conditions were relatively difficult at that time, mainly because the two of us had no money and wanted to save some money. On the basis of using the previous development board, we added a simple peripheral, which we made purely by hand. We were a little clever at that time. We first made the peripherals and then tested them with a development board. After confirming that there were no problems with the peripherals, we went back to making the 51 board. Then use peripherals to test whether the board you made can work properly. In this way, our first project and graduation project were completed.
The above three learning steps are the entire process of learning the 51 microcontroller by myself. I do a lot of manual operations. Now there may not be such difficult conditions. Many things are ready-made, but the hands-on practice part is also indispensable. If you have the opportunity, do it more. After all, you can gain a lot of experience by doing it, which will also be of great help in future work.
Previous article:Some tips on learning 51 microcontroller
Next article:51 microcontroller | 8 buttons control 8 LED lights to achieve 8 functions
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- Huawei's Strategic Department Director Gai Gang: The cumulative installed base of open source Euler operating system exceeds 10 million sets
- Download from the Internet--ARM Getting Started Notes
- Learn ARM development(22)
- Learn ARM development(21)
- Learn ARM development(20)
- Learn ARM development(19)
- Learn ARM development(14)
- Learn ARM development(15)
- Analysis of the application of several common contact parts in high-voltage connectors of new energy vehicles
- Wiring harness durability test and contact voltage drop test method
- I would like to ask how to set up Xnet in allegro
- Two Application Examples of EPROM in Single Chip Microcomputer Development
- [Erha Image Recognition Artificial Intelligence Vision Sensor] Evaluation 1: Winner Chip Level Evaluation
- Circuit PCB Design
- What is Wi-Fi 6?
- 51 MCU software sharing, friends who want it can download it
- 【NUCLEO-L552ZE Review】+ Unboxing and lighting
- 【Download】STM32WB BLE application low power design
- MSP430F5529 Getting Started with Small Examples
- Qorvo's point-of-care diagnostic platform seems pretty good.