PIC18 Microcontrollers
Using the Microchip PIC18 USB CDC Framework
Jul 20 2011 07:08 PM | Robotics Guy in PIC18 Microcontrollers
Introduction This tutorial explains in detail how to get the Microchip PIC18 USB CDC Framework up and running for a PIC18F4550 or PIC18F2550 (The PIC18F2550 is exactly the same as the PIC18F4550, except that it has fewer pins). However, following...
Read story → 0 comments




Configuring the PIC18F4550 10-bit ADC module
Jul 20 2011 06:57 PM | Robotics Guy in PIC18 Microcontrollers
As always, make sure you have a copy of the datasheet for your PIC. Here's a link to the PIC18F4550 datasheet. The Analog to Digital Converter on your PIC microcontroller is an incredibly useful tool. Using the ADC, you can interface all sorts...
Read story → 0 comments




PIC18F4550 Configuration
Jul 15 2011 12:05 AM | Robotics Guy in PIC18 Microcontrollers
As always, make sure you have a copy of the datasheet for your PIC. Here's a link to the PIC18F4550 datasheet. Before actually writing your program, you need to configure your microcontroller. You can view the configuration options by clicking...
Read story → 0 comments




PIC18 Interrupts
Aug 26 2011 02:15 AM | Robotics Guy in PIC18 Microcontrollers
Introduction to Interrupts PIC18 microcontrollers have high priority and low priority interrupts. When a high or low priority interrupt occurs, the program counter is loaded with the address of the respective interrupt vector and the program br...
Read story → 0 comments




PIC18 RS-232 / Serial Communication
Aug 24 2011 05:27 AM | Robotics Guy in PIC18 Microcontrollers
Make sure you have a copy of the datasheet for your PIC. Here's a link to the PIC18F4550 datasheet. The PIC18F4550 has one EUSART or Enhanced Universal Synchronous Asynchronous Receiver Transmitter module. The enhanced USART has several features that...
Read story → 0 comments




PIC18F4550 Timer0
Jul 20 2011 06:56 PM | Robotics Guy in PIC18 Microcontrollers
As always, make sure you have a copy of the datasheet for your PIC. Here's a link to the PIC18F4550 datasheet. In the LED blink code on the Downloads page, I use a for loop to create a delay in the program; after each delay, the logic level of the...
Read story → 0 comments






