Current location - Education and Training Encyclopedia - Education and training - Guo Tianxiang MCU Training
Guo Tianxiang MCU Training
ISBN: 978-7-121-07893-4

Topic: New Concept 5 1 C Language Course of Single Chip Microcomputer-Introduction, Improvement, Development and Expansion.

Author: Guo Tianxiang

Pricing: 69 yuan (including 1 CD)

Author background

The author Guo Tianxiang is a master student of Harbin Engineering University, but he is a fan of electronic design. This book is a summary of his experience in studying and practicing single chip microcomputer design. Before the publication of this book, his undergraduate video tutorial was very popular, and the audience was mainly electronic information students in colleges and universities.

Please pay attention to the attachment at the back: the content of the author's "to readers" before this book is believed to have a very good life enlightenment for college students and is also a very good selling point of this book.

The book "books and teaching materials+video CD attached to the book+optional experimental board" can completely realize students' autonomous learning.

Back cover text

Book organization

The book is divided into five chapters: introduction, internal and external resource operation, improvement, actual combat and expansion.

Arrange the contents of the book according to the problems and demand paths encountered by beginners.

Taking the application demand as the main line, the knowledge system of upstream and downstream of single chip microcomputer technology is constructed.

Starting from practical engineering application, the principle of single chip microcomputer is explained through experimental process and phenomena, which is readable.

The content comes from a lot of scientific research and teaching practice, and many C language codes can be directly applied to engineering projects, which is very practical.

Supporting learning CD, and can provide learning experiment board, you can study and practice.

Learning resources

This book contains a DVD, 13 teaching video+courseware routine code+book routine code.

Tian Xiang electronic website technical support

Reader object

Teachers and students majoring in electronic information and mechatronics in colleges and universities

Teachers and students of college students' innovation base

5 1 Singlechip C Language Programming Beginners

Computer, automatic control, intelligent instrument, power electronics, mechatronics technicians

Reader level

new hand

Intermediate developer

The pre-text content of this book

Nai Rong Jian Street

Starting from the practical application, this book, guided by the experimental process and phenomena, tells the C language programming method of 5 1 single chip microcomputer and the hardware structure and functional application of 5 1 single chip microcomputer step by step. The book is divided into five chapters, which are introduction, internal and external resource operation, promotion, actual combat and expansion. This book is rich in content and practical. Most of the contents in the book come from scientific research and teaching practice, and many C language codes can be directly applied to engineering projects. The CD-ROM of this book provides nearly 30 hours of 13 teaching video and sample code of this book, which can make readers master the knowledge and application skills of single chip microcomputer faster and better. The author of this book can also provide a single chip microcomputer experimental board matching this book.

This book can be used as a teaching material for undergraduate and specialized courses of single chip microcomputer, suitable for beginners of 5 1 single chip microcomputer and technicians engaged in project development with 5 1 single chip microcomputer, and can also be used as a reference for technicians engaged in automatic control, intelligent instrumentation, power electronics, mechatronics and other professions.

order

Starting from the practical engineering application and guided by the experimental process and phenomena, this book tells the method of programming 5 1 single chip microcomputer in C language step by step, the hardware structure and various functional applications of 5 1 single chip microcomputer.

This book is different from the traditional single chip microcomputer book. All routines in this book are based on the actual hardware experiment board phenomenon, and the working principle of single chip microcomputer is analyzed by C language program, so that readers can know why and why, thus helping readers to thoroughly understand and master single chip microcomputer from practical application. In addition, most of the contents of this book come from the author's scientific research and teaching practice, covering the essence of the author's many years of project experience, and running through some suggestions on learning methods.

This book is rich in content and practical, and many C language codes can be directly applied to engineering projects. This book is accompanied by a CD-ROM, which provides nearly 30 hours of single-chip microcomputer teaching video. At the same time, the author has also developed the TX- 1C single-chip microcomputer experimental board that is matched with this book, which can help readers practice while learning and achieve the purpose of applying what they have learned. In the process of learning, readers can refer to videos and books, cooperate with learning, and practice with the experimental board of single chip microcomputer, so as to master the application knowledge and skills of single chip microcomputer faster and better.

This book is suitable as a teaching material for undergraduate and professional courses of electronic information and mechatronics in universities, or as a practical teaching material for college students' innovation base. It is also suitable for beginners of 5 1 single chip microcomputer and technicians engaged in project development using 5 1 single chip microcomputer, and can also be used as a reference for professional technicians engaged in automatic control, intelligent instrumentation, power electronics, mechatronics and so on.

The content organization of this book

The content of this book is divided into five parts, namely introduction, internal and external resource operation, improvement, actual combat and expansion.

1, 2 articles basically correspond to the contents of the supporting CD of this book, and the contents are step by step, from shallow to deep; In the knowledge introduction, the principle is further analyzed from the principle to practice, and then the main functions and hardware structure of 5 1 single chip microcomputer are introduced in detail.

In the third part, on the basis of the first two articles, the other functions of 5 1 single chip microcomputer are further expanded and explained through experiments, and the expanded functions of STC single chip microcomputer compared with the traditional 5 1 single chip microcomputer are also explained one by one.

The fourth part is a representative real project selected from the author's teaching and practice projects. Its wide knowledge and rich content are the essence of the author's development experience.

