Central Piedmont Community College
Charlotte, NC
ELN-232 Online Course "Introduction to Microcontrollers"
Using the Microchip PIC16F887
and EasyPIC5 Board from MikroElektronika
Fall Semester August 17th through December 12th

EasyPIC5 Board used in Labs and Programming

EasyPIC5


ELN-232 provides 4 credit hours at an ABET accredited college.
What does ABET accredited mean? ABET stands for Accrediting Board for Engineering Technology. This is the
                               nation wide accreditation and peer review process to insure quality engineering education. For 
                               more  information go to WWW.ABET.org
Tuition:       - -  -    In state tuition is $168.00 (North Carolina) while out-of-state tuition is $933.30.
Lab Equipment:     Each student will be required to purchase an EasyPIC5 development kit at
                               approximatelly $200 plus shipping at the time of this writing.
Prerequisites:        Students should have completed AC and DC Electronics, Semiconductor Devices, as well as
                               Digital Electronics at an accredited college or University prior to taking this course.
                               Military Personal can submit prior military training in these subject areas for
                               evaluation by Tom Chrane in lieu of college credit.
                               Email: Tom.Chrane@cpcc.edu or phone 704-330-6786 to discuss or submit prerequisites.
Course Availablity: The course is available to anyone in the United States and current military
                              personnel anywhere
with the proper prerequisites.
Requirements:     You must have access to a computer with wide band cable or DSS internet connection.
                              Also you must have Adobe Reader, and Adobe Flash Player version 10 installed.
                              Both are free downloads.
                              YOU MUST REGISTER BEFORE August 1st TO BE ADMITTED!
Registration & College Policy:    
                              To register and issues relating to college policy about dropping a course, refunds, transcripts,
                              residence requirements and many other areas can be found by going to the CPCC website at
                             WWW1.CPCC.edu

Computer Engineering Site: WWW1.CPCC.edu/et


What is Covered in the Course?
During the 16 week semester the following topics will be covered:

  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 16F887
  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 installation & navigation
    Flash Videos cover the following:
    Step by Step!
    1. Project creation
    2. Assembly file editing
    3. Debugger operation
    4. MPLAB 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

  1. Assembly Language
    1. Assembly Format
    2. Basic 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
    14. Program exercises in this section will begin work on the EasyPIC5 Board!
    15. Using the on-board Programmer
  1. Basic Programming & Algorithms
    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

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

     7. Interrupts & Interrupt Programming
               a. Reason for Interrupts
               b. Interrupt precautions
               c. Interrupt Service routine

     8.  Timer/Counter Operation

                a. Timer/Counters Available
                b. Basic operation of each T/C
                c. Typical application of T/C 0
                d. Timer/Counter programming
                e. Using interrupts with the T/C

 

     9.  A/D Converters

    1. A/D converter registers
    2. A/D converter programming
    3. A/D converter applications
    4. Circuit consideration
  1. LCD programming
    1. LCD controller hardware
    2. LCD controller commands
    3. LCD timing
    4. Initializing the controller
    5. Sending Characters to LCD
    6. Formatting position for LCD

 

  1. EEPROM & Flash Memory
         a. EEPROM access and addressing
         b. Reading EEPROM
         c. Writing to EEPROM
         d. Flash Memory programming inside
             the program

 

  1. Math Operations using the PIC
         a. Simple byte addition
         b. Multiple byte addition
         c. Simple byte subtraction
         d. Multiple byte subtraction
          e. Multiplication using PIC
              Application Notes
          f. Division using PIC Application Notes
          g. Other math operations.

 

  1. Overview of the High Performance PIC 18 Family
    a. Comparison of the PIC18 to the midrange line
    b. New features available on the PIC 18
    c. Discussion of where the PIC 18 provide optimization

 

  1. High Performance PIC 18 Architecture
    a. Addressing Modes
    b. Bank Switching
    c. Stack
    d. Memory Map
    e. Compatibility with midrange line

 

  1. High Performance PIC18 Instruction Set
    a. Instruction set listing
    b. Discussion of each instruction
    c. Example programs

 

   


For questions and inquiries contact Tom Chrane at
Tom.Chrane@cpcc.edu or phone 704-330-6786.