Description

This book is ideal for the engineer, technician, hobbyist and student who have knowledge of the basic principles of PIC microcontrollers and want to develop more advanced applications using the 18F series. The architecture of the PIC 18FXXX series as well as typical oscillator, reset, memory, and input-output circuits is completely detailed. After giving an introduction to programming in C, the book describes the project development cycle in full, giving details of the process of editing, compilation, error handling, programming and the use of specific development tools. The bulk of the book gives full details of tried and tested hands-on projects, such as the 12C BUS, USB BUS, CAN BUS, SPI BUS and real-time operating systems.

Key Features

* A clear introduction to the PIC 18FXXX microcontroller's architecture * 20 projects, including developing wireless and sensor network applications, using I2C BUS, USB BUS, CAN BUS and the SPI BUS, which give the block and circuit diagram, program description in PDL, program listing and program description. * Numerous examples of using developmental tools: simulators, in-circuit debuggers (especially ICD2) and emulators * A CDROM of all the programs, hex listings, diagrams, data sheets and tables

Readership

Embedded systems engineers working in industry, technicians, electronic hobbyists, undergraduate and graduate students developing embedded systems projects.

Table of Contents

1. MICROCOMPUTER SYSTEMS
1.1 Introduction
1.2 Microcontroller Systems
1.3 Microcontroller Features
1.4 Microcontroller Architectures

1.5 Number Systems
1.6 Converting Binary Numbers into Digital
1.7 Converting Decimal Numbers into Binary
1.8 Converting Binary Numbers into Hexadecimal
1.9 Converting Hexadecimal Numbers into Binary
1.10 Converting Hexadecimal Numbers into Decimal
1.11 Converting Decimal Numbers into Hexadecimal
1.12 Converting Octal Numbers into Decimal
1.13 Converting Decimal Numbers into Octal
1.14 Converting Octal Numbers into Binary
1.15 Converting Binary Numbers into Octal
1.16 Negative Numbers
1.17 Adding Binary Numbers
1.18 Subtracting Binary Numbers
1.19 Multiplication of Binary Numbers
1.20 Division of Binary Numbers
1.21 Floating point Numbers
1.22 Converting a Floating Point Number into Decimal
1.23 BCD Numbers
1.24 Exercises

2. PIC18F MICROCONTROLLER SERIES
2.1 PIC18FXX2 Architecture
2.2 Summary
2.3 Exercises

3. C PROGRAMMING LANGUAGE
3.1 Structure of a mikroC Program
3.2 PIC Microcontroller Input-output Port Programming
3.3 Programming Examples
3.4 Summary
3.5 Exercises

4. FUNCTIONS AND LIBRARIES IN mikroC
4.1 mikroC Functions
4.2 mikroC Built-in Functions
4.3 mikroC Library Functions
4.4 Summary
4.5 Exercises

5. PIC18

Details

No. of pages:
560
Language:
English
Copyright:
© 2008
Published:
Imprint:
Newnes
Print ISBN:
9780750686112
Electronic ISBN:
9780080558424

About the editors

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

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.