|
Programming 8-bit PIC Microcontrollers in C: With Interactive Hardware Simulation
PIC Microcontrollers are present in almost every new electronic application that is released from garage door openers to the iPhone. With the proliferation of this product more and more engineers and engineers-to-be (students) need to understand how to design, develop, and build with them. Martin Bates, best-selling author, has provided a step-by-step
guide to programming these microcontrollers (MCUs) with the C programming language. With no previous knowledge of C necessary to read this book, it is the perfect for entry into this world for engineers who have not worked with PICs, new professionals, students, and hobbyists.As MCUs become more complex C is the most popular language due to its ability to process advanced processes and multitasking. RTOSs, that is a need to know for engineers, is also discussed as more advanced MCUs require timing and organization of programming and implementation of multitasking. The book includes lots of source code, circuit schematics, and hardware block diagrams. Microchip's PICDEM Mechatronics board is used to detail the examples throughout the book.
Contents:
Part 1 Programming PIC Microcontrollers Chapter 1: PIC 12, 16, 18 series Microcontrollers Chapter 2: Mechatronics Target Board Chapter 3: Programming Languages: Assembler, C and RTOS Chapter 4: Development Systems: MPLAB, CCS Compiler, Proteus VSM Part 2 Embedded C Programming Chapter 5: Getting Started: Output, varaibles, input, loops, decisions Chapter 6: Moving On: More loops, selection, variable types, data processing Chapter 7: Functions & Procedures: Global & local variables, parameter passing, structured programming Chapter 8: Input/Output Functions: ADC, PSP, RS232, PWM, CCP, I2C, SPI Chapter 9:Special Functions: Clock, Timers, Interrupts, Watchdog, Configuration, EEPROM Part 3 PICDEM Mechatronics Board Chapter 10: Hardware Features: PIC 16F917, LCD display, Sensors, Motors, Communications Chapter 11: Applications Part 4 Real Time Operating Systems Chapter 12: RTOS: Principles: Multitasking, Scheduling methods, Task states Chapter 13: RTOS: Basic Program:Essential features, Program execution Chapter 14: RTOS: Components: Initialisation, Scheduling, Tasks, Messages Chapter 15: RTOS: Application: Mechatronics Board Appendices Comparison of Assembler, C and RTOS applications Development Systems: MPLAB, Proteus VSM Tutorials Software Design in CCS C
|