Download>Subject> 51 MCU Resource Special Topic (Part 3) - MCU Advanced Tutorial Special

51 MCU Resource Special Topic (Part 3) - MCU Advanced Tutorial Special

When it comes to single-chip microcomputers, for electronic engineers, the first reaction that comes to mind is the 51 single-chip microcomputer. The 51 single-chip microcomputer is simply a god-like existence. Although in recent years, the brilliance of AVR, PIC, FREESCAL and the now very popular ARM, CORTEX chips have completely overwhelmed the 51 single-chip microcomputer. But in fact, in the basic application field, especially in the entry-level learning of single-chip microcomputers, the 51 single-chip microcomputer is still the easiest to learn and the most widely used. Based on this, the EEWPRLD Download Center has compiled a series of 51 single-chip microcomputer materials and technical albums. This album starts from the entry tutorial of single-chip microcomputers to the advanced learning of single-chip microcomputers, covering all aspects of single-chip microcomputer C language programming technology, interface technology, modular programming technology, graduation design, use cases, simulation technology and other materials, not only tutorials, but also videos and source code. I believe that this 51 single-chip microcomputer album material can provide you with all kinds of technical information and learning references you need.

Document List

pdf
MCU Novice to Expert Information
Points it Requires : 1 Type:CourseUploader:zhangdaijinqfDate:2017-04-10
Introduction:This document introduces the microcontroller courseware, which is very complete and hard to find. If you are a novice, take what you like!
pdf
From MCU beginner to MCU engineer
Points it Requires : 1 Type:Application DocumentsUploader:mayloveDate:2013-01-23
Introduction:Introduction: We are beginning to enter the world of single-chip microcomputers. This book uses a 51-core single-chip microcomputer as the carrier, C language as the programming language, and the development environment is KEIL uv3. As for why C language is used for development, the benefits are self-evident. It has fast development speed, high efficiency, high code reusability, and clear structure, especially in large programs. Moreover, with the continuous upgrading of the compiler, the size of the compiled code is getting smaller and smaller than that of the assembly language. As for the dispute between C language and assembly language, it is like that. Every once in a while, someone will bring up this topic. If you are interested, you can search for relevant posts on the Internet and read them by yourself. It is not that assembly language is not important. In many occasions where the timing requirements are very high, it is necessary to use a mixture of assembly language and C language to meet the needs of the system. While we are learning and mastering C language, we also need to use our spare time to learn and understand assembly language.
rar
A collection of 32 MCU graduation projects
Points it Requires : 1 Type:PaperUploader:tywDate:2013-10-17
Introduction:A collection of graduation projects for microcontrollers: Digital clock; Digital buzzer; MATLAB simulation of synchronous motor model; Password lock; Smart car; ...
rar
Single-chip microcomputer control of electric motors (a rare good book for studying electric motors)
Points it Requires : 1 Type:Technical DocumentationUploader:空气Date:2013-09-17
Introduction:Single-chip microcomputer control of electric motors (a rare good book for studying electric motors) Introduction Digital control of electric motors is the development trend of electric motor control, and using single-chip microcomputers to control electric motors is the most commonly used means to achieve digital control of electric motors. This book introduces in detail and systematically the control principles of common electric motors such as DC motors, AC motors, stepper motors and brushless DC motors, and the methods of controlling them using single-chip microcomputers. Combined with the introduction of these control principles and methods, single-chip microcomputer control circuits and software are given. At the same time, it also introduces the characteristics and drive circuits of common power components used for motor drive, the principles of common sensors used for closed-loop control of electric motors and the interface circuits with single-chip microcomputers, and the algorithms and programming of digital PID and digital filtering used for motor optimization control. This book is suitable for beginners who are interested in single-chip microcomputer control of electric motors. It can be used as a textbook for mechanical and electrical engineering majors, electrical automation majors and electrical engineering majors in colleges and universities, and can also be used as a self-study book for engineering and technical personnel in related majors. Introduction As the most important source of power or motion, electric motors occupy an important position in production and life. In the past, the speed control of motors was mostly done by analog methods. With the emergence and development of computers and the continuous emergence of new power electronic power devices, the control of motors has also undergone profound changes. Analog control has gradually been replaced by hybrid control and full digital control based on single-chip microcomputers; thyristors have also been replaced by new voltage-controlled switching devices; AC motors that were previously considered to be unable to adjust speed have now been tamed by the fastest-growing frequency conversion technology. Frequency conversion technology and pulse width modulation technology have become the mainstream technology for motor control. The huge changes that have taken place in just over 20 years have, on the one hand, required many engineers and technicians to update their knowledge, and on the other hand, more people have become interested because control has become easier. However, there are very few books on this subject on the market, which makes it difficult for people to acquire knowledge in this area, so the idea of ​​writing this book has emerged. The book has the following characteristics in terms of writing ideas. First, it strives to make this book oriented to beginners. Therefore, great attention is paid to enabling readers to master various control principles and methods of motors, pay attention to the introduction of various concepts, and try to be popular, specific, and detailed in writing. Second, attention is paid to practicality. The impractical control methods of using single-chip microcomputers to simulate PWM and the control circuits composed of discrete components are abandoned. Instead, the PWM port of the new single-chip microcomputer and the use of dedicated integrated circuits are used more, so that only one 8-bit single-chip microcomputer can successfully complete the control task of the motor. Third, due to the diversity and incomplete compatibility of single-chip microcomputers, it is very difficult to choose a single-chip microcomputer that all readers can accept in the examples. Most people are familiar with the MCS51 single-chip microcomputer, but various new single-chip microcomputers have faster speeds and powerful functions (such as PWM ports, comparison and capture functions, A/D converters, watchdogs, various serial bus interfaces, etc.), which are very necessary in motor control. In order to solve this contradiction, this book specially selects a new 8-bit single-chip microcomputer C8051 that is fully compatible with the MCS51 single-chip microcomputer as the single-chip microcomputer used in most examples. As long as readers have the basics of the MCS51 single-chip microcomputer, they can easily understand the program examples given in this book. Fourth, pay attention to giving readers the latest technology and the latest knowledge. The book has 9 chapters: Chapters 1 to 5 mainly introduce the basic knowledge and technology involved in motor control, including power electronic switch devices for motor drive, detection sensors for motor feedback, digital PID algorithms and digital filter algorithms for motor control optimization, and the C8051 microcontroller used as an example in this book. Chapters 6 to 9 respectively introduce the microcontroller control methods of common motors such as DC motors, three-phase AC motors, stepper motors, and brushless DC motors. Before writing this book, the author had read a lot of relevant literature and materials and gained a lot of knowledge from them. I would like to take this opportunity to express my deep respect to these authors. This book was funded by the Liaoning Provincial Education Department\'s College Scientific Research Fund (Project No.: 20032087). During the writing process, Professor He Limin of Beijing University of Aeronautics and Astronautics provided guidance for this book, and I would like to express my sincere gratitude. In addition, Wang Ling, Li Weimin, Shan Peng, Wang Yanqiu, Zhang Wenxue, Li Tiejun, Wang Tianli, Zeng Hong, Gu Ganghui, Wan Que have made great efforts in the writing, data search and proofreading of some contents of this book; at the same time, Kang Haiyan and Li Chunjuan participated in the drawing of graphics, text and data compilation, and we would like to express our gratitude to them. We would also like to thank Shenyang Xinhualong Electronics Co., Ltd. for providing detailed information and strong support for the Cygnal C8051FXXX series of microcontrollers. Due to the limited level of the author, there are inevitably errors and imperfections in the book, and readers are welcome to criticize and correct them. Contents Introduction 1 Chapter 1 Dynamics basis of electromechanical transmission system 1.1 Motion equations of electromechanical transmission system 6 1.2 Conversion of torque and moment of inertia 7 1.3 Mechanical characteristics of load machinery and motors 9 1.4 Conditions for stable operation of electromechanical transmission systems 11 Exercises and questions for reflection 12 Chapter 2 Common power electronic switching devices 2.1 Characteristics and parameters of gate turn-off thyristors (GTOs) 13 2.1.1 Principles and performance of gate turn-off thyristors 13 2.1.2 Gate drive circuit of gate turn-off thyristors 17 2.2 Performance and application of power transistors (GTRs) 18 2.2.1 Characteristics and parameters of power transistors 18 2.2.2 Drive of power transistors 21 2.3 Performance and application of power field effect transistors (MOSFETs) 23 2.3.1 Characteristics and parameters of power field effect transistors 24 2.3.2 Drive of power field effect transistors 27 2.4 Performance and application of insulated gate bipolar transistors (IGBTs) 29 2.4.1 Characteristics and parameters of insulated gate bipolar transistors 30 2.4.2 Drive of insulated gate bipolar transistors 32 Exercises and questions for reflection 36 Chapter 3 C8051 MCU Support for Motor Control 3.1 Features of Cygnal C8051F0XX Series MCU 37 3.2 Composition of C8051 MCU 40 3.2.1 Structure of C8051 MCU 40 3.2.2 Interrupt System 43 3.2.3 Timer/Counter 45 3.3 Input and Output Port Settings of C8051 for Motor Control 51 3.4 Implementation of Analog/Digital Conversion in Motor Control in C8051 55 3.5 Implementation of PWM and Frequency Measurement in Motor Control in C8051 60 3.6 Interface Method between C8051 and 5 V Motor Control System 70 Exercises and Questions 71 Chapter 4 Digital PID Controller and Digital Filtering 4.1 Analog PID Control Principle 73 4.2 Digital PID Control Algorithm 75 4.2.1 Position PID Control Algorithm 75 4.2.2 Incremental PID Control Algorithm 76 4.2.3 Digital PID control algorithm subroutine 77 4.3 Improved algorithm of digital PID 84 4.3.1 Improvement on integral action 84 4.3.2 Improvement on differential action 86 4.4 Parameter selection and sampling period selection of digital PID controller 88 4.4.1 Parameter selection method 88 4.4.2 Selection of sampling period 90 4.5 Digital filtering technology 91 4.5.1 Arithmetic mean value method 91 4.5.2 Moving average filter method 92 4.5.3 Anti-pulse interference average value method 95 4.5.4 Digital low-pass filter method 97 Exercises and thinking questions 99 Chapter 5 Displacement, angle, and speed detection sensors 5.1 Grating displacement detection sensors 101 5.1.1 Characteristics and classification of grating sensors 101 5.1.2 Composition of grating displacement sensors 103 5.1.3 Working principle of grating displacement sensors 104 5.1.4 Grating subdivision technology 107 5.1.5 Interface between grating displacement sensor and single-chip microcomputer 109 5.2 Photoelectric encoder angle detection sensor 112 5.2.1 Working principle of absolute photoelectric encoder 112 5.2.2 Working principle of incremental photoelectric encoder 115 5.2.3 Interface between photoelectric encoder and single-chip microcomputer 117 5.3 DC tachometer generator 119 5.3.1 Working principle of DC tachometer generator 119 5.3.2 Factors affecting the output characteristics of DC tachometer generator and countermeasures 120 5.3.3 Interface between DC tachometer generator and single-chip microcomputer 123 Exercises and thinking questions 124 Chapter 6 DC motor speed control system 6.1 PWM voltage regulation and speed control principle of DC motor armature 125 6.2 Irreversible PWM system of DC motor 128 6.2.1 Irreversible PWM system without brake 128 6.2.2 Irreversible PWM system with brake 131 6.3 Reversible PWM system of DC motor bipolar drive 133 6.3.1 Control Principle of Bipolar Drive Reversible PWM System 133 6.3.2 Using Dedicated DC Motor Driver Chip LMD18200 to Implement Bipolar Control 135 6.4 DC Motor Unipolar Drive Reversible PWM System 139 6.4.1 Control Principle of Limited Unipolar Drive Reversible PWM System 139 6.4.2 Control Principle of Limited Frequency Multiplication Unipolar Drive Reversible PWM System 141 6.4.3 Implementing Limited Unipolar Control with Single-Chip Microcomputer 142 6.5 Low-Power DC Servo System 142 6.5.1 Function and Working Principle of LM629 Chip 143 6.5.2 Instructions of LM629 144 6.5.3 Application of LM629 148 Exercises and Questions for Thinking 149 Chapter 7 AC Asynchronous Motor Variable Frequency Speed ​​Regulation System 7.1 Principle of AC Asynchronous Motor Variable Frequency Speed ​​Regulation 150 7.1.1 Principle of AC Asynchronous Motor Variable Frequency Speed ​​Regulation 150 7.1.2 Working principle of main circuit and inverter circuit 151 7.2 Frequency conversion and voltage conversion 154 7.2.1 Problem statement 154 7.2.2 Implementation of frequency conversion and voltage conversion - SPWM modulation wave 155 7.2.3 Selection of carrier frequency 159 7.3 Mechanical characteristics and compensation after frequency conversion 160 7.3.1 Mechanical characteristics of motor after frequency conversion 160 7.3.2 V/F torque compensation method 161 7.4 SPWM wave generator SA4828 chip 162 7.4.1 Working principle of SA4828 162 7.4.2 Programming of SA4828 165 7.5 Application example of frequency conversion speed regulation of AC asynchronous motor controlled by single chip microcomputer 168 7.5.1 Hardware interface circuit 168 7.5.2 Programming example 169 7.6 Introduction to vector control 176 7.6.1 Thoughts triggered by DC motor 176 7.6.2 Three methods of generating a rotating magnetic field 176 7.6.3 The basic idea of ​​vector control 179 Exercises and questions for reflection 180 Chapter 8 Single-chip microcomputer control of stepper motors 8.1 The structure and working principle of reactive stepper motors 181 8.1.1 Classification and structure of stepper motors 181 8.1.2 Working principle of reactive stepper motors 183 8.2 Characteristics of stepper motors 189 8.2.1 Oscillation, step loss and solutions of stepper motors 189 8.2.2 Angular characteristics of stepper motors 190 8.2.3 Torque-frequency characteristics of stepper motors 193 8.3 Driving of stepper motors 194 8.3.1 Single voltage drive 194 8.3.2 Dual voltage drive 195 8.3.3 Chopper drive 196 8.3.4 Subdivision drive 197 8.3.5 Integrated circuit drive 199 8.4 Single-chip microcomputer control of stepper motors 200 8.4.1 Pulse distribution 201 8.4.2 Speed ​​control of stepper motor 204 8.5 Operation control of stepper motor 205 8.5.1 Position control of stepper motor 205 8.5.2 Acceleration and deceleration control of stepper motor 208 Exercises and thinking questions 214 Chapter 9 Principles of brushless DC motor and single-chip microcomputer control 9.1 Structure and principle of brushless DC motor 215 9.1.1 Structure 215 9.1.2 Position sensor 216 9.1.3 Working principle of brushless DC motor 220 9.2 Winding connection mode of brushless DC motor 222 9.2.1 Three-phase star connection full-bridge drive mode 223 9.2.2 Three-phase delta connection full-bridge drive mode 225 9.2.3 Multi-phase winding connection mode 226 9.2.4 Forward and reverse rotation and current limiting 228 9.3 Single-chip microcomputer control of brushless DC motor 231 9.3.1 Single-chip microcomputer control of brushless DC motors 231 9.3.2 Application-specific integrated circuits 233 Exercises and questions 2434.2 Programming of SA4828 165 7.5 Application Examples of Variable Frequency Speed ​​Regulation of AC Asynchronous Motors Controlled by Single-Chip Microcomputer 168 7.5.1 Hardware Interface Circuit 168 7.5.2 Programming Examples 169 7.6 Introduction to Vector Control 176 7.6.1 Thoughts Inspired by DC Motors 176 7.6.2 Three Methods of Generating Rotating Magnetic Fields 176 7.6.3 Basic Ideas of Vector Control 179 Exercises and Questions for Thinking 180 Chapter 8 Single-Chip Microcomputer Control of Stepper Motors 8.1 Structure and Working Principle of Reactive Stepper Motors 181 8.1.1 Classification and Structure of Stepper Motors 181 8.1.2 Working Principle of Reactive Stepper Motors 183 8.2 Characteristics of Stepper Motors 189 8.2.1 Oscillation, Step Loss and Solutions of Stepper Motors 189 8.2.2 Angular Characteristics of Stepper Motors 190 8.2.3 Torque-Frequency Characteristics of Stepper Motors 193 8.3 Stepper Motor Drive 194 8.3.1 Single Voltage Drive 194 8.3.2 Dual Voltage Drive 195 8.3.3 Chopper Drive 196 8.3.4 Microstep Drive 197 8.3.5 Integrated Circuit Drive 199 8.4 Single Chip Microcomputer Control of Stepper Motor 200 8.4.1 Pulse Distribution 201 8.4.2 Speed ​​Control of Stepper Motor 204 8.5 Operation Control of Stepper Motor 205 8.5.1 Position Control of Stepper Motor 205 8.5.2 Acceleration and Deceleration Control of Stepper Motor 208 Exercises and Questions for Thinking 214 Chapter 9 Principles of Brushless DC Motor and Single Chip Microcomputer Control 9.1 Structure and Principle of Brushless DC Motor 215 9.1.1 Structure 215 9.1.2 Position Sensor 216 9.1.3 Working Principle of Brushless DC Motor 220 9.2 Winding Connection Method of Brushless DC Motor 222 9.2.1 Three-phase star-connected full-bridge drive mode 223 9.2.2 Three-phase delta-connected full-bridge drive mode 225 9.2.3 Multi-phase winding connection mode 226 9.2.4 Forward and reverse rotation and current limiting 228 9.3 Single-chip microcomputer control of brushless DC motors 231 9.3.1 Single-chip microcomputer control of brushless DC motors 231 9.3.2 Application-specific integrated circuits 233 Exercises and questions for reflection 2434.2 Programming of SA4828 165 7.5 Application Examples of Variable Frequency Speed ​​Regulation of AC Asynchronous Motors Controlled by Single-Chip Microcomputer 168 7.5.1 Hardware Interface Circuit 168 7.5.2 Programming Examples 169 7.6 Introduction to Vector Control 176 7.6.1 Thoughts Inspired by DC Motors 176 7.6.2 Three Methods of Generating Rotating Magnetic Fields 176 7.6.3 Basic Ideas of Vector Control 179 Exercises and Questions for Thinking 180 Chapter 8 Single-Chip Microcomputer Control of Stepper Motors 8.1 Structure and Working Principle of Reactive Stepper Motors 181 8.1.1 Classification and Structure of Stepper Motors 181 8.1.2 Working Principle of Reactive Stepper Motors 183 8.2 Characteristics of Stepper Motors 189 8.2.1 Oscillation, Step Loss and Solutions of Stepper Motors 189 8.2.2 Angular Characteristics of Stepper Motors 190 8.2.3 Torque-Frequency Characteristics of Stepper Motors 193 8.3 Stepper Motor Drive 194 8.3.1 Single Voltage Drive 194 8.3.2 Dual Voltage Drive 195 8.3.3 Chopper Drive 196 8.3.4 Microstep Drive 197 8.3.5 Integrated Circuit Drive 199 8.4 Single Chip Microcomputer Control of Stepper Motor 200 8.4.1 Pulse Distribution 201 8.4.2 Speed ​​Control of Stepper Motor 204 8.5 Operation Control of Stepper Motor 205 8.5.1 Position Control of Stepper Motor 205 8.5.2 Acceleration and Deceleration Control of Stepper Motor 208 Exercises and Questions for Thinking 214 Chapter 9 Principles of Brushless DC Motor and Single Chip Microcomputer Control 9.1 Structure and Principle of Brushless DC Motor 215 9.1.1 Structure 215 9.1.2 Position Sensor 216 9.1.3 Working Principle of Brushless DC Motor 220 9.2 Winding Connection Method of Brushless DC Motor 222 9.2.1 Three-phase star-connected full-bridge drive mode 223 9.2.2 Three-phase delta-connected full-bridge drive mode 225 9.2.3 Multi-phase winding connection mode 226 9.2.4 Forward and reverse rotation and current limiting 228 9.3 Single-chip microcomputer control of brushless DC motors 231 9.3.1 Single-chip microcomputer control of brushless DC motors 231 9.3.2 Application-specific integrated circuits 233 Exercises and questions for reflection 243
pdf
Task Arrangement and MCU C Language Modular Programming Method
Points it Requires : 1 Type:Application DocumentsUploader:tiankai001Date:2013-03-09
Introduction:Task Arrangement and MCU C Language Modular Programming Method
rar
8051 MCU C Programming Complete Manual
Points it Requires : 1 Type:Application DocumentsUploader:test3228Date:2013-07-15
Introduction:Basic Information · Publisher: People\'s Post and Telecommunications Press · Pages: 554 pages · Publication Date: April 2006 · ISBN: 7115146012 · Barcode: 9787115146014 Introduction Single-chip microcomputers are an important branch of microcomputers. This book is a technical manual that introduces the C programming of 8051 series single-chip microcomputers. The book introduces the basic knowledge that should be mastered in the C programming of 8051 series single-chip microcomputers from the aspects of single-chip microcomputer foundation, C language, development and compilation environment, typical resource programming, single-chip microcomputer communication, etc. The content is comprehensive and the explanation is clear. Then, through the two parts of engineering development examples and typical module application examples, the method of single-chip microcomputer system design is systematically introduced to combine theory with practice. This book is suitable for single-chip microcomputer programmers. This book first introduces the basic knowledge that should be mastered in the C programming of 8051 series single-chip microcomputers from the aspects of single-chip microcomputer foundation, C language, development and compilation environment, typical resource programming, single-chip microcomputer communication, etc. The content is comprehensive and the explanation is clear. Then, through the two parts of engineering development examples and typical module application examples, the method of single-chip microcomputer system design is systematically introduced to combine theory with practice. This book can be used as a textbook for undergraduate and junior college single-chip microcomputer technology courses, and can also be used as a reference book for technicians who design and develop 8051 series single-chip microcomputer C programs and teachers and students of related majors in colleges and universities. --------------------------------------------------------------------------------Editor\'s recommendation Single-chip microcomputer is an important branch of microcomputers. This book is a technical manual based on the C programming of 8051 series single-chip microcomputers. The book introduces the basic knowledge that should be mastered in the C programming of 8051 series single-chip microcomputers from several aspects such as single-chip microcomputer foundation, C language, development and compilation environment, typical resource programming, and single-chip microcomputer communication. The content is comprehensive and the explanation is clear. Then, through the two parts of engineering development examples and typical module application examples, the method of single-chip microcomputer system design is systematically introduced to combine theory with practice. This book is suitable for single-chip microcomputer programmers. --------------------------------------------------------------------------------ContentsChapter 1 MCU Basics1.1 MCU Technology Development1.2 51 Series MCU Architecture1.2.1 Internal Structure1.2.2 Memory Organization1.2.3 Internal Functional Modules1.2.4 External Pins1.2.5 System Resource Expansion1.3 MCU ProgrammingChapter 2 C Language Programming Basics2.1 Basic Concepts2.1.1 Overview2.1.2 Variables and Arithmetic Expressions2.1.3 for Statement2.1.4 Symbolic Constants2.2 Data Types, Operators and Expressions2.2.1 C Language Data Types2.2.2 Constants and Variables2.2.3 Integer Data2.2.4 Real Data2.2.5 Character Data2.2.6 Operators2.2.7 Expressions2.3 Program Control Statements2.3.1 Three Basic Structures of Programs2.3.2 Conditional Control Statements2.3.3 Program Application Examples2.4 Loop Control Statements 2.4.1 while Statement 2.4.2 dowhile Statement 2.4.3 for Statement 2.4.4 break and continue Statements 2.4.5 Program Application Examples 2.5 Summary Chapter 3 C Language Advanced Programming 3.1 Function and Program Structure 3.1.1 Basic Knowledge of Functions 3.1.2 Functions that Return Non-Integer Values ​​3.1.3 External Variables 3.1.4 Scoping Rules 3.1.5 Header Files 3.1.6 Static Variables 3.1.7 Register Variables 3.1.8 Subprogram Structure 3.1.9 Initialization 3.1.10 Recursion 3.2 Arrays 3.2.1 One-Dimensional Arrays 3.2.2 Two-Dimensional Arrays 3.2.3 Multi-Dimensional Arrays 3.2.4 Array Initialization 3.3 Pointers 3.3.1 Pointers and Pointer Variables 3.3.2 Definition and Reference of Pointer Variables 3.3.3 Pointer Operators and Pointer Expressions 3.3.4 Pointers and Arrays 3.3.5 3.3.6 Pointer array 3.3.7 Pointer to pointer 3.4 Structure and union 3.4.1 Definition and reference of structure type variable 3.4.2 Definition and reference of structure array 3.4.3 Definition and reference of structure pointer 3.4.4 Union 3.5 Summary Chapter 4 C51 Programming 4.1 C51 Extension of Standard C Language 4.1.1 Storage Area 4.1.2 Classification of Data Variables 4.1.3 Memory Mode 4.1.4 Absolute Address Access 4.1.5 Pointer 4.1.6 Function 4.2 C51 Function Library 4.2.1 Character Function CTYPE.H 4.2.2 General I/O Function STDIO.H 4.2.3 String Function STRING.H 4.2.4 Standard Function STDLIB.H 4.2.5 Mathematical Function MATH.H 4.2.6 Absolute Address Access ABSACC.H 4.2.7 Internal function INTRINS.H 4.2.8 Variable parameter table STDARG.H 4.2.9 Global jump SETJMPH 4.2.10 Access SFR and SFR bit address REGxxx.H 4.3 C51 program writing 4.3.1 Basic structure of C program 4.3.2 Writing efficient C51 program and optimizing program Chapter 5 Windows integrated development environment μVision2 5.1 Introduction to μVision2 editing interface and its functions 5.1.1 Overview of μVision2 interface 5.1.2 Main menu bar 5.1.3 μVision2 function buttons 5.1.4 μVision2 window environment 5.2 Introduction to the development process of using μVision2 5.2.1 Create a new project 5.2.2 Common environment configuration 5.2.3 Code optimization 5.2.4 Target code debugging 5.3 CPU simulation 5.3.1 μVision2 debugger 5.3.2 Debug commands 5.3.3 Memory Space 5.3.4 Expressions 5.3.5 Techniques 5.4 In-depth understanding of μVision2 5.4.1 μVision2 project management 5.4.2 Usage tips 5.4.3 μVision2 debugging functions Chapter 6 C51 Compiler 6.1 Preprocessing 6.1.1 Macro definition 6.1.2 File inclusion 6.1.3 Conditional compilation 6.1.4 Other preprocessing commands 6.2 Detailed explanation of C51 compiler control instructions 6.2.1 Source control instructions 6.2.2 List control instructions 6.2.3 Target control instructions 6.3 Advanced configuration files of C51 6.3.1 Target program startup configuration file - STARTUP.A51. 6.3.2 CPU initialization file - START751.A51 6.3.3 Static variable initialization file - INT.A51 6.3.4 Special variable initialization file - INIT751.A51 Chapter 7 Typical resource programming of C51 7.1 7.1 Serial communication 8.1.1 Serial communication basics 8.1.2 MCU serial port usage 8.2 MCU point-to-point communication 8.2.1 Communication interface design 8.2.2 MCU point-to-point communication program design 8.3 MCU multi-machine communication 8.3.1 Host part communication program design 8.3.2 Slave part communication program design 8.4 MCU I2C bus communication 8.4.1 I2C bus introduction 8.4.2 I2C bus hardware interface design 8.4.3 8.4.4 Design points of I2C bus system 8.5 Interconnection between microcontroller and computer 8.5.1 Circuit design 8.5.2 C51 program code of the circuit 8.5.3 Visual C++ program code on the computer side Chapter 9 Engineering development examples of C51 single chip microcomputer 9.1 Single chip microcomputer system design method 9.2 Relevant knowledge of C51 system design 9.2.1 Knowledge of hardware and circuits 9.2.2 Knowledge of software and programming languages ​​9.3 Some issues that need to be paid attention to in C5l system design 9.3.1 Allocation of single chip microcomputer resources 9.3.2 Addressing of single chip microcomputer 9.3.3 Return value of C51 function 9.3.4 Watchdog function of single chip microcomputer 9.3.5 Peripherals of single chip microcomputer 9.3.6 Power consumption of single chip microcomputer 9.4 Some issues about C51 9.5 Keyboard and LED display 9.5.1 Background and function of circuit design 9.5.2 Circuit design 9.5.3 C51 program code of keyboard scanning circuit 9.5.4 Circuit improvement - keyboard debounce program 9.5.5 The display part of the circuit - LED digital tube circuit 9.6 Use of A/D and D/A converters 9.6.1 Background and function of circuit design 9.6.2 Circuit design 9.6.3 C51 program code of the circuit 9.7 Digital clock based on single-chip microcomputer 9.7.1 Background and function of circuit design 9.7.2 Circuit design 9.7.3 C51 program code of the circuit Chapter 10 Typical module examples of C51 single-chip microcomputer 10.1 Use of typical external ROM and RAM devices 10.1.1 Example function 10.1.2 Devices and principles 10.1.3 Circuit 10.1.4 Program design 10.2 LCD display and drive example 10.2.1 Example function 10.2.2 Devices and principles 10.2.3 Circuit lO.2.4 Program design 10.3 Voltage measurement using A/D chip 10.3.1 Example function 10.3.2 Devices and principles 10.3.3 Circuit 10.3.4 Programming 10.4 Using DS1820 for temperature compensation and measurement 10.4.1 Example function 10.4.2 Devices and principles 10.4.3 Circuit 10.4.4 Programming 10.5 The use of voice chips in single-chip microcomputer systems 10.5.1 Example function 10.5.2 Devices and principles 10.5.3 Circuit 10.5.4 Programming 10.6 The application of clock chips in single-chip microcomputer systems 10.6.1 Example function 10.6.2 Devices and principles 10.6.3 Circuit 10.6.4 Programming 10.7 Implementation of filtering algorithms in single-chip microcomputers 10.8 FFT transformation of signal data
pdf
MCU modular programming, complex multi-task programming examples
Points it Requires : 1 Type:Application DocumentsUploader:tiankai001Date:2013-02-23
Introduction:MCU modular programming, complex multi-task programming examples
pdf
51 MCU C language application development trinity practical teaching 421 pages 53.8M ultra-clear bookmark version
Points it Requires : 1 Type:Application DocumentsUploader:tywDate:2013-12-10
Introduction:51 MCU C language application development trinity practical teaching 421 pages 53.8M ultra-clear bookmark version
doc
MCU Program Optimization Method
Points it Requires : 1 Type:Application DocumentsUploader:ST2Date:2014-12-12
Introduction:This paper introduces the method of optimizing MCU code, which enables programmers to write more compact code and save resources.
pdf
51 MCU C language common modules and integrated system design examples 462 pages
Points it Requires : 1 Type:Application DocumentsUploader:tywDate:2013-12-10
Introduction:51 MCU C language common modules and integrated system design examples 462 pages
pdf
Microcontroller Application Technology Encyclopedia 904 pages 35.2M.pdf
Points it Requires : 1 Type:Technical DocumentationUploader:tywDate:2013-11-12
Introduction:Microcontroller Application Technology Encyclopedia 904 pages 35.2M.pdf
pdf
Detailed explanation of microcontroller program architecture.pdf
Points it Requires : 10 Type:Application DocumentsUploader:zhaoguanlingDate:2013-11-27
Introduction:Detailed explanation of microcontroller program architecture.pdf
pdf
Design of multi-task application program for single chip microcomputer based on real-time operating system.pdf
Points it Requires : 1 Type:PaperUploader:常见泽1Date:2013-03-18
Introduction:Design of multi-task application program for single chip microcomputer based on real-time operating system.pdf
pdf
《A Complete Collection of Microcontroller Development Examples》
Points it Requires : 1 Type:Technical DocumentationUploader:qinkaiabcDate:2013-03-17
Introduction:《A Complete Collection of Microcontroller Development Examples》
rar
Method and improvement of 51 MCU transplanting UCOS-II (large mode + simulation stack)
Points it Requires : 1 Type:Application DocumentsUploader:xieryouDate:2013-06-18
Introduction:I have been studying UCOS-II for a while. After reading the source code for a month, I felt that I had a preliminary understanding. I started to find a platform to port it and try it out, otherwise it would be just talk. I first looked at a product of the company. The UC used was ported on the ARM platform. It took a lot of effort to finally understand the process of task switching. I thought I had mastered the porting of UC, so I took out the 51 minimum system I had soldered before and wanted to run UC on 51. However, when I actually ported it, I found it very difficult and didn’t know how to start. I had no choice but to find porting examples on the Internet to learn. I found two versions. One was ported by someone unknown and compiled with KEIL small mode; the other was ported by Yang Yi in 2003 and compiled with KEIL large mode. As I learned more, I found that porting UC on different platforms is really far apart. I also found that the two versions of UCOS for 51 have shortcomings to varying degrees. Below I will explain the two versions of UCOS for 51 based on my own understanding and analyze my improvement methods in detail. Source code plus documentation
rar
A collection of practical applications of the single-chip computer language C51 (classic recommendation)
Points it Requires : 1 Type:Application DocumentsUploader:nkyqslDate:2014-03-05
Introduction:A collection of practical applications of the single-chip computer language C51. The development speed using C language is fast, the code can be reused, the program structure is clear, easy to understand, easy to maintain, and it is easy to develop some relatively large projects. At present, many compilers have supported C51, and they are Windows window interfaces. Kelic51 is currently the most popular software for single-chip computer development. This book collects and organizes many practical programs developed using C51 single-chip computers. These programs can not only give readers open-minded ideas, but also serve as references for actual development programs, and can be directly used as programs on the same development system. Through the study of this book, readers can further understand and master the ideas and methods of C51 programming. Single-chip computer language C51 application practice collection directory:Program 1 C51 program example of real-time clock chip DS1302Program 2 A little difference between C430 and CSIProgram 3 An example of a menuProgram 4 DS1820 single chip temperature measurementProgram 5 Keilc 6.20c version directly embedded assembly methodProgram 6 C source code for simulating SPI communication with computer parallel portProgram 7 CRC 16-SIANDARD fast algorithmProgram 8 C source code for simulating I (square) C bus with parallel port on PCProgram 9 A method of writing binary in C51Program 10 CRC algorithm principle and C language implementationProgram 11 Software trapProgram 12 A simple VB serial port sending programProgram 13 12864 Chinese character LCD display driverProgram 14 12232 dot matrix LCD basic driverProgram 15 Serial port interrupt service function setProgram 16 93C46 read and write programProgram 17 20045 read and write programProgram 18 A group of small program collectionProgram 19 AVR asm source program program 20 a simple communication program for AVR microcontroller program 21 TG19264A interface program program 22 TG19264A interface program (AVR simulation mode) program 23 several commonly used code conversion BCD, HEX, BIN program 24 16x2 character LCD screen driver demonstration program 1 program 25 16x2 character LCD screen driver demonstration program 2 program 26 PS7219 code program 27 2051 AD code program 28 ARV19264 type LCD display font library program 29 LCD CKW19264A type interface program (simulation mode) program 30 I (square) C bus driver program 31 240128 type LCD code program 32 airplane game program 33 PC key code program 34 pinyin input method module program 35 serial port code program 36 snake game code program 37 and LCD module T6963C connection code program 38 keyboard input method design draft program 39 16*4 LCD Chinese character code program 40 intelligent home appliance control Appendix C Several useful modules for single-chip C51 programming Appendix D Header file W77E58.h Appendix A MCS-51 single-chip fixed-point operation subroutine library Appendix B MCS-51 single-chip floating-point operation subroutine library
pdf
Single chip microcomputer and intelligent control of household appliances 566 pages 19.5M.pdf
Points it Requires : 1 Type:Application DocumentsUploader:tywDate:2013-11-12
Introduction:Single chip microcomputer and intelligent control of household appliances 566 pages 19.5M.pdf
rar
Single-Chip Microcomputer High-Level Language C51 Application Programming Design (Compiled by Xu Aijun)
Points it Requires : 1 Type:Application DocumentsUploader:PKelectDate:2013-09-22
Introduction:The application design of single-chip high-level language C51 explains the basic syntax of single-chip high-level language C51, the functions of various operators and the structure of statements, etc. It introduces in detail the use of C51 compiler, L51 link locator and A51 macro assembler, gives a detailed description of various compilation and connection control instructions, and gives various compilation and connection error messages. In addition, it also introduces the use of simulator DS51.High-level language C51 for single-chip microcomputers Application program design Contents Chapter 1 Basic knowledge of C language 1.1 Characteristics of C language and its program structure 1.2 Identifiers and keywords of C language 1.3 Compiling, linking and debugging of C51 programs for single-chip microcomputers Chapter 2 Basics of C51 programming 2.1 Data types 2.2 Constants 2.3 Variables and their storage modes 2.4 Redefining data types with typedef 2.5 Operators and expressions 2.5.1 Assignment operators 2.5.2 Arithmetic operators 2.5.3 Increment and decrement operators 2.5.4 Relational operators 2.5.5 Logical operators 2.5.6 Bitwise operators 2.5.7 Compound assignment operators 2.5.8 Comma operator 2.5.9 Conditional operators 2.5.10 Pointer and address operators 2.5.11 Forced type conversion operator 2.5.12 sizeof operator 2.6 Expression statements 2.7 Compound statements 2.8 Conditional statements 2.9 Switch statements 2.10 Loop statements 2.10.1 while statements 2.10.2 do-while statements 2.10.3 for statements 2.10.4 goto statements 2.10.5 continue statements 2.11 Return statements Chapter 3 Functions 3.1 Function definition 3.2 Function call 3.2.1 Function call form 3.2.2 Description of the called function 3.2.3 Function parameters and function return value 3.2.4 Actual parameter passing method 3.3 Recursive function call and reentry function 3.4 Interrupt service function and register group definition 3.5 Variable storage method 3.5.1 Local variables and global variables 3.5.2 Variable storage types 3.5.3 Function parameters and local variable memory model Chapter 4 Arrays and pointers 4.1 Array definition and reference 4.2 Character array 4.3 Assigning initial values ​​to array elements 4.4 Arrays as function parameters 4.5 The concept of pointers 4.5.1 Pointers and addresses 4.5.2 Definition of pointer variables 4.5.3 Reference to pointer variables 4.5.4 Pointer variables as function parameters 4.6 Array pointers 4.6.1 Reference to array elements with pointers 4.6.2 Character array pointers 4.7 Pointer address calculation 4.8 Function pointers 4.9 Functions that return pointer-type data 4.10 Pointer arrays and pointer-type pointers 4.10.1 Pointer arrays 4.10.2 Pointer-type pointers 4.11 Abstract pointers Chapter 5 Structures and Unions 5.1 The concept of structures 5.1.1 Definition of structure variables 5.1.2 Reference to structure variables 5.1.3 Initial values ​​of structure variables 5.1.4 Structure arrays 5.2 Structure pointers 5.2.1 The concept of structure pointers 5.2.2 Using structure pointers to reference structure elements 5.3 Structures and functions 5.3.1 Using structures as function parameters 5.3.2 Using structure pointers as function parameters 5.4 Unions 5.4.1 Union definition 5.4.2 Reference to union variables Chapter 6 Preprocessor 6.1 Macro definition 6.1.1 Macro definition without parameters 6.1.2 Macro definition with parameters 6.2 File inclusion 6.3 Conditional compilation 6.4 Other preprocessing commands Chapter 7 C51 Compiler 7.1 Detailed explanation of C51 compiler control instructions 7.1.1 Source control instructions 7.1.2 List control instructions 7.1.3 Target control instructions 7.2 Data calling protocol of C51 compiler 7.2.1 Data storage format in memory 7.2.2 Segment management of target code 7.2.3 Stack structure of reentrant function 7.2.4 Interface with assembly language program 7.2.5 Interface with FL/M51 language program 7.2.6 Configuration file 7.2.7 Limitations of C51 compiler 7.3 Error messages of C51 compiler 7.3.1 Fatal errors 7.3.2 Syntax and semantic errors 7.4 C51 library functions 7.4.1 Character function CTYPE.H 7.4.2 General I/O function STDIO.H 7.4.3 String function STRING.H 7.4.4 Standard function STDLIB.H 7.4.5 Mathematical function MATH.H 7.4.6 Absolute address access ABSACC.H 7.4.7 Internal function INTRINS.H 7.4.8 Variable parameter table STDARG.H 7.4.9 Global jump SETJMP.H 7.4.10 Access to SFR and SFR-bit address REGxxx. 7.5 Special extensions for the C51 compiler 7.5.1 Special extensions for Siemens 80C517/537 7.5.2 Special extensions for AMD 8xC51 7.5.3 Special extensions for PHILIPS 8xC751 Chapter 8 Object file linking and conversion 8.1 Linker locator L51 8.1.1 Linking/locating control instructions 8.1.2 Error messages of L51 8.2 Symbol conversion program OHS51 8.2.1 Format of Intel HEX files 8.2.2 Control instructions and error messages of OHS51 8.3 Librarian UB51 8.4 Group linker locator BL51 8.4.1 Control instructions of BL51 8.4.2 Group configuration of BL51 8.4.3 Error messages of BL51 8.4.4 Group object file conversion program OC51 8.5 Macro assembler A51 8.5.1 Symbols and expressions 8.5.2 Assembly pseudo-instructions 8.5.3 Macro processing 8.5.4 Assembly control instructions 8.5.5 A51 error messages Chapter 9 DS51 software emulator 9.1 DS51 startup and screen window allocation 9.2 Command interpretation software 9.3 Use of the mouse 9.3.1 Input commands with the mouse 9.3.2 Execute commands with the mouse 9.4 Operation of pull-down menus 9.4.1 Option menu (Alt+O) 9.4.2 Keyboard menu (Alt+K) 9.4.3 Observation menu (Alt+V) 9.4.4 Peripheral integrated function menu (Alt+P) 9.4.5 Image menu (Alt+M) 9.4.6 Help menu (Alt+H) 9.4.7 CPU menu (Alt+C) 9.5 DS51 commands 9.5.1 Display and update memory content commands 9.5.2 User program execution control commands 9.5.3 Breakpoint management commands 9.5.4 Other general commands 9.6 Expressions 9.6.1 Expression composition 9.6.2 Differences between DS51 expressions and C expressions9.6.3 Examples of DS51 expression application 9.7 DS51 functions 9.7.1 User functions 9.7.2 Internal functions 9.7.3 Signal functions 9.7.4 The difference between DS51 functions and C language functions 9.8 DS51 error messages 9.9 DS51 IOF driver software Chapter 10 C51 application programming skills and examples 10.1 Basic methods of C51 application design 10.2 Some common problems and solutions in C51 applications 10.2.1 Error-prone areas in C language programming 10.2.2 Some practical application skills related to C51 10.3 8051 microcontroller serial interface expansion application programming 10.3.1 Matrix keyboard expanded by 8051 serial port 10.3.2 Using 8051 serial port to realize multi-machine communication 10.3.3 Application of serial interface five-digit LED driver MCl4489 10.4 10.4.1 Introduction to the 1\'C bus 10.4.2 General reading and writing programs for the 1\'C bus 10.5 Programming for the 8051 microcontroller parallel interface expansion application 10.5.1 Print output interface and its driver program 10.5.2 D/A and A/D conversion interface and its driver program 10.5.3 Using the programmable chip 8155 to realize I/O interface expansion 10.6 Application of A/D converter in 80C552 microcontroller 10.6.1 Introduction to 80C552 microcontroller 10.6.2 Application of 80C552 internal ADC 10.6.3 Design points of printed circuit board when using 80C552 internal A ratio 10.6.4 C51 driver program using 80C552 internal ADC 10.7 Application of 87C752 microcontroller in gas flow measurement 10.7.1 Introduction to 87C752 MCU 10.7.2 Hardware Design of Gas Flow Measuring Instrument 10.7.3 Software Design of Gas Flow Measuring Instrument
pdf
The Road to Becoming a MCU Master
Points it Requires : 1 Type:CourseUploader:adminDate:2012-12-09
Introduction:This is a good article that inspires and enlightens me. I hope to share it with more people.
rar
Single Chip Microcomputer Application Technology Selection 1-10 (He Limin) 6452 pages 223M PDF version.rar
Points it Requires : 1 Type:Application DocumentsUploader:tywDate:2013-10-29
Introduction:Single Chip Microcomputer Application Technology Selection 1-10 (He Limin) 6452 pages 223M PDF version.rar

Latest Downloading

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号
×

已收藏到:个人中心—我的下载—收藏