Beginner Lab Exercises - Microchip

Beginner Lab Exercises: These labs are based on Microchip Technology's 8-bit
PIC® microcontroller (MCU) architecture, as well as its peripherals and possible
applications. Only the most fundamental of embedded background is assumed,
such as knowledge of binary numbering systems and basic digital circuitry.

Part of the document


Beginner Lab Exercises: | |
| | |
|[pic] |These labs are based on Microchip |
| |Technology's 8-bit PIC® microcontroller (MCU)|
| |architecture, as well as its peripherals and |
| |possible applications. Only the most |
| |fundamental of embedded background is |
| |assumed, such as knowledge of binary |
| |numbering systems and basic digital |
| |circuitry. |
|For more information on Lab | |
|content contact: | |
|marc.mccomb@microchip.com | |
| |
|Tools Required: |
| |
| |+ |All labs are designed to run in the MPLAB® IDE Simulator using the |
| | |HI-TECH C® PICC-Lite C Compiler. The Introduction to MPLAB® |
| | |IDE/PICC-Lite C Compiler Tutorial found in the prerequisites |
| | |section below provides download instructions for both tools. |
| | | |
| |+ |All labs are based off of the PIC16F690 MCU and its peripherals. We|
| | |suggest downloading the datasheet here and keeping it on hand while|
| | |you complete the labs. |
| |
|Suggested Prerequisites: |
| |
| |The following prerequisites are recommended in order to fully |
| |understand and benefit from the labs below |
| | |
| |+ |Introduction to MPLAB® IDE/PICC-Lite Compiler Tutorial |
| | | |
| | |This Tutorial is highly recommended as a prerequisite to any of the |
| | |subsequent lab exercises. |
| | | |
| | | |
|Peripheral Labs: |
| |
| |+ |Timers: Timer Tutorial (Part 1) |
| | | |
| | |This tutorial is the first part in a series of tutorials on |
| | |Microchip's Timer peripherals. Timer/Counters modules are discussed |
| | |followed by an introduction to the Timer0 peripheral using the |
| | |on-chip clock source. A step-by-step discussion on peripheral |
| | |characteristics and configuration is preceded by a number of |
| | |simulation exercises used to reinforce learned concepts. |
| | | |
| |+ |Timers: Timer Tutorial (Part 2) |
| | | |
| | |This tutorial continues from where Part 1 left off. Here an external |
| | |signal is incorporated as the clock source to the Timer0 module. |
| | |Timer0 interrupts are introduced to develop a more time efficient |
| | |application than the polling algorithm of the previous tutorial. More|
| | |in-depth simulation techniques are also explored. |
| | | |
| | | |
| |Answers to quizzes provided in labs is available upon request by |
| |sending email to university@microchip.com |
| |
| |
| |LAB EVALUATION FORM |
| |
| |How did we do? Give us your thoughts and suggestions on a completed |
| |Lab. |
| |
| |
|Peripheral Lab Exercises in Development: |
| |
| |+ |Comparator |
| |+ |Analog-to-Digital Converter |
| |+ |General Purpose Input/Output Ports |
| | |
| |and more. So check back often. |
| | | |
| | | |
|Online Tutorials: |
| | |
| |New to 8-bit PIC® Microcontrollers and want to know more? Check out |
| |this series of Flash Animation tutorials. |
| | | |
| |Tutorials provide introductory information on such things as: |
| | |
| |( |Mid-Range PIC® Microcontroller Architecture |
| |( |Mid-Range PIC® Microcontroller Instruction Set |
| |( |Mid-Range PIC® Microcontroller Device Configuration |
| |( |Mid-Range PIC® Microcontroller Resets |
| |( |Mid-Range PIC® Microcontroller Oscillator |
| |
| |Click Here for Flash Tutorials |
| | |
| |In order to view these files you will need the Flash plug-in module. |