This book is designed for a first course in microprocessors or it may be used as a reference for practicing engineers. The book is unique in presenting a balanced, integrated topic coverage of assembly language programming, microcontroller programming via the C language, and hardware interfacing. Programming topics are discussed using both assembly language and C, while hardware interfacing examples use C to keep code complexity low and improve clarity. A goal of this book is to prepare students for advanced courses in embedded systems or computer architecture. As such, the topic coverage is wide, with a mixture of software and hardware topics. The assembly language programming topics emphasize the linkage between C language constructs and their assembly language equivalents, so that students clearly understand the impact of C coding choices in terms of execution time and memory requirements. Hardware interface topics included in the textbook cover the fundamentals (parallel, serial, interrupts, A/D, D/A) using devices that do not require an extensive circuits background.
Laboratory Projects
These provide an extensive off-the-shelf lab experience (13 experiments) for using the PIC18: one experiment on introductory computer architecture topics, four experiments on PIC18 assembly language, and eight hardware experiments. The hardware experiments require the read to breadboard a PIC18F242 system that includes a serial EEPROM, external 8-bit Digital-to-Analog converter, and RS232 interface, and an infrared receiver module. The hardware labs cover all major subsystems on the PIC18: A/D, timers, asynchronous serial interface, and the 12C interface. All hardware labs are programmed in C, using the HI-TECH PICC18 compiler. A supplemental website has book C code examples that have been modified to be compatible with both the Microchip MCC18 and HI-TECH PICC18 compilers, as well as lecture notes and sample quizzes.
Key Features
- Covers assembly language programming, C programming, and hardware interfacing using the PIC18F242
- Assembly language topics emphasize the assembly language to C linkage
- External devices used in interfacing examples include an LCD, rotary encoder, numeric keypad, serial EEPROM, digital-to-analog converter, digital potentiometer, DC motors, infrared receiver, and temperature sensor
- Capstone experiments include an audio digital recorder, a home monitoring system, and an autonomous robot
- A supplemental Web site contains 600+ slides in Microsoft PowerPoint format and numerous sample quizzes and tests
On the CD!
Software
Hi-Tech Picc-18 C Compiler - Version 8.35 PL2; Hi-Tech Software
A self-installing Hi-Tech PICC-18 C Compiler; Special 120-day Demo for the PIC18F24
Colt Serial Bootloader, V 0.5; Martin Dubuc
A serial bootloader for the PICmicro family that includes a PC client written in Visual C++ and PICmicro firmware
Jolt Serial Bootloader, V 1.1; Martin Dubuc
A Serial bootloader for the PICmicro family that includes a PC client written in Java and PICmicro firmware
Source Code
Includes assembly language and C code source files from book examples and lab exercises separated by chapters
Figures
Includes all of the figures separated by chapter
System Requirements:
Minimum Requirements: Any personal computer capable of running Windows 2000/XP can run the software included on thei CD-ROM; Pentium or Pentium-compatible processor; 300MHz processor; 128MB of RAM; 1.5GB of hard disk space, Super VGA (800 x 600 resolution) video adaptor; CD-ROM drive; keyboard and pointing device. The third party software contained on the CD-ROM runs on a variety of platforms and operating systems. Please consult the Appendix for more details, and especially Web site information for specific requirements, updates, etc.