Home

PIC Midrange Microcontrollers Level 1
What's Covered in the Course:

edison

 

One might think that the money value of an invention constitutes its reward to the man who loves his work. But... I continue to find my greatest pleasure, and so my reward, in the work that precedes what the world calls success.
Thomas A. Edison

Prerequisites

Students taking this course are expected to know basic electronics and digital electronics. This includes the various logic gates, flip flops, light emitting diodes, and simple registers.To take this or any of our courses you are expected to have the normal problem solving skills of a graduate engineer in either the electrical, electronics, mechanical, or computer engineering fields. Other than these caveats the course starts assuming you know nothing about microcontrollers. In the case of engineers and technicians that are moving to the PIC MCU from some other manufacturers microprocessor, it is likely that some of the early material will probably already be in your arsenal of skills. Engineers in the electrical or electronics field, mechanical engineers, and electronics technicians make up 95% of our training customers. Prior computer programming experience in any language is very benificial!

 

How the Course is Presented

The course material is divided into weekly sections. Each Monday the material for that section will be put online and will be accessible for the duration of the course. The material is available 24 hours a day and will require your student ID and password for access. The instructor is available by email for questions and file transfers.  Material for study is presented in text with appropriate register charts and graphics with Flash Video presentations on most subjects. Flash Videos run between 7 and 20 minutes normally. See the example  Flash Video!

If you have health problems or work related problems you will be allowed up to 3 weeks grace period above the 5 weeks to complete the course!


PIC Midrange Microcontrollers 1

Material listed below in sections 1 through 7 will be covered in the first course. Programming exercises will be performed on the development board starting in week 2. This material will take between 6 and 8 hours per week for 5 weeks to complete.  The QL-200 trainer board is required to complete all of the programming exercises in the course.

 

 

1. Architecture of the PIC Microcontroller

    1. Data Memory
    2. Program Memory
    3. Status register
    4. Working register
    5. Ports
    6. Option register
    7. Configuration bits
    8. Reset Vector
    9. Interrupt Vector
    10. Stack
    11. Program Counter
    12. Mid Range Family Members
    13. The 16F877
  1. Number Systems & Codes
    1. Decimal
    2. Binary
    3. Hex
    4. Conversions between systems
    5. ASCII Code
    6. Grey Code
    7. 7 Segment Code
  1. MPLAB-X installation & navigation
    Flash Videos cover the following:
    Step by Step!
    1. Project creation
    2. Assembly file editing
    3. Debugger operation
    4. MPLAB-X Simulator
    5. Watch Window operations
    6. Stop Watch operation
    7. Stack Window operation

 

 

4. Instruction Set

  1. Coverage of each instruction with examples
  2. Effect of each instruction on Status flags
  3. Observing instructions with the Simulator

5. Assembly Language

  1. Basic Assembly Format
  2. Assembly Templates
  3. Include Files
  4. LST Files
  5. Hex Files
  6. Basic Assembler Directives
  7. Basic Macros
  8. Basic Assembly parameter conventions
  9. Code fragments
  10. Subroutines
  11. Stack Operation
  12. Timing Loops
  13. Tuning Timing Loops with the StopWatch
6. Basic Programming & Algorithms using 7-Segment Displays
  1. 7 Segment Displays
  2. A simple counter
  3. A 2 digit counter
  4. A 4 digit counter
  5. A Real Time Clock
  6. switch input
  7. input key debounce
  8. keyboard input command menu
  9. program design & flow charting
  10. step wise refinement & flow charting

  


 


7. LCD programming

  1. LCD controller hardware
  2. LCD controller commands
  3. LCD timing
  4. Initializing the controller 4 bit mode
  5. Sending Characters to LCD
  6. Formatting position for LCD
  7. Using the LCD to display Timer, Real Time Clock, convertions, and general text.

Flash Videos cover most important topics
making learning much easier than constant
reading!

"PIC" and "MPLAB" are registered trademarks of Microchip Technology Incorporated.

Home