COVID-19 Update: We are currently shipping orders daily. However, due to transit disruptions in some geographies, deliveries may be delayed. To provide all customers with timely access to content, we are offering 50% off Science and Technology Print & eBook bundle options. Terms & conditions.
PIC Microcontroller Projects in C - 2nd Edition - ISBN: 9780080999241, 9780080999678

PIC Microcontroller Projects in C

2nd Edition

Basic to Advanced

Author: Dogan Ibrahim
eBook ISBN: 9780080999678
Paperback ISBN: 9780080999241
Imprint: Newnes
Published Date: 8th April 2014
Page Count: 660
Sales tax will be calculated at check-out Price includes VAT/GST
Price includes VAT/GST

Institutional Subscription

Secure Checkout

Personal information is secured with SSL technology.

Free Shipping

Free global shipping
No minimum order.


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 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

    Key Features

    • 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.

    Table of Contents

    • 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


    No. of pages:
    © Newnes 2014
    8th April 2014
    eBook ISBN:
    Paperback ISBN:

    About the Author

    Dogan Ibrahim

    Dogan Ibrahim

    Prof Dogan Ibrahim graduated from the University of Salford with First Class Honours in Electronic Engineering. He then completed an MSc course in Automatic Control Engineering at the University of Manchester, and PhD in Digital Signal Processing at the City University in London. Prof Ibrahim worked at several companies before returning to the academic life. He is currently a lecturer at the Department of Computer Information Systems at the Near East University. Prof Ibrahim is a Fellow of the IET, and a Chartered Electrical Engineer. His interests are in the fields of microcontroller based automatic control, digital signal processing, and computer aided design.Dogan Ibrahim has been Associate Professor and Head of Department at the Near East University, Cyprus, lecturer at South Bank University, London, Principal Research Engineer at GEC Hirst Research Centre, and is now a hardware and software systems consultant to London's Traffic Control Systems Unit.

    Affiliations and Expertise

    Traffic Control Systems Unit, South Bank University, UK, and lecturer at the Department of Computer Information Systems, Near East University, Lefkosa, Cyprus

    Ratings and Reviews