E-Book, Englisch, Band 18, 251 Seiten
Susnea / Mitescu Microcontrollers in Practice
1. Auflage 2005
ISBN: 978-3-540-28308-9
Verlag: Springer Berlin Heidelberg
Format: PDF
Kopierschutz: 1 - PDF Watermark
E-Book, Englisch, Band 18, 251 Seiten
Reihe: Springer Series in Advanced Microelectronics
ISBN: 978-3-540-28308-9
Verlag: Springer Berlin Heidelberg
Format: PDF
Kopierschutz: 1 - PDF Watermark
Stressing common characteristics and real applications of the most used microcontrollers, this practical guide provides readers with hands-on knowledge of how to implement three families of microcontrollers (HC11, AVR, and 8051). Unlike the rest of the ocean of literature on individual chips, Microcontrollers in Practice supplies side-by-side comparisons and an overview that treats the systems as resources available for implementation. Packed with hundreds of practical examples and exercises to foster mastery of concepts and details, the guide also includes several extended projects. By treating the less expensive 8-bit and RISC microcontrollers, this information-dense manual equips students and home-experimenters with the know-how to put these devices into operation.
Autoren/Hrsg.
Weitere Infos & Material
1;Preface;7
1.1;The Aim of this Book;7
1.2;What’s in this Book;8
1.3;Who Should Read this Book;8
1.4;How to Read this Book;9
1.5;Disclaimer;9
2;Contents;10
3;1 Resources of Microcontrollers;15
3.1;1.1 In this Chapter;15
3.2;1.2 Microcontroller Architectures;15
3.3;1.3 The Memory Map;17
3.4;1.4 CPU Registers;19
3.5;1.5 The Peripheral Interfaces;22
3.6;1.6 The Interrupt System;23
3.7;1.7 Expanding the Resaurces of Microcontrollers;26
3.8;1.8 Exercises;29
4;2 Using the Digital I/O Lines;33
4.1;2.1 In this Chapter;33
4.2;2.2 Overview of the Parallel I/O System;33
4.3;2.3 Electrical Characteristics of the I/O Lines;35
4.4;2.4 Controlling the I/O Lines by Software;37
4.5;2.5 Exercises;38
5;3 Using the Asynchronous Serial Interface;40
5.1;3.1 In this Chapter;40
5.2;3.2 Synchronous vs. Asynchronous Communication;40
5.3;3.3 Error Detection in Asynchronous Communication;42
5.4;3.4 The General Structure of the Asynchronous Serial Communication Interface;43
5.5;3.5 The Serial Communication Interface of 68HC11F1;43
5.6;3.6 The Asynchronous Serial Communication Interface of AVR Microcontrollers;48
5.7;3.7 The Asynchronous Serial Interface of 8051;49
5.8;3.8 Programming the Asynchronous Serial Interface;50
5.9;3.9 Hardware Interfaces for Serial Communication;55
5.10;3.10 Basic Principles of Networking with Microcontrollers, Using the Asynchronous Serial Interface;58
5.11;3.11 Exercises;59
6;4 Using the Synchronous Serial Interface SPI;62
6.1;4.1 In this Chapter;62
6.2;4.2 General Description of the SPI;62
6.3;4.3 The SPI of HC11 Microcontrollers;63
6.4;4.4 The SPI of the AVR Microcontrollers;66
6.5;4.5 Examples of Using The SPI;68
6.6;4.6 Exercises;72
7;5 Using The I2C Bus;73
7.1;5.1 In this Chapter;73
7.2;5.2 The Principles of Implementation of the I2C Bus;73
7.3;5.3 A Software Implementation of the I2C Protocol;75
7.4;5.4 Accessing 24C256 Memory Devices;76
7.5;5.5 Exercises;78
8;6 Using the MCU Timers;79
8.1;6.1 In this Chapter;79
8.2;6.2 The General Structure and Functions of the Timer System;79
8.3;6.3 Distinctive Features of the General-Purpose Timer of HC11;81
8.4;6.4 Distinctive Feature of the Timer of the AVR Microcontrollers;87
8.5;6.5 Distinctive Features of the Timer System of the 8051 Microcontrollers;93
8.6;6.6 PWM Timers. Principles of Operation;99
8.7;6.7 Watchdog Timers;101
9;7 Interfacing to Analog Signals;104
9.1;7.1 In This Chapter;104
9.2;7.2 The Analog Comparator;104
9.3;7.3 The General Structure of the A/D Converter Subsystem;106
9.4;7.4 The A/D Converter of the HC11 Family of Microcontrollers;107
9.5;7.5 Exercises on Programming the A/D Converter of HC11;109
9.6;7.6 The A/D Converter of the AVR Microcontrollers;111
9.7;7.7 Exercises on Programming the A/D Converter AT90S8535;112
9.8;7.8 Digital-to-Analog Converters;113
10;8 Using the Internal EEPROM Memory;118
10.1;8.1 In this Chapter;118
10.2;8.2 Overwiew of the EEPROM Subsystem;118
10.3;8.3 The EEPROM Memory and the CONFIG Register of HC11;118
10.4;8.4 The EEPROM Memory of the AVR Microcontrollers;122
11;9 HC11 Development Board;125
11.1;9.1 In this Chapter;125
11.2;9.2 Description of the Hardware Module;125
11.3;9.3 Assembling and Testing the Module;127
11.4;9.4 Description of the Software Components;129
11.5;9.5 Exercises;139
12;10 AVR Development Board;141
12.1;10.1 In this Chapter;141
12.2;10.2 The Hardware;141
12.3;10.3 Testing the Circuit;144
12.4;10.4 The Software;144
12.5;10.5 Exercises;154
13;11 8051 Development Board;155
13.1;11.1 In this Chapter;155
13.2;11.2 Hardware;155
13.3;11.3 The Software;158
13.4;11.4 Exercises;164
14;12 Digital Voltmeter with RS232 Interface;166
14.1;12.1 In this Chapter;166
14.2;12.2 The Hardware;166
14.3;12.3 The Software;166
14.4;12.4 Exercises;171
15;13 Simple RS485 Network with Microcontrollers;172
15.1;13.1 In this Chapter;172
15.2;13.2 The Hardware;172
15.3;13.3 The Software;176
15.4;13.4 Exercises;181
16;14 PI Temperature Controller;182
16.1;14.1 In this Chapter;182
16.2;14.2 Basic Concepts;182
16.3;14.3 Hardware Implementation of a Microcontroller-Based Temperature Controller;186
16.4;14.4 Software Implementation of a PI Temperature Controller;188
17;15 Fuzzy Logic Temperature Controller;193
17.1;15.1 In this Chapter;193
17.2;15.2 The Principles of Fuzzy Control;193
17.3;15.3 A Microcontroller Implementation of a Fuzzy Controller;197
18;16 Remote Relay Controller over Telephone Lines;201
18.1;16.1 In this Chapter;201
18.2;16.2 Description of the Hardware Solution;201
18.3;16.3 Description of the Software;205
19;Appendices;210
19.1;A.1 Glossary of Terms;210
19.2;A.2 Description of the Registers of 68HC11F1;220
19.3;A.3 HC11 Instruction Set;222
19.4;A.4 An Example of Expanded Structure with HC11;226
19.5;A.5 Using HC11 in Bootstrap Mode;228
19.6;A.6 The Registers of AT90S8535;231
19.7;A.7 AVR Instruction Set;232
19.8;A.8 AT90S8515 Operating with External RAM;235
19.9;A.9 In-system Programming the AVR AT90S8535;236
19.10;A.10 The Special Function Registers of 8051;239
19.11;A.11 8051 Instruction Set;240
19.12;A.12 An Example of 8051 Operating with External Bus;244
19.13;A.13 Programming the Internal Memory of 8051;245
19.14;A.14 SPI Seven-Segment Display Units;247
19.15;A.15 Description of the Software Utility ASMEDIT;250
19.16;B.1 Contents of the Accompanying CD;252
19.17;B.2 Recommended Readings andWeb References;254
20;Index;255




