PIC Microcontrollers
Pinned Getting started with PIC microcontrollers
Jul 17 2011 03:47 PM | Robotics Guy in PIC Microcontrollers
Welcome to the exciting world of microcontrollers! Many people find learning to program microcontrollers and working with electronics to be tremendously fun and rewarding. Getting started is pretty easy, but there are a few things you are going to...
Read story → 0 comments




HD44780 LCD
Jul 18 2011 05:05 PM | Robotics Guy in PIC Microcontrollers
As always, make sure you have a copy of the datasheet for your PIC. Here's a link to the PIC18F4550 datasheet. Introduction An LCD can be a great addition to just about any project. In this tutorial, you will learn all about the commonly used HD4...
Read story → 0 comments




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




dsPIC30F Digital Inputs / Outputs
Jul 17 2011 03:53 PM | Robotics Guy in dsPIC
Using the digital input pins on a PIC microcontroller is fairly simple. There are, however, two different ways of wiring a switch (or any other switch-like device) to the pin — using a pull-up resistor, or a pull-down resistor. The schematic o...
Read story → 0 comments




dsPIC30F Motor Control PWM Module
Jul 17 2011 03:50 PM | Robotics Guy in dsPIC
Pulse Width Modulation, commonly referred to as PWM, is a common technique used for supplying power and motor control. Using it to power an LED, for example, means that by varying the duty cycle (which affects the average voltage) you can adjust the 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






