Your shopping cart is empty!
Baseline (12-bit) PIC architecture and peripherals, using C (XC8 and CCS) and assembly language.
These tutorials begin by using assembly language to introduce the baseline (12-bit) PIC architecture and peripherals.
A second series of lessons goes on to show how to program baseline PICs in C, using the Microchip XC8 and CCS PCB (v4) compilers.
A series of video tutorials is being developed to complement these lessons:
To get the most out of the lessons, you should purchase the Baseline and Mid-Range PIC training board, which was designed to complement these tutorial series.
The following lessons are included:
Assembly language lessons |
C lessons |
| 1: Lighting an LED Introducing the PIC10F200 and PIC12F508 |
1: Basic Digital Output Introducing XC8 and CCS PCB Simple control of digital output pins |
| 2: Flashing an LED Adding delay loops |
|
| 3: Writing Modular Code Subroutines, relocatable modules, memory banking and paging Introducing the PIC12F509 |
|
| 4: Reading Switches Reading and debouncing simple switches and using internal pull-ups |
2: Reading Switches Reading and debouncing simple switches and using internal pull-ups |
| 5: Timer0 Using Timer0 for event timing, delays, debouncing and as a counter |
3: Timer0 Using Timer0 for event timing, delays, debouncing and as a counter (with some examples of C macros) |
| 6: Assembler Directives and Macros MPASM expressions, macros and conditional assembly |
|
| 7: Sleep Mode, Watchdog and Clock Options Using sleep mode, wakeup on change, the watchdog timer, and external oscillators |
4: Sleep Mode and the Watchdog Timer Using sleep mode, wakeup on change, and the watchdog timer |
| 8: Driving 7-Segment LED Displays Single and multiple 7-segment displays, multiplexing,lookup tables and binary-coded decimal (BCD) Introducing the PIC16F506 |
5: Driving 7-Segment Displays Single and multiple 7-segment displays, lookup tables and multiplexing (using the PIC16F506) |
| 9: Analog Comparators Comparators, hysteresis, fixed and programmable voltage references |
6: Analog Comparators Comparators, fixed and programmable voltage references |
| 10: Analog-to-Digital Conversion Using the analog-to-digital converter (ADC) on the PIC16F506 |
7: Analog-to-Digital Conversion and Simple Filtering Analog-to-digital conversion (ADC) and calculating a moving average (accessing banked memory) |
| 11: Arrays and Long Integer Arithmetic Indirect addressing, multi-byte addition and subtraction and 8-bit multiplication |