Anyone who has studied 51 microcontrollers knows that the learning process may not be so "beautiful", so today I will introduce to you some learning methods about 51 microcontrollers.
1. I never say that 51 is the foundation. If I say so, please understand this sentence as the microcomputer principle is the foundation.
2. The operation of the 51 microcontroller is essentially the operation of the register, and the same is true for other microcontrollers. The library is just an interface for the convenience of users.
3. Assembly language is rarely used in work, just understand it.
4. The P0 port of the 51 microcontroller is very special.
5. C language is C language, 51 microcontroller is 51 microcontroller, algorithm is algorithm, peripheral circuit is peripheral circuit, sensor is sensor, communication device is communication device, circuit diagram is circuit diagram, PCB diagram is PCB diagram, and simulation is simulation.
When you never use 51 again, the knowledge of C language will still be there, the knowledge of algorithms will still be there, the skills of building the minimum system of microcontroller will still be there, the methods of using sensors and communication devices will still be there, and you will still be able to draw circuit diagrams and PCB diagrams. , of course it will also be simulated.
6. The 51 microcontroller is this:
7. When the program debugging is not satisfactory, calm down and check the information carefully. The biggest advantage of the 51 microcontroller is that there is a lot of information online. The problems you encounter must have been encountered by others. As a learner, it may be more convenient to ask people, but doing this all the time will not cultivate the ability to solve problems.
8. Some microcontroller beginners feel that it is not good to read the routines, and they feel as guilty as looking at the answers. In fact, for beginners, the best way to learn is to read the routines to understand them and then read the annotations of the routines. When doing experiments, course design, and competition entries, you can also transplant the program without having to re-implement it yourself. (Of course, it is better to complete the homework assigned by the teacher independently)
However, it must be clear that transplanting a program does not mean learning a microcontroller. The most important thing is to know what kind of framework and implementation method the routine is. Which registers are initialized, which pin configurations are made, which functions are called, how those functions are implemented, which interrupts are set, which on-chip resources (UART, ADC, etc.) are used, which statuses are queried, and if the status changes (Trigger event) What will be done and so on. From this, you can sort out a flow chart and know how to implement it. Basically, you have almost learned this routine.
Previous article:Comparative analysis of enhanced 51 microcontroller and traditional 51 microcontroller
Next article:at89c51 chip pin diagram pin diagram
- Popular Resources
- Popular amplifiers
- Learn ARM development(16)
- Learn ARM development(17)
- Learn ARM development(18)
- Embedded system debugging simulation tool
- A small question that has been bothering me recently has finally been solved~~
- Learn ARM development (1)
- Learn ARM development (2)
- Learn ARM development (4)
- Learn ARM development (6)
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
- Sn-doped CuO nanostructure-based ethanol gas sensor for real-time drunk driving detection in vehicles
- Design considerations for automotive battery wiring harness
- Do you know all the various motors commonly used in automotive electronics?
- What are the functions of the Internet of Vehicles? What are the uses and benefits of the Internet of Vehicles?
- Power Inverter - A critical safety system for electric vehicles
- Analysis of the information security mechanism of AUTOSAR, the automotive embedded software framework
- Brief Analysis of Automotive Ethernet Test Content and Test Methods
- How haptic technology can enhance driving safety
- Let’s talk about the “Three Musketeers” of radar in autonomous driving
- Why software-defined vehicles transform cars from tools into living spaces
- Steps to create a register-based STM32 project in Keil5
- What is a Level 2 or Level 3 charger?
- Thank you for being there, thank you gift activity summary
- IAR download error
- 2019 National TI Sponsored Board Video Tutorials
- DIY Wooden Computer Case
- Switching Power Supply Reference Book, "Switching Power Converters: Principles, Simulation, and Design of Switching Power Supplies"
- Today's 10:00 AM broadcast | MPS inductor solutions help better switching power supply design
- Playing with Zynq Serial 17 - Creating a New Vivado Project
- Help analyze this MOS tube control circuit