The fifth part is the expansion part, which explains in detail the process of drawing schematic diagram, PCB diagram, component library and component packaging with Protell software. The commonly used ISD400X series voice chips are introduced in detail. The principles and driving methods of DC motor, stepping motor and steering gear are expounded respectively. The common components in circuit design are introduced. The design of DC regulated power supply and switching power supply is introduced in detail. Finally, the application knowledge of operational amplifier is introduced.

The sample program of this book

In writing this book, the author used the English version of Windows XP SP2 as the operating system, Keil V6. 12 as the development tool, Red Dragonfly Grabber V 1.24 as the drawing tool, STC-ISP V3.9 as the single-chip microcomputer download software, and Tian Xiang Electronics' TX- 1C single-chip microcomputer experimental board as the hardware experimental equipment. All the single-chip microcomputer sample programs in this book are here.

Learning suggestions for this book.

The video provided by the CD basically corresponds to the first two books of this book. Readers are advised to have the same experimental board as this book before studying it. When studying, watch the video first, and have a preliminary impression on the single chip microcomputer. In the interactive part of the video, readers can do experiments themselves. In the process of learning, readers should use their brains and hands more. Single chip microcomputer is real hardware, and its working principle can only be understood through continuous practice. On the premise of understanding the experimental principle, readers should try their best to independently write the sample programs of each chapter in the book, read the codes in the book when they are confused, reflect on their mistakes and accumulate more experience.

This book is accompanied by a CD-ROM description.

This book CD provides two parts: all the sample codes of this book and 13 lecture video tutorial.

Video tutorial content list

Talk about the details of the content

Lecture 1 learning the preparatory knowledge of single chip microcomputer.

How to light LED, what MCU can do, basic electronic knowledge, how to learn MCU with TX- 1C MCU learning board, C5 1 knowledge introduction, and how to apply for free chip samples. Light the light-emitting tube

The second lecture on the design of running water lamp

The buzzer sounded.

Simple delay program of relay control, subroutine call, subroutine design with parameters, simultaneous buzzer of running water lamp, how to drive buzzer, how to drive relay, concept and application of collector.

Lecture 3: the display principle of digital tube

The display principle of static display digital tube * * * male and * * female digital tube, the introduction of timer working mode, focusing on working mode 2, interrupt concept and interrupt function writing, external interrupt test and timer interrupt application.

Fourthly, the principle and application of dynamic display of digital tube realize the concepts of dynamic scanning, timer and interrupt deepening.

Design a 60-second timer with timer and interrupt of single chip microcomputer

The fifth lecture: the detection principle and realization of independent keyboard and matrix keyboard, what the keyboard is used for, how to detect the keyboard, image stabilizer, keyboard coding, function writing with return value and its application.

The sixth lecture: the working principle and realization of A/D and D/A, the relationship between analog voltage and digital voltage of operational amplifier circuit, why A/D and D/A are used, the operation method of ADC0804 and DAC0832.

Lecture 7: the principle and operation flow of serial communication, the working mode of serial communication, 10 bit data communication, the concept of baud rate, and how to calculate the initial value of timer according to baud rate.

Lecture 8: The principle of 1602 liquid crystal display and the realization of the simplest liquid crystal working principle, and how to start the operation of a single chip without any concept.

Lecture 8: The working principle of I2C bus AT24C02 chip, the working principle of I2C bus, a very common communication mechanism at present.

Lecture 10 design a clock with the timer of 5 1 single chip microcomputer; The knowledge of 5 1 single chip microcomputer (including timer, interrupt, button, buzzer, digital tube or serial communication) is comprehensively used to design a clock that can adjust the time at will and have an alarm on the hour.

Lecture 1 1 Design a high-precision clock with DS 12C887 clock chip. DS 12C887 has a built-in lithium battery, so the system can run accurately for 10 years in case of power failure, and it has alarm clock function, such as year, month, day, hour, minute and second. (This part is designed by the students themselves).

Lecture 12 the whole process of drawing circuit diagram with Protell 99 includes the use of Protell 99 software, the design of component library and packaging library, drawing schematic diagram, error detection, PCB generation, manual and automatic wiring, and sending to processing.

Lecture 13 the whole process of drawing circuit diagram with Altium designer 6.5 includes the use of Altium designer, the design of component library and packaging library, drawing schematic diagram, error detection, PCB generation, manual and automatic wiring, and sending to processing.

Here, I want to correct some mistakes in explaining triodes and field effect transistors in the supporting video:

In the lecture, the author said: triode is a voltage-controlled current device, and field effect transistor is a voltage-controlled voltage-controlled device.

The correct conclusion should be that triode is a current control device and FET is a voltage control device.

In the process of writing this book, the author received strong support from the National Electrical and Electronic Teaching Base of Harbin Engineering University and the School of Information and Communication Engineering, including Professor Diao Ming, Professor Zhao, Professor Fu Yongqing, Professor Wang, and teachers. Some chapters in this book were written by my classmates Ye Dapeng and Li Jian. In addition, my classmates, Song, Zhong Shuang, Yu Zhennan and Guo Tianyu are also very concerned about the writing progress of this book and put forward many valuable suggestions and amendments to improve the quality of the manuscript. Here, I would like to express my heartfelt thanks to all of them.

Due to the limited level of the author, mistakes and omissions are inevitable. Technical experts and readers are welcome to correct me. The author's contact information is txmcu @ 163.com, and readers can also log on to Tian Xiang electronic website to express their opinions or contact to buy a single-chip microcomputer experimental board at.

Guo Tianxiang

Yu Harbin Engineering University

165438+20081October