
PIC Microcontroller Projects in C
Basic to Advanced
- 2nd Edition - April 8, 2014
- Imprint: Newnes
- Author: Dogan Ibrahim
- Language: English
- Paperback ISBN:9 7 8 - 0 - 0 8 - 0 9 9 9 2 4 - 1
- eBook ISBN:9 7 8 - 0 - 0 8 - 0 9 9 9 6 7 - 8
Extensively revised and updated to encompass the latest developments in the PIC 18FXXX series, this book demonstrates how to develop a range of microcontroller applications th… Read more

Purchase options

Institutional subscription on ScienceDirect
Request a sales quoteExtensively revised and updated to encompass the latest developments in the PIC 18FXXX series, this book demonstrates how to develop a range of microcontroller applications through a project-based approach. After giving an introduction to programming in C using the popular mikroC Pro for PIC and MPLAB XC8 languages, this book describes the project development cycle in full. The book walks you through fully tried and tested hands-on projects, including many new, advanced topics such as Ethernet programming, digital signal processing, and RFid technology. This book is ideal for engineers, technicians, hobbyists and students who have knowledge of the basic principles of PIC microcontrollers and want to develop more advanced applications using the PIC18F series.
This book Includes over fifty projects which are divided into three categories: Basic, Intermediate, and Advanced.
New projects in this edition:
Logic probe
Custom LCD font design
Hi/Lo game
Generating various waveforms in real-time
Ultrasonic height measurement
Frequency counter
Reaction timer
GPS projects
Closed-loop ON/OFF temperature control
Bluetooth projects (master and slave)
RFid projects
Clock using Real-time-clock (RTC) chip
RTC alarm project
Graphics LCD (GLCD) projects
Barometer+thermometer+altimeter project
Plotting temperature on GLCD
Ethernet web browser based control
Ethernet UDP based control
Digital signal processing (Low Pass Filter design)
Automotive LIN bus project
Automotive CAN bus project
Multitasking projects (using both cooperative and Round-robin scheduling)
Unipolar stepper motor projects
Bipolar stepper motor projects
Closed-loop ON/OFF DC motor control
- A clear introduction to the PIC 18FXXX microcontroller's architecture
- Covers developing wireless and sensor network applications, SD card projects, and multi-tasking; all demonstrated with the block and circuit diagram, program description in PDL, program listing, and program description
- Includes more than 50 basic, intermediate, and advanced projects
Embedded systems engineers working in industry, technicians, electronic hobbyists, undergraduate and graduate students developing embedded systems projects.
- Preface
- Acknowledgments
- Chapter 1. Microcomputer Systems
- 1.1. Introduction
- 1.2. Microcontroller Systems
- 1.3. Summary
- 1.4. Exercises
- Chapter 2. mikroC Pro for PIC Programming Language
- 2.1. Structure of a mikroC Pro for PIC Program
- 2.2. Arrays
- 2.3. Pointers
- 2.4. Structures
- 2.5. Operators in C
- 2.6. Modifying the Flow of Control
- 2.7. mikroC Pro for PIC Functions
- 2.8. mikroC Pro for PIC Library Functions
- 2.9. Summary
- 2.10. Exercises
- Chapter 3. MPLAB X IDE and MPLAB XC8 C Programming Language
- 3.1. The PICDEM PIC18 Explorer Development Board
- 3.2. MPLAB X IDE
- 3.3. MPLAB XC8 Compiler
- 3.4. Summary
- 3.5. Exercises
- Chapter 4. Microcontroller Program Development
- 4.1. Using the PDL and Flow Charts
- 4.2. Examples
- 4.3. Representing for Loops in Flow Charts
- 4.4. Summary
- 4.5. Exercises
- Chapter 5. Simple PIC18 Projects
- Project 5.1—Chasing LEDs
- Project 5.2—Complex Flashing LED
- Project 5.3—Random Flashing LEDs
- Project 5.4—Logic Probe
- Project 5.5—LED Dice
- Project 5.6—Two-Dice Project
- Project 5.7—Two-Dice Project Using Fewer I/O Pins
- Project 5.8—7-Segment LED Counter
- Project 5.9—Two-Digit Multiplexed 7-Segment LED
- Project 5.10—Four-Digit Multiplexed 7-Segment LED
- Project 5.11—LED Voltmeter
- Project 5.12—LCD Voltmeter
- Project 5.13—Generating Sound
- Project 5.14—Generating Custom LCD Fonts
- Project 5.15—Digital Thermometer
- Chapter 6. Intermediate PIC18 Projects
- Project 6.1—Four-Digit Multiplexed Seven-Segment Light Emitting Diode Event Counter Using an External Interrupt
- Project 6.2—Calculator with a Keypad and Liquid Crystal Display
- Project 6.3—The High/Low Game
- Project 6.4—Generating Waveforms
- Project 6.5—Ultrasonic Human Height Measurement
- Project 6.6—Minielectronic Organ
- Project 6.7—Frequency Counter with an LCD Display
- Project 6.8—Reaction Timer
- Project 6.9—Temperature and Relative Humidity Measurement
- Project 6.10—Thermometer with an RS232 Serial Output
- Project 6.11—Microcontroller and a PC-Based Calculator
- Project 6.12—GPS with an LCD Output
- Project 6.13—ON–OFF Temperature Control
- Chapter 7. Advanced PIC18 Projects
- Project 7.1—Bluetooth Serial Communication—Slave Mode
- Project 7.2—Bluetooth Serial Communication—Master Mode
- Project 7.3—Using the RFID
- Project 7.4—RFID Lock
- Project 7.5—Complex SPI Bus Project
- Project 7.6—Real-Time Clock Using an RTC Chip
- Project 7.7—Real-Time Alarm Clock
- Project 7.8—SD Card Projects—Write Text To a File
- Project 7.9—SD Card-Based Temperature Data Logger
- Project 7.10—Using Graphics LCD—Displaying Various Shapes
- Project 7.11—Barometer, Thermometer and Altimeter Display on a GLCD
- Project 7.12—Plotting the Temperature Variation on the GLCD
- Project 7.13—Using the Ethernet—Web Browser-Based Control
- Project 7.14—Using the Ethernet—UDP-Based Control
- Project 7.15—Digital Signal Processing—Low Pass FIR Digital Filter Project
- Project 7.16—Automotive Project—Local Interconnect Network Bus Project
- Project 7.17—Automotive Project—Can Bus Project
- Project 7.18 Multitasking
- Project 1—Using Cooperative Multitasking
- Project 2—Using Round-Robin Multitasking With Variable CPU Time Allocation
- Project 7.19—Stepper Motor Control Projects—Simple Unipolar Motor Drive
- Project 7.20—Stepper Motor Control Projects—Complex Control Of A Unipolar Motor
- Project 7.21—Stepper Motor Control Project—Simple Bipolar Motor Drive
- Project 7.22—DC Motor Control Projects—Simple Motor Drive
- Project 7.23—A Homemade Optical Encoder For Motor Speed Measurement
- Project 7.24—Closed-Loop DC Motor Speed Control—On/Off Control
- Index
- Edition: 2
- Published: April 8, 2014
- Imprint: Newnes
- No. of pages: 660
- Language: English
- Paperback ISBN: 9780080999241
- eBook ISBN: 9780080999678
DI