Easy Microcontrol'n

10100

This Product Has Been Discontinued, This Page Is For Reference Only.

29.95 USD
Qty
Price
1
$29.95 ea.
2+
$26.95 ea.
25+
$22.46 ea.

Easy Microcontrol'n is a great beginners books for PICmicro users.


Description [Hide]

Version 4.1 is now updated to support MPLAB v7.

"Easy Microcontrol'n is intended to ease the beginner toward understanding of the PIC16/17 line of microcontrollers. Examples of assembly language programs range from simple (turn on LED's) to more complex (timing and for event-counting).Writing programs is covered in-depth and the use of flow charts, as an aid to visualizing what a program does, is emphasized.

The approach is hands-on with many examples, all of which may be demonstrated using a very simple demo board described in the book.

Author: David Benson
Format: 8-1/2" x 11", Softcover

 

Table of Contents

 

INTRODUCTION

PIC16/17 PRODUCT OVERVIEW

PIC16F84

  • Pins and Functions
  • Package
  • Clock Oscillator
  • Configuration bits
  • Reset
  • Ports
  • Special Features
    • Watchdog Timer
    • Power-up Timer
    • Sleep Mode
  • PIC Architecture
    • Program Memory
    • Weird Hex Notation
    • File Registers
    • Working Register (W)
    • Option Register
    • Stack
    • Reset Vector
    • Interrupt Vector
    • Option Register
    • Program Counter
    • Status Register
    • Configuration bits

 

CIRCUIT FOR EXPERIMENTS

  • Circuits for Experimenting with the PIC16F84
  • Circuit Modules for Experiments - 18P Board (a.k.a '84 on a Board)

CHOOSING DEVELOPMENT TOOLS

  • MPLAB
  • Choosing a Device Programmer
    • PicStart Plus
    • 3rd Party Programmer

USING AN ASSEMBLER

  • Source Code for the Assembler
    • Semicolon (;)
    • Tabs
  • Style
  • Headers
  • Labels
  • Equates
  • Literals
  • Origin
  • End
  • Program Format
  • Files Used by Assembler
  • Files Created by Assembler
  • Preventing Some "Gotchas"
  • Configuration Bits

MPLAB OVERVIEW - GETTING STARTED

  • Using MPLAB - Getting Started
    • Toolbars
    • Select Development Mode and Device Type
    • Project
    • Text Editor
    • Edit Project
    • Assembler
  • More MPLAB Operations

PROGRAMMING A DEVICE

WRITING PROGRAMS

  • Programming Concepts
  • Instruction Set
  • Wierd Move Instruction
  • Instruction Format for the Assembler
    • Byte-oriented Instructions
    • Bit-oriented Instructions
    • Literal Instructions
    • Control Instructions (CALL and GOTO)
    • Destination Designator (d)
  • Hexadecimal Numbers vs. MPASM Assembler
  • Binary and Decimal Numbers vs. MPASM Assembler
  • ASCII Characters vs. MPASM Assembler
    • Addressing Modes
    • Immediate Addressing
    • Direct Addressing
    • Indirect Addressing
    • Relative Addressing
    • Use of the RETLW Instruction for Accessing Tables of Data Via Relative Addressing Using the Ports
    • Data Direction
    • Port Read/Write
  • Flags
  • Simple Data Transfers
  • Loop - Endless
  • Loop with a Counter
  • Loop Until
  • Comparisons
  • Bit Manipulation Using Bit Manipulation Instructions
  • Bit Manipulation Using Logic Instructions
  • Using Bit Manipulation
  • Sequencing
  • Subroutines
  • Time Delay Loop Lookup Tables
  • Programming Style

INTERRUPTS

  • Interrupt Control Register
  • Interrupt Sources
    • External
    • Timer/Counter
    • Port B Interrupt on Change
    • Bits 7,6,5,4
  • Global Interrupt Enable
  • Flag Saving Status During an Interrupt (Context Saving)
  • Where to Put the Interrupt Service Routine
  • Interrupt Latency
  • Multiple Interrupt Sources
  • Example - External Interrupt

TIMING AND COUNTING

  • Digital Output Waveforms
  • Timing and Counting Using the PIC16F84's TMR0 On-Board Timer/Counter
    • Prescaler
    • Changing Prescaler Assignment
    • Using the Timer/Counter
  • Timer/Counter Experiments
    • Digital Output using TMR0 -Internal Clock
    • Single Time Interval -Internal Clock
    • Single Time Interval -External Clock
    • Free Running Mode -Internal Clock
    • Free Running Mode - External Clock
    • Counting Events (Pulses)

FILE REGISTER BANK SWITCHING

  • File Register Bank Switching
  • Bank Switching Demo
  • Interrupts and Bank Switching

PROGRAM MEMORY PAGING

  • 14-Bit Core Mid-Range Parts
  • Interrupts And Program Memory Paging
  • Summary

LOCATING TABLES IN PROGRAM MEMORY

INCLUDE FILES

PIC16F84 DATA EEPROM MEMORY EEADR Register

  • EEDATA Register
  • EECON1 Register
  • EECON2 "Register"
  • Read Cycle
  • Write Cycle
  • Programming the Data EEPROM
  • Code Protection

MORE ABOUT CONFIGURATION BITS

I/O CONVERSION

  • Input Conversion
  • Output Conversion

MULTIPLEXED 7-SEGMENT LED DISPLAY

MORE PIC MICROCONTROLLER BOOKS

APPENDICES

Appendix A - Sources
Appendix B - Hexadecimal Numbers
Appendix C - Program Listings vs. Page Number

You Might Also Like [Hide]

10172

Making PIC-based Lab Instruments & Controllers

Making PIC-based Laboratory Instruments and Controllers by Harprit Singh Sandhu is hands on tutorial and resource book that teaches you how to build your own interfaces.

$49.89 USD

11350

Getting Started in Electronics

Simply, the best introductory book into electronics you can buy. Inexpensive, detailed, and easy-to read. Get it! Get it now, now, now!

$19.95 USD

PARD

Practical Arduino Book

Create your own Arduino-based designs, gain in-depth knowledge of the architecture of Arduino, and learn the user-friendly Arduino language all in the context of practical projects that you can build yourself at home.

$39.99 USD

SWT7

DPDT Micro Top-mount Slide Switch

This micro DPDT switch has the switch lever on the top.

$0.50 USD

29048

Grove - LED Bar 2.0

Another nice visual indicator for the Grove system, with a 10 segment display. 3.3-5V

$4.20 USD

50512

FTDI Basic Breakout (5V)

This is a basic breakout board for the FTDI FT232RL USB to serial IC. The pinout of this board matches the FTDI cable to work with official Arduino and cloned 5V Arduino boards.

$14.95 USD

60890

eSun 1.75mm Cleaning Filament - 0.1kg Spool

Material change-over in a 3D printer nozzle can leave some funky chemistry buildup that can lead to clogs and jams. Clear it out with this filament specifically designed for that purpose.

$16.95 USD

CP1.0uF

1.0µF Monolithic Capacitor

1.0µF monolithic ceramic capacitor with many general purpose electronic applications.

$0.80 USD

21150

LAB-X2 Experimenter Board

Looking for the LAB-X2 Experimenter Board ? The LAB-X2 Experimenter Board s a budget minded board for 28 & 40-pin PICmicro development. Order your LAB-X2 Experimenter Board online now !

$34.98 USD

28071

PIC 18F4525-I/P IC

The PIC 18F4525-I/P is a small, powerful and inexpensive microcontroller from Microchip.

$7.89 USD

Currency


Login

Email:

Password:

Remember Me

Forgot Your Password?

Don't Have an Account?
Sign Up!