PIC in Practice

2nd Edition

A Project-based Approach

Authors: David W Smith
Paperback ISBN: 9780750668262
eBook ISBN: 9780080464985
Imprint: Newnes
Published Date: 16th January 2006
Page Count: 320
24.99 + applicable tax
40.95 + applicable tax
31.95 + applicable tax
40.95 + applicable tax
Unavailable
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


Description

PIC in Practice is a graded course based around the practical use of the PIC microcontroller through project work. Principles are introduced gradually, through hands-on experience, enabling students to develop their understanding at their own pace.

Dave Smith has based the book on his popular short courses on the PIC for professionals, students and teachers at Manchester Metropolitan University. The result is a graded text, formulated around practical exercises, which truly guides the reader from square one.

The book can be used at a variety of levels and the carefully graded projects make it ideal for colleges, schools and universities. Newcomers to the PIC will find it a painless introduction, whilst electronics hobbyists will enjoy the practical nature of this first course in microcontrollers.

PIC in Practice introduces applications using the popular 16F84 device as well as the 16F627, 16F877, 12C508, 12C629 and 12C675. In this new edition excellent coverage is given to the 16F818, with additional information on writing and documenting software.

Key Features

  • Gentle introduction to using PICs for electronic applications
  • Principles and programming introduced through graded projects
  • Thoroughly up-to-date with new chapters on the 16F818 and writing and documenting programs

Readership

Engineering undergraduates taking courses on microcontrollers or embedded systems. Electronic hobbyists

Table of Contents

Introduction

1. Introduction to the PIC microcontroller

The aim of the book

Program memory

Microcontroller clock

The microcontroller system

Types of microcontroller

Microcontroller specification

Using the microcontroller

1 Microcontroller hardware

2 Programming the microcontroller

2. Programming the 16F84 microcontroller

Instructions used in this chapter:

Microcontroller inputs and outputs (I/O)

Timing with the microcontroller

Programming the microcontroller

Entering data

The Header for the 16F84, HEADER84.ASM

Program example

Saving and assembling the code

PICSTART PLUS programmer

Programming flowchart

Problem: flashing two LEDs

Solution to the problem, flashing two LEDs

3. Introductory projects

LED_Flasher2

SOS

Code for SOS circuit

Flashing 8 LEDs

Chasing 8 LEDs

Traffic lights

More than 8 outputs

4. Headers, porting code – which micro

Factors affecting the choice of the microcontroller

Choosing the microcontroller

Headers

5. Using inputs

Switch flowchart

Program development

Scanning (using multiple inputs)

Switch scanning

Control application – a hot air blower

6. Understanding the headers

The 16F84

16F84 memory map

The 16F818

7. Keypad scanning

Programming example for the keypad

8. Program examples

Counting events

Look up table

7-Segment display

Numbers larger than 255

Long time intervals

One hour delay

9. The 16C54 microcontroller

Header for the 16C54

16C54 memory map

10. Alpha numeric displays

Display pin identification

Configuring the display

Writing to the display

Program example

Program operation

Display c

Details

No. of pages:
320
Language:
English
Copyright:
© Newnes 2006
Published:
Imprint:
Newnes
Paperback ISBN:
9780750668262
eBook ISBN:
9780080464985

About the Author

David W Smith

David Smith has had 30 years experience in the Electronics Industry. Before arriving at MMU he worked as an Electronics Design Engineer for ICL and Marconi. His teaching interests are focused on enabling Design and Technology students to implement microcontroller designs into their projects.

Affiliations and Expertise

Senior Lecturer, Technology Centre, Manchester Metropolitan University, UK

Reviews

PIC in Practice is a graded course based around the practical use of the PIC microcontroller through project work. Principles are introduced gradually, through hands-on experience, enabling students to develop their understanding at their own pace.

Dave Smith has based the book on his popular short courses on the PIC for professionals, students and teachers at Manchester Metropolitan University. The result is a graded text, formulated around practical exercises, which truly guides the reader from square one.

The book can be used at a variety of levels and the carefully graded projects make it ideal for colleges, schools and universities. Newcomers to the PIC will find it a painless introduction, whilst electronics hobbyists will enjoy the practical nature of this first course in microcontrollers.

PIC in Practice introduces applications using the popular 16F84 device as well as the 16F627, 16F877, 12C508, 12C629 and 12C675. In this new edition excellent coverage is given to the 16F818, with additional information on writing and documenting software.