Preface
8051 Thorough Study
Chapter 1: Getting Started with 8051 for Beginners
1.1 How to Step Into the Ranks of 8051 Designers
1.2 Preparation for Beginners
1.3 Where to Find the 8051 Assembler Programs
1.4 Careful Selection of the Power Supplies and the Computer
1.5 Extra Aids - Oscilloscopes
1.6 Various Signals During A/D Conversion Experiments
Chapter 2 Recognition and Use of Microcontroller-Related Instrumentation
What You Might Not Know
2.1 Recognition and Use of a Digital Meter
2.2 Recognition and Use of Oscilloscopes
2.3 Use of the ATMELAT89CXX Burner
2.4 Use of the EPROM Burner
2.5 Recognition of Logic Analyzers
2.6 Examples of Logic Analyzer Usage
2.7 Relevant Information and Common Sense You Must Know
Chapter 3 Chapter 3 Trying to Write Two 8051 Example Programs
3.1 Writing Assembly Language = Methodical Thinking Skills
3.2 First Make Sure the Board is Working
3.3 Getting the Board Moving
3.4 The Importance of Timed Interrupt Programs
Chapter 4 Microcontroller Real-World Applications
4.1 Electronic Timing Controller
4.2 Electronic Speedometer
4.3 Self-service Water Filler
Chapter 5 Hardware and Software Error Removal
5.1 Case 1: Going Out of Town to Remove Errors and Repair
5.2 Case 2: Can't Do Anything Without ICE
5.3 Case 3: The More I Sell, the More I Get in Trouble
5.4 Case 4: RESET key can't just be added
5.5 Error Removal Method 1: LED Interface
5.6 Error Removal Method 2: Logic Pen Matching Method
5.7 Error Removal Method 3: Logging Along the Way
5.8 Error Removal Method 4: Making Good Use of Serial Port Communication
5.7 Error Removal Method 5: Logging Out of the Way
5.9 Our Hardware Debugging Experience
Chapter 6 Differences Between the 8052 and the 8051
6.1 Differences in Pin Functionality
6.2 Differences in Program Memory
6.3 A Thorough Examination of the 8052's Timer
6.4 An Analysis of the Timer2's Capture Mode
6.5 The Timer2's Autoregulation Method
6.5 Analysis of Timer2's Autoreload Mode
6.6 Analysis of Timer2's BaudRateGenerator Mode
6.7 New Clock-out Function of the AT89C52
6.88 KB of Space If It's Not Enough
Chapter 7 A Thorough Study of Timing in the 8051
7.1 Tools for Timing Analysis
7.2 Keywords about CPU Timing
7.3 Timing of Reading 8051 Program Code
7.4 Relationship Between Instruction Length and Machine Cycle
7.5 Timing and Status Observation of MOVX Instruction
7.6 Waveforms for Dallas80C320
7.6 Waveform Observation of Dallas80C320
FLAG51 Extensions
Chapter 8 FLAG51 Development Process
8.1 System Development Process of FLAG51
8.2 Conceptualizing, Designing, Laying Out, and Integrating FLAG51
8.3 Arranging the Test Process
8.4 Testing in C as well
8.5 Power supply used by FLAG51
8.6 Troubleshooting case of FLAG51 control board
8.7 FAQ of FLAG51
8.8 Analysis of monitoring program of FLAG51
Chapter 9 Design Planning of Simple Counter
9.1 Basic Functions of Counters
9.2 Application Examples of Timers
9.3 Functional Planning Before Counter Design
9.4 Incorporation of Pre-Divider
9.5 Initial Tests of the I/O Monitor Board
9.6 Program Tests of the I/O Monitor Board
9.7 Fabrication of a Simple Counter
9.88051 Assembly Language Trivia Kit
Chapter 10 8051 Microcontroller Expertise: Counting and Timing
10.1 Observation of DIPSW Status and Use of Photocell Switch
10.2 Calculating the Time of an Object's Approach - Basic Writeup
10.3 Calculating the Time of Object Approach - Timed Interrupt Writeup
10.4 Measurement of Object Velocity
Chapter 11 FLAG51 Microcontroller Q&A
Questions and Answers
Chapter 12 Development of the I/O Input/Output Board
12.1 Line Descriptions for the Isolation Input Board
12.2 Line Descriptions for the RELAY Output Board
12.3 Operational Verification of the Input/Output Board
Chapter 13 8051 Application Example of FLAG-DISP
13.1 AT89C51 Application Example: Line Descriptions for FLAG-DlSP
13.2 AT89C51 Application Example: FLAG-DISP Software Description
13.3 Display Format Definition of FLAG-DlSP
13.4 Learning Directions for FLAG-DISP
13.5 FLAG-DISP.ASM Raw Program
Chapter 14 FLAG-DISP Display Board Application and DIY
14.1 Description of FLAG-DISP Display Format
14.2 DlY Steps for FLAG-DlSP Display Boards
14.3 Test Steps for FLAG-DISP Display Boards
14.4 Considerations in Burning and Using the AT89C51
Chapter 15 Innovative Applications of FLAG-DISP
15.1 Reuse of Seven-Segment Displays
15.2 Valuable Lessons in Digital Display Programming
Temperature and Humidity Meter Making Applications
Chapter 16 Making a Digital Thermometer with the AT89C2051
16.1 Temperature Measurement Everywhere
16.2 DutyCycIe Measurement
16.3 Temperature Display
16.4 Inclusion of On-Line Functions
16.5 TEMPONLY.ASM Program Description
Chapter 17 Making a Humidity Display Meter with the AT89C2051
17.1 Definition of Humidity and Common Hygrometers
17.2 Description of original wiring
17.3 New design of hygrometer stripped down
17.4 Design of humidity measurement program
17.5 Development of temperature and humidity system program
17.6 Assembling and temperature and humidity calibration
17.7 Description of humidity measurement program
Chapter 18 Production of Intelligent Temperature and Humidity Meter TH2030
18.1 Analysis of TH2030 Temperature and Humidity Meter Circuit
18.2 Steps of DIY Production of TH2030
18.3 Self-testing Method of TH2030 Temperature and Humidity Meter
18.4 Introduction of Program of TH2030 Intelligent Temperature and Humidity Meter
18.5 Description of Temperature and Humidity Control Programs
Chapter 19 Applications of Temperature and Humidity Sensors
19.1 Answers to Questions about Temperature and Humidity Controllers
19.2 Applications of Temperature and Humidity Meters
19.3 Introductory Application of Temperature and Humidity Meters - Making Thermostat Boxes
19.4 Example of an RS485 application of a thermohygrometer
Chapter 20 Making a Temperature Monitor for a Personal Computer
20.1 A Gradually Appreciated Problem: CPU Warming
20.2 Tools for Temperature Measurement
20.3 Corrections to Hardware Circuitry
20.4 Corrections to Software Programs
20.5 Temperature Controller's Temperature Reading Core Program
20.6 Spring for Hardware and Software Engineers
RS485 Serial Communication Thoroughly Studied Chapter
Chapter 21 RS485 Communication Interface Thoroughly Studied (I)
21.1 Comparison Between RS485 and RS232C
21.2 Recognizing the RS485 Interface
21.3 Description of RS485 Interface ICs
21.4 Analysis of RS485 Networks
21.5 RS485 Communication Protocols
21.6 Tools for Learning RS485 Communication: AT89C2051 Trainer
Chapter 22 RS485 Communication Interface Thorough Study (II)
22.1 Write-up of RS485 Communication on the MASTER Side
22.2 Write-up of RS485 Communication on the SLAVE Side
22.3 Response Programs on the SLAVE Side
22.4 Observation and Analysis of the RS485 Signal
Chapter 23 RS485 Communication Interface Thorough Research (III)
23.1 Intelligent Thermometer
23.2 Generation of VisualBasic Control Program
23.3 Questions and Answers for Temperature Measurement Experiment
Appendices
Appendix A ASCII Table
Appendix B8051 Instruction Set General Organization
Appendix C8051 Instruction Organization (by Function)
Appendix D8051 Instruction Organization (by Hex)
Appendix E8051SFR Table with Initial Values after RESET
Appendix FSFR Special Function Register Organization Table
Appendix GDIS51 Advanced Applications
Appendix H A Photo A Story