PIC microcontrollers, for beginners too

PIC microcontrollers, for beginners too

Reading time: <1 minut

Author: Nebojsa Matic
Year of publication: 2014

What does the paper present?

The present material presents PIC16F84 microcontroller applications. It also contains instructions on installing and using the MPLAB software package.

The structure of the book

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
1.8 Analog to digital converter
1.9 Programs

CHAPTER II - MICROCONTROLLER PIC16F84

  • Introduction
  • CISC. RISK
  • Applications
  • Clock / instruction cycle Pipelininq
  • 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 TMRO free timer
2.8 EEPROM Data memory

CHAPTER III - ASSEMBLY LANGUAGE PROGRAMMING

3.1 Representing numbers in assembler
3.2 Assembly language elements
3.3 Writing a sample program
3.4 Control of directives
3.5 Files created as a result of program translation

CHAPTER IV - MPLAB

4.1 Installing the MPLAB program package
4.2 Welcome to MPLAB
4.3 Designing a project
4.4 Creating a new Assembler file
4.5 Writing a program
4.6 Toolbar icons
4.7 MPSIM simulator

CHAPTER V - MACROS AND SUBPROGRAMS

5.1 Macros
5.2 Subprograms
5.3 Macros used in the examples

CHAPTER VI - EXAMPLES FOR SUBSYSTEMS WITHIN MICROCONTROLLER

6.1 Writing to and reading from EEPROM
6.2 Processing interrupted caused by changes on pins RB4-RB7
6.3 Processing interrupt caused by change on RBO pin
6.4 Processing interrupt caused by overflow on TMRO timer
6.5 Processing interrupted caused by overflow on TMRO connected to external input (TOCKI)

CHAPTER VII - EXAMPLES

7.1 The microcontroller power supply
7.2 LEDs
7.3 Push buttons
7.4 Optocouplers
7.4.1 Optocoupler on input line
7.4.2 Optocoupler on output line
7.5 Relay
7.6 Generating sound
7.7 Shift registers
7.7.1 Input shift register
7.7.2 Output shift register
7.8.7 Display segment (multiplexing)
7.9 LCD display
7.10 SCI communication software

Bibliography:

https://groups.csail.mit.edu/

A comment

Add a comment

Your email address will not be published. Required fields are marked with *

The maximum upload file size: 2 MB. you can upload: image, audio, video, document, spreadsheet, Interactive, text, archive, queues, Other. Links to YouTube, Facebook, Twitter and other services inserted in the comment text will be automatically embedded. Drop files here