Introduction to the DP801 Microcontroller System

Author: Che Jinxiang
Publisher:
Publish Date: 2000-01-01
Features: This book is a supplementary material for primary and secondary school students learning the DP801 microcontroller, serving as an introductory read on microcontroller programming. The book is divided into 11 chapters, covering main topics such as: what a microcontroller is, the use of the DP801 microcontroller, lighting up LEDs, running lights, playing music, turning the microcontroller into an electronic piano and game console, measuring heart rate, and automatic gate control. At least one exercise is provided at the end of each chapter, with answers included at the back. The content progresses from simple to advanced, blending knowledge with fun, making it suitable for upper elementary and middle school students. The book can also serve as a teaching reference for teachers engaged in continuous education and science and technology tutoring. The appendix compiles competition questions from primary and secondary school microcontroller contests in Beijing and Xuanwu District over the past two years.
Excerpt: The DP801 microcontroller training program enrolled nearly a thousand students, the youngest of whom were in fourth grade. Practical teaching has shown that upper elementary students can write programs to control LED running lights and traffic signal management after about 6 hours of instruction. Middle school students can design their own games and practical application projects within around 40 hours. On December 4, 1999, the first primary and secondary school microcontroller competition was held in Beijing. The competition consisted of three parts: written test, hands-on operation, and project evaluation. Students were both mentally and physically engaged, with enthusiastic participation and significant.
The DP801 microcontroller can control LEDs to light up and run, play your favorite music, detect your heart rate in one minute, control toy tanks to start and stop at will, make toy excavators work as you wish, and program robots to follow your commands. You can also program it to become a game console, control photoelectric counters for multi-way answering and sound-light reminders, and create teaching aids, among other things.
The DP801 microcontroller has many functions but only 17 instructions. To aid memorization, there is a catchy rhyme titled "DP801 Microcontroller Command Mnemonics," with the following content:
DP801 Microcontroller Command Mnemonics
Youth loves science, microcontrollers are easy to learn.
00 turns on, 01 turns off, on means connected, off means disconnected.
For delay, use 02, seconds and minutes are clear.
To play music, find 03, high and low notes, it covers all.
Say 04 to control data transfer, the digital tube is the destination.
For power saving, find 05, no display, it takes the lead.
To add numbers, find 06, if lacking, it adds enough.
To subtract numbers, find 07, no problem, take away as much as needed.
Conditional jump is 08, to handle it, come forward.
Non-conditional jump is easy, follow the above rule, 09 will do.
For repetition, find 10, specify the destination, it will follow.
Conditional count jump is 11, in doubt, it appears now.
Subroutine control is 12, it appears only when ordered.
To return from subroutine, use 13, it takes the lead.
Mode selection is 14, decide first, then start.
To end, find 15, always learn, no hardship feared.
For timing, use 16, remember all instructions, they are thorough.
In the new century, rely on programmable control, youth will surely succeed.
### II. Composition and Function of the DP801 Microcontroller
The installation diagram of the DP801 microcontroller is shown in Figure 1. The corresponding component names for each label in Figure 1 are as follows:
Label 1: Communication socket (not soldered);
Label 2: Power socket;
Label 3: Digital tube;
Label 4: North-South orientation LED;
Label 5 and Label 6: Two groups of short-circuit sockets;
Label 7: East-West orientation LED;
Label 8: Integrated circuit chip set;
Label 9: External socket;
Label 10: Speaker socket;
Label 11, Label 12, Label 13, Label 14, and Label 16: Buttons;
Label 15: 11 piano-keyboard style input contacts;
Label 17: Ground signal solder pad D.

📌 Related Posts