Microcontrollers and Embedded Systems - 18 Series
I have already written a set of tutorials on the 16 series of microcontroller, the 18 series is an upgrade. I'm going to start from scratch again with these tutorials and try to make them a little more practical than the last, I sometimes made the programs far too complicated. I hope these help, feel free to contact me to ask questions, of course I may not have time to write you code.
The 18 series of microcontrollers are still 8-bit however their instructions are now 16-bit instead of 14-bit and they carry a lot more useful instructions. In general the pin layouts and functions are very similar but you'll notice much higher clock speeds, larger memories and a faster program layout is possible with the 18 series.
Note 2021 : The MPLAB assembly is no longer the standard as shown in these projects, while the code may still apply to some systems it can now be considered obsolete. I have upgraded to C language as that is standard and compatible with several platforms. I shall not be updating the contents of any of these pages ever again, but will keep them as records.
The Basics of Programming
Chapter 2 - Software, Hardware and Configuration
Chapter 4 - Oscillator and Delay
Chapter 5 - Inputs, Status and Mathematics
Chapter 8 - EEPROM, FLASH and the FSR
Chapter 10 - ADC and Binary to Decimal
Chapter 11 - Asynchronous Serial (EUSART)
Chapter 12 - Interrupts and Timers
Programming Projects
Assembly Code Template