Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
PIC microcontrollers (Dragan Andric).pdf
Скачиваний:
260
Добавлен:
12.08.2013
Размер:
2.52 Mб
Скачать

PIC book

 

 

Previous page

Table of contents Chapter overview

Next page

PIC microcontrollers for beginners,too!

Authors: Nebojsa Matic and Dragan Andric

Paperback

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

PIC book

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

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

PIC book

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

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

PIC book

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

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

PIC book

APPENDIX B NUMERIC SYSTEMS

Introduction

B.1 Decimal numeric system

B.2 Binary numeric system

B.3 Hexadecimal numeric system

APPENDIX C GLOSSARY

Subject :

Cooment about book PIC microcontrollers

Name :

State :

USA

E-mail :

Your message:

Submit Reset