Designing Embedded Systems with 32-Bit PIC Microcontrollers and MikroC - 1st Edition - ISBN: 9780080977867, 9780080981994

Designing Embedded Systems with 32-Bit PIC Microcontrollers and MikroC

1st Edition

Authors: Dogan Ibrahim
Paperback ISBN: 9780080977867
eBook ISBN: 9780080981994
Imprint: Newnes
Published Date: 26th September 2013
Page Count: 480
Tax/VAT will be calculated at check-out
Compatible Not compatible
VitalSource PC, Mac, iPhone & iPad Amazon Kindle eReader
ePub & PDF Apple & PC desktop. Mobile devices (Apple & Android) Amazon Kindle eReader
Mobi Amazon Kindle eReader Anything else

Institutional Access


The new generation of 32-bit PIC microcontrollers can be used to solve the increasingly complex embedded system design challenges faced by engineers today. This book teaches the basics of 32-bit C programming, including an introduction to the PIC 32-bit C compiler. It includes a full description of the architecture of 32-bit PICs and their applications, along with coverage of the relevant development and debugging tools. Through a series of fully realized example projects, Dogan Ibrahim demonstrates how engineers can harness the power of this new technology to optimize their embedded designs.

With this book you will learn:

  • The advantages of 32-bit PICs
  • The basics of 32-bit PIC programming
  • The detail of the architecture of 32-bit PICs
  • How to interpret the Microchip data sheets and draw out their key points
  • How to use the built-in peripheral interface devices, including SD cards, CAN and USB interfacing
  • How to use 32-bit debugging tools such as the ICD3 in-circuit debugger, mikroCD in-circuit debugger, and Real Ice emulator

Key Features

  • Helps engineers to get up and running quickly with full coverage of architecture, programming and development tools
  • Logical, application-oriented structure, progressing through a project development cycle from basic operation to real-world applications
  • Includes practical working examples with block diagrams, circuit diagrams, flowcharts, full software listings an in-depth description of each operation


Professional electronics engineers, embedded designers and programmers; students taking a course using the 32-bit PIC

Table of Contents



Chapter 1. Microcomputer Systems


1.1 Introduction

1.2 Microcontroller Systems

1.3 Microcontroller Features

1.4 Microcontroller Architectures

1.5 8, 16, or 32 Bits?

1.6 Number Systems

1.7 Converting Binary Numbers into Decimal

1.8 Converting Decimal Numbers into Binary

1.9 Converting Binary Numbers into Hexadecimal

1.10 Converting Hexadecimal Numbers into Binary

1.11 Converting Hexadecimal Numbers into Decimal

1.12 Converting Decimal Numbers into Hexadecimal

1.13 Converting Octal Numbers into Decimal

1.14 Converting Decimal Numbers into Octal

1.15 Converting Octal Numbers into Binary

1.16 Converting Binary Numbers into Octal

1.17 Negative Numbers

1.18 Adding Binary Numbers

1.19 Subtracting Binary Numbers

1.20 Multiplication of Binary Numbers

1.21 Division of Binary Numbers

1.22 Floating Point Numbers

1.23 Converting a Floating Point Number into Decimal

1.24 Binary Coded Decimal Numbers

1.25 The American Standard Code for Information Interchange Table

1.26 Summary

1.27 Exercises

Chapter 2. PIC32 Microcontroller Series


2.1 The PIC32MX360F512L Architecture

2.2 Summary

2.3 Exercises

Chapter 3. C Programming for 32-Bit PIC Microcontrollers


3.1 Structure of a Simple mikroC Pro for PIC32 Program

3.2 Functions

3.3 PIC32 Microcontroller Specific Features

3.4 Summary

3.5 Exercises

Chapter 4. mikroC Pro for PIC32 Built-in Library Functions


4.1 ADC Library

4.2 LCD Library

4.3 Software UART Library

4.4 Hardware UART Library

4.5 Sound Library

4.6 ANSI C Library

4.7 Miscellaneous Library

4.8 Summary

4.9 Exercises

Chapter 5. PIC32 Microcontroller Development Tools


5.1 Software Development Tools

5.2 Hardware Development Tools

5.3 mikroC Pro for PIC32 IDE

5.4 Summary

5.5 Exercises

Chapter 6. Microcontroller Program Development


6.1 Using the Program Description Language and Flowcharts

6.2 Examples

6.3 Representing for Loops in Flowcharts

6.4 Summary

6.5 Exercises

Chapter 7. Simple PIC32 Microcontroller Projects


7.1 Project 7.1—LED DICE

7.2 Project 7.2—Liquid-Crystal Display Event Counting

7.3 Project 7.3—Creating a Custom LCD Character

7.4 Project 7.4—LCD Progress Bar

7.5 Project 7.5—Shifting Text on LCD

7.6 Project 7.6—External Interrupt-Based Event Counting Using LCD

7.7 Project 7.7—Switch Contact Debouncing

7.8 Project 7.8—Timer Interrupt-Based Counting

7.9 Project 7.9—Temperature Measurement and Display on LCD

7.10 Project 7.10—Playing a Melody

7.11 Project 7.11—Playing a Melody Using Push-Button Switches

7.12 Project 7.12—Generating Sine Wave Using D/A Converter

7.13 Project 7.13—Communicating with a PC Using the RS232 PORT

7.14 Project 7.14—Scrolling LCD Display

Chapter 8. Advanced PIC32 Projects


8.1 Project 8.1—Generating High-Frequency Sine Waveform

8.2 Project 8.2—Generating Pulse-Width Modulation Waveform

8.3 Project 8.3—Changing the Brightness of an LED

8.4 Project 8.4—Using a Thin Film Transistor Display

8.5 Project 8.5—Plotting a Graph on the TFT Display

8.6 Project 8.6—Using Secure Digital Cards

8.7 Project 8.7—Storing Temperature Readings in a File on the SD Card

8.8 Project 8.8—Designing a Finite Impulse Response Filter

8.9 Project 8.9—Calculating Timing in Digital Signal Processing

Appendix. MPLAB and PIC32 Compiler

PIC32 Starter Kit Development Board

PIC32 Starter Kit Project

Using the MPLAB PIC32 Compiler



No. of pages:
© Newnes 2014
eBook ISBN:
Paperback ISBN:

About the Author

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.

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