Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
The PIC Microcontroller Book for beginning (Nebojsa Matic).pdf
Скачиваний:
229
Добавлен:
12.08.2013
Размер:
2.46 Mб
Скачать

PIC book

Previous page

Table of contents Chapter overview

Next page

PIC microcontrollers for beginners,too!

Author: Nebojsa Matic

Paperback - 252 pages (May 15, 2000)

Dimensions (in inches): 0.62 x 9.13 x 7.28

PIC microcontrollers; low-cost computers-in-a-chip; allows electronics designers and hobbyists add intelligence and functions that mimic big computers for almost any electronic product or project.

The purpose of this book is not to make a microcontroller expert out of you, but to make you equal to those who had someone to go to for their answers.

In this book you can find:

Practical connection samples for

Relays, Optocouplers, LCD's, Keys, Digits, A to D Converters, Serial communication etc.

Introduction to microcontrollers

Learn what they are, how they work, and how they can be helpful in your work.

Assembler language programming

How to write your first program, use of macros, addressing modes....

Instruction Set

Description, sample and purpose for using each instruction........

MPLAB program package

How to install it, how to start the first program, following the program step by step in the simulator....

C o n t e n t s

CHAPTER I INTRODUCTION TO MICROCONTROLLERS

Introduction

History

Microcontrollers versus microprocessors

1.1 Memory unit

1.2 Central processing unit

1.3 Buses

1.4 Input-output unit

1.5 Serial communication

1.6 Timer unit

1.7 Watchdog

http://www.mikroelektronika.co.yu/english/product/books/PICbook/0_Uvod.htm (1 of 5) [4/2/2003 16:17:25]

PIC book

1.8 Analog to digital converter

1.9 Program

CHAPTER II MICROCONTROLLER PIC16F84

Introduction

CISC, RISC

Applications

Clock/instruction cycle

Pipelining

Pin description

2.1 Clock generator - oscillator

2.2 Reset

2.3 Central processing unit

2.4 Ports

2.5 Memory organization

2.6 Interrupts

2.7 Free timer TMR0

2.8 EEPROM Data memory

CHAPTER III INSTRUCTION SET

Introduction

Instruction set in PIC16Cxx microcontroller family Data Transfer

Arithmetic and logic Bit operations

Directing the program flow Instruction execution period Word list

CHAPTER IV ASSEMBLY LANGUAGE PROGRAMMING

Introduction

Sample of a written program

Control directives

4.1 define

4.2 include

4.3 constant

4.4 variable

4.5 set

4.6 equ

http://www.mikroelektronika.co.yu/english/product/books/PICbook/0_Uvod.htm (2 of 5) [4/2/2003 16:17:25]

PIC book

4.7 org

4.8 end

Conditional instructions

4.9 if

4.10 else

4.11 endif

4.12 while

4.13 endw

4.14 ifdef

4.15 ifndef

Data directives

4.16 cblock

4.17 endc

4.18 db

4.19 de

4.20 dt

Configurating a directive

4.21 _CONFIG

4.22 Processor

Assembler arithmetic operators

Files created as a result of program translation Macros

CHAPTER V MPLAB

Introduction

5.1 Installing the MPLAB program package

5.2 Introduction to MPLAB

5.3 Choosing the development mode

5.4 Designing a project

5.5 Designing new assembler file

5.6 Writing a program

5.7 MPSIM simulator

5.8 Toolbar

CHAPTER VI THE SAMPLES

Introduction

6.1 The microcontroller power supply

6.2 Macros used in programs

http://www.mikroelektronika.co.yu/english/product/books/PICbook/0_Uvod.htm (3 of 5) [4/2/2003 16:17:25]

PIC book

Macros WAIT, WAITX

Macro PRINT

6.3 Samples

Light Emitting Diodes

Keyboard

Optocoupler

Optocouplering the input lines

Optocouplering the output lines

Relays

Generating a sound

Shift registers

Input shift register

Output shift register

7-segment Displays (multiplexing)

LCD display

12-bit AD converter

Serial communication

APPENDIX A INSTRUCTION SET

APPENDIX B NUMERIC SYSTEMS

Introduction

B.1 Decimal numeric system

B.2 Binary numeric system

B.3 Hexadecimal numeric system

APPENDIX C GLOSSARY

http://www.mikroelektronika.co.yu/english/product/books/PICbook/0_Uvod.htm (4 of 5) [4/2/2003 16:17:25]

PIC book

Send us a comment about a book

Subject :

Cooment about book PIC microcontrollers

Name :

State :

USA

E-mail :

Your message:

Submit Reset

© C o p y r i g h t 2 0 0 1. m i k r o E l e k t r o n i k a. All Rights Reserved. For any comments contact webmaster.

http://www.mikroelektronika.co.yu/english/product/books/PICbook/0_Uvod.htm (5 of 5) [4/2/2003 16:17:25]