ABSTRACT

From cell phones and television remote controls to automobile engines and spacecraft, microcontrollers are everywhere. Programming these prolific devices is a much more involved and integrated task than it is for general-purpose microprocessors; microcontroller programmers must be fluent in application development, systems programming, and I/O operation as well as memory management and system timing.

Using the popular and pervasive mid-range 8-bit Microchip PIC® as an archetype, Microcontroller Programming offers a self-contained presentation of the multidisciplinary tools needed to design and implement modern embedded systems and microcontrollers. The authors begin with basic electronics, number systems, and data concepts followed by digital logic, arithmetic, conversions, circuits, and circuit components to build a firm background in the computer science and electronics fundamentals involved in programming microcontrollers.

For the remainder of the book, they focus on PIC architecture and programming tools and work systematically through programming various functions, modules, and devices. Helpful appendices supply the full mid-range PIC instruction set as well as additional programming solutions, a guide to resistor color codes, and a concise method for building custom circuit boards.

Providing just the right mix of theory and practical guidance, Microcontroller Programming: The Microchip PIC® is the ideal tool for any amateur or professional designing and implementing stand-alone systems for a wide variety of applications.

chapter 1|18 pages

Basic Electronics

chapter 2|13 pages

Number Systems

chapter 3|21 pages

Data Types and Data Storage

chapter 4|22 pages

Digital Logic, Arithmetic, and Conversions

chapter 5|18 pages

Circuits and Logic Gates

chapter 6|33 pages

Circuit Components

chapter 7|12 pages

The Microchip PIC

chapter 8|21 pages

Mid-range PIC Architecture

chapter 9|25 pages

PIC Programming: Tools and Techniques

chapter 10|22 pages

Programming Essentials: Input and Output

chapter 11|30 pages

Interrupts

chapter 12|33 pages

Timers and Counters

chapter 13|64 pages

LCD Interfacing and Programming

chapter 14|119 pages

Communications

chapter 15|83 pages

Data EEPROM Programming

chapter 16|70 pages

Analog to Digital and Realtime Clocks