Book description
PIC Projects and Applications Using C details how to program the PIC microcontroller in the C language. The book takes a learn-by-doing approach, with applications covering topics such as inputs, outputs, keypads, alphanumeric displays, analogue-to-digital conversion, radio transmitters and receivers, data EEPROM, interrupts and timing. To aid debugging, the book provides a section detailing the use of the simulator and in-circuit debugger.
With this book you will learn:
- How to program the PIC microcontroller in C
- Techniques for using the simulator and debuggers to find faults on your code
- The ins and outs of interfacing circuits, such as radio modules and liquid crystal displays
- How to use the PIC on-board functions, such as interrupts and timing modules, and make analogue measurements
- Relevant parts of the language are introduced and explained when required for those new to the subject
- Core principles are introduced gradually for self-paced learning
- Explains how and why a software program works, and how to alter and expand the code
Table of contents
- Cover image
- Title page
- Table of Contents
- Copyright
- Preface
- Chapter 1. Introduction to the Microcontroller and C
- Chapter 2. First C Program
- Chapter 3. Using Eight Outputs
- Chapter 4. Inputs
- Chapter 5. Keypad Scanning
-
Chapter 6. Analogue to Digital Conversion
- Configuring the A/D Device
- ADCON0 A–D Control Register 0
- ADCON1 A–D Control Register 1
- ADCON2 A–D Control Register 2
- ADRESH and ADRESL: A/D Result Registers High and Low Byte
- The Thermistor
- Making an A/D Reading with the Thermistor
- The LM335 Temperature Sensing IC
- Operation of the LM335
- A/D Application
- Question
- Using Several A–D Inputs
- Solar Panel Heating System
- Microcontrollers with More A/D Inputs
- The PIC18(L)F43K22 28A/D Inputs
- Chapter 7. Alpha Numeric Display
- Chapter 8. Porting Code to Other Microcontrollers
- Chapter 9. Timer/Counter Modules
- Chapter 10. Interrupts
- Chapter 11. Fault Finding, Using the Simulator, and the In-Circuit Debugger
- Chapter 12. Radio Transmitters and Receivers
- Chapter 13. EEPROM Data Memory
- Chapter 14. Projects
- Chapter 15. C Extra
- Appendix A. Data Sheets
- Appendix B. Useful Contacts
- Index
Product information
- Title: PIC Projects and Applications using C
- Author(s):
- Release date: December 2012
- Publisher(s): Newnes
- ISBN: 9780080999548
You might also like
book
Test and Measurement: Know It All
The Newnes Know It All Series takes the best of what our authors have written to …
book
Programming 8-bit PIC Microcontrollers in C
Microcontrollers are present in many new and existing electronic products, and the PIC microcontroller is a …
book
The Circuit Designer's Companion, 4th Edition
The fourth edition of this classic work on circuit design gives you the understanding and practical …
book
Handbook of Serial Communications Interfaces
This book catalogs the most popular and commonly used serial-port interfaces and provides details on the …