Book description
Written to help readers better understand the essentials of microcontroller programming, this textbook combines theory and practical examples to present concepts in a way that both students and professionals will find useful. It begins with the introduction of basic electronics, followed with coverage of microcontroller hardware and interfacing devices. It then addresses fundamental microcontroller programming techniques and advanced topics such as interfacing and programmable timer operations. Focusing on Motorola 68HC11 microcontroller, numerous flowcharts illustrate step-by-step procedures, and full-length projects provide practical problem solving approaches, with examples that portray real-life scenarios. An accompanying website provides video tutorials and additional information.
Table of contents
- Cover
- Half Title
- Title Page
- Copyright Page
- Dedication
- Table of Contents
- Preface
- Acknowledgments
- The Author
-
1. Number Systems, Operations, and Codes
- 1.1 Introduction
- 1.2 Digital versus Analog Quantities
- 1.3 Digital Numbering System (Base 10)
- 1.4 Binary Numbering System (Base 2)
- 1.5 Octal Numbering System (Base 8)
- 1.6 Hexadecimal Numbering System (Base 16)
- 1.7 Binary-Coded-Decimal System
- 1.8 Binary Conversions
- 1.9 Binary Operations
- 1.10 Octal Conversions
- 1.11 Hexadecimal Conversions
- 1.12 Hexadecimal Operations
- 1.13 1’s and 2’s Complements of Binary Numbers
- 1.14 Signed Numbers
- 1.15 The ASCII Code
- 1.16 Summary
- Glossary
- Answers to Section Review Quiz
- True/False Quiz
- Questions
- Problems
- 2. Semiconductors and Digital Logic
-
3. Microcontroller Hardware
- 3.1 Introduction
- 3.2 A Transistor as a Switch
- 3.3 The TTL Integrated Circuit
- 3.4 The CMOS Integrated Circuit
- 3.5 Using Integrated-Circuit Logic Gates
- 3.6 Seven-Segment Displays
- 3.7 Liquid-Crystal Displays
- 3.8 Keypads
- 3.9 The 68HC11/68HC12 Microcontroller
- 3.10 EVBU/BUFFALO
- 3.11 Summary
- Glossary
- Answers to Section Review Quiz
- True/False Quiz
- Questions
- Problems
- 4. Microcontroller Software
- 5. Instructions
- 6. Control Structures and Subroutines
- 7. Hello World!
- 8. Input/Output (I/O) Ports
-
9. Interrupts
- 9.1 Introduction
- 9.2 Basics of an Interrupt
- 9.3 Servicing an Interrupt
- 9.4 Interrupt Control
- 9.5 Maskable Interrupts
- 9.6 Output Compare
- 9.7 Nonmaskable Interrupts
- 9.8 Interrupts on the EVBU
- 9.9 A Project with Interrupts
- 9.10 Summary
- Glossary
- Answers to Section Review Quiz
- True/False Quiz
- Questions
- Problems
- 10. Analog Capture
- 11. Input Capture
- 12. Higher-Level Programming
- Appendix 1—Supplemental Web Site
- Appendix 2—States and Resolution for Binary Numbers
- Appendix 3—Basic Boolean Theorems and Identities
- Appendix 4—The Resistor Color Code
- Appendix 5—Waterfall Software Development Lifecycle Model
- Appendix 6—Loading Your Program into the EEPROM
- Appendix 7—Pulse-Width Modulation
- Appendix 8—HC11 Instruction Set
- Appendix 9—Comprehensive Glossary
Product information
- Title: Microcontroller Programming
- Author(s):
- Release date: April 2016
- Publisher(s): CRC Press
- ISBN: 9781000755299
You might also like
book
Practical AVR Microcontrollers: Games, Gadgets, and Home Automation with the Microcontroller Used in Arduino
If you've heard of Arduino or even used it in your own projects, you probably know …
book
Raspberry Pi Assembly Language Programming: ARM Processor Coding
Gain all the skills required to dive into the fundamentals of the Raspberry Pi hardware architecture …
book
Building Embedded Systems: Programmable Hardware
Develop the software and hardware you never think about. We're talking about the nitty-gritty behind the …
book
Microcontrollers: Architecture, Programming, Interfacing and System Design, 2nd Edition
This book prepares the students for system development using the 8051 as well as 68HC11, 80x96, …