A single-chip microcomputer is a type of microcomputer. Currently, there are 8051, AVR, ARM7, ARM9 and other series. Among them, "8051" is derived from Intel's MCS-51 series chips, but different manufacturers currently focus on compatible chips, such as Ateml's 89C51/89S51 system and Macrocrystalline's STC89C52RC. This article describes Macrocrystalline's STC89C52RC. This chip is easy to burn. You only need to use Macrocrystalline's tools to burn the program to the chip through the TX and RX pins of the serial port MAXRS232. It is a very good embedded entry foundation. There are many tutorials and 51 series learning boards generally use STC89C52RC chips, which shows that it is very versatile. So how can we quickly learn 8051 single-chip microcomputers?
Learning the 51 series CPU requires memorizing the pin functions. When I was learning, I benefited from the simple memorization method. I mastered the functions and positions of the pins very quickly. I could easily remember the pins of P0, P1, P2, and P3 without rote memorization. Please see the figure below:
After learning the pin functions, if you want to start the circuit of the microcontroller, you also need to understand the peripheral connections, so as to lay the foundation for making your own microcontroller control circuit in the future. This is what you must remember when learning the 8051 system microcontroller. The following is the minimum circuit diagram of the 51 microcontroller. As long as you connect according to the following aspects, you can simply power on and drive the operation of the microcontroller. The application of functional pins is added on the basis of the minimum system.
To learn MCU, you can't do without a paper tutorial. You can go to the local bookstore to pick one or go to Joyo.com or Dangdang.com to buy one if it's cheap. A tutorial can better guide you on how to systematically learn MCU, especially the C language version. The "Example of 51 MCU (C Language Version)" published by Posts and Telecommunications Press is a good one. It has both the theoretical foundation of MCU and the learning of C language. I have been exposed to C language for a long time. I used C++Builder for Windows development before. Through the tutorial, I found that the difference between Windows C language and MCU C language is the definition of pins, which is unique to MCU C.
Tutorials are available, but how can you know how well you have learned without practice? Learning is one thing, and practical application is another. Programming 51 systems now all use Keil v3. It is best to apply the "bug to filter 0xfd characters" patch. I have experienced wasting time because of this character and the display result is incorrect. Applying the patch can reduce the strange phenomena we encounter in program debugging.
Programming with Keil software can only detect the correctness of C language programming syntax, but cannot verify whether the real function is realized. Now you can use the microcontroller software simulation Proteus (tutorial) to simulate and debug the circuit board and program functions. However, although simulation is a good method, it is not as good as using a single-chip experimental board. Through the program written by Keil, the program is written to the microcontroller through RS232 for substantial operation, so as to better understand the performance of the microcontroller and the matching use of hardware parts. Don't buy the smallest system. This is only for people who have mastered the control of the microcontroller. They have their own peripheral circuit boards. They only need to connect the corresponding microcontroller pins to drive the circuit according to their actual situation. It is not suitable for beginners. The entry-level microcontroller experimental board is better to have more complete functions. The more you learn, the more familiar you are with the application of the microcontroller. The following is a single-chip board learning board on Taobao, the price is less than 200 yuan, and there are video tutorials, which are more suitable for beginners. Interested netizens can refer to it. Choosing a good learning board, tutoring, and communication are ways to quickly learn microcontrollers.
Teach you to learn MCU step by step》Video tutorial 51 MCU development board learning board
The most valuable thing in learning a skill is perseverance. Only by continuous learning and summarizing can you improve. Learning the 51 series of microcontrollers is a stepping stone to enter the embedded field. If you are in the electronics field, you can also consider starting with the simple 51 and moving towards more advanced applications.
Previous article:A method for removing key jitter using software
Next article:Transformer temperature intelligent monitoring instrument
Recommended ReadingLatest update time:2024-11-23 10:15
- Popular Resources
- Popular amplifiers
- Siemens PLC Programming Technology and Application Cases (Edited by Liu Zhenquan, Wang Hanzhi, Yang Kun, etc.)
- Siemens PLC from Beginner to Mastery with Color Illustrations (Yang Rui)
- Experience and skills in using Siemens S7-200PLC (Shang Baoxing)
- Siemens S7-1200-PLC Programming and Application Tutorial (3rd Edition) (Edited by Shi Shouyong)
- Naxin Micro and Xinxian jointly launched the NS800RT series of real-time control MCUs
- How to learn embedded systems based on ARM platform
- Summary of jffs2_scan_eraseblock issues
- Application of SPCOMM Control in Serial Communication of Delphi7.0
- Using TComm component to realize serial communication in Delphi environment
- Bar chart code for embedded development practices
- Embedded Development Learning (10)
- Embedded Development Learning (8)
- Embedded Development Learning (6)
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- Intel promotes AI with multi-dimensional efforts in technology, application, and ecology
- ChinaJoy Qualcomm Snapdragon Theme Pavilion takes you to experience the new changes in digital entertainment in the 5G era
- Infineon's latest generation IGBT technology platform enables precise control of speed and position
- Two test methods for LED lighting life
- Don't Let Lightning Induced Surges Scare You
- Application of brushless motor controller ML4425/4426
- Easy identification of LED power supply quality
- World's first integrated photovoltaic solar system completed in Israel
- Sliding window mean filter for avr microcontroller AD conversion
- What does call mean in the detailed explanation of ABB robot programming instructions?
- STMicroelectronics discloses its 2027-2028 financial model and path to achieve its 2030 goals
- 2024 China Automotive Charging and Battery Swapping Ecosystem Conference held in Taiyuan
- State-owned enterprises team up to invest in solid-state battery giant
- The evolution of electronic and electrical architecture is accelerating
- The first! National Automotive Chip Quality Inspection Center established
- BYD releases self-developed automotive chip using 4nm process, with a running score of up to 1.15 million
- GEODNET launches GEO-PULSE, a car GPS navigation device
- Should Chinese car companies develop their own high-computing chips?
- Infineon and Siemens combine embedded automotive software platform with microcontrollers to provide the necessary functions for next-generation SDVs
- Continental launches invisible biometric sensor display to monitor passengers' vital signs
- Tencent employees were fired for working less than 8 hours a day. What kind of work system is reasonable?
- Oscilloscope test inductor saturation current and inductance value
- MTK7686 serial port transparent transmission
- 【Silicon Labs Development Kit Review】+Breathing Light Example
- Shouldn't the positive and negative power supplies of the op amp be connected in series to have a reference point?
- Internal Hardware Resources of PIC Microcontroller 16F84 (VI)
- The amplifier has a high PSRR, so there is no need to worry about power supply variations?
- How to design the mobile phone power-on circuit
- Request expert explanation
- The output waveform of the Siler oscillator is asymmetrical up and down?