PIC16F84A – Working with Inputs

Anish June 5, 2012 2 Comments
I hope everyone who read the post about programming the PIC16F84A will now be savvy with downloading the program to the controller, and also check the working of the controller. In the previous post, we discussed about producing an output (switching on an led) using PIC16F84A. Here, I will tell you how to work with inputs – How will you provide inputs to your PIC and how to develop a response to it. As you all know, the controller...
read more

PROCEDURE TO USE MPLAB SIM

Vysakh March 7, 2011 2 Comments
Related Articles PERIPHERAL INTERFACE CONTROLLER (PIC) INTRODUCTION TO PIC 16F877 PIC PROGRAMMING INSTRUCTION SETS The first step is to install MPLAB SIM software in your PC, then create a new sub-directory in the main directory RT. For example, in order to write a program to do mathematical addition, create a sub directory called add8 (just a name) in the main directory RT. Create a new directory in E drive in your name, say RT for every program Similarly, to...
read more

Program Flow Control Group in PIC

Vysakh March 2, 2011 No Comments
Basics of PIC and other related articles PERIPHERAL INTERFACE CONTROLLER (PIC) INTRODUCTION TO PIC 16F877 To know the basic instruction sets, use the link below. PIC PROGRAMMING INSTRUCTION SETS ARITHMETIC AND LOGIC OPERATIONS GROUP DATA TRANSFER GROUP BIT OPERATION GROUP INSTRUCTIONS 1) BTFSC BTFSC is a special type program flow instruction which control the current program flow. Normally BTFSC Test the bit in f, skip if it is zero. Syntax: Label BTFSC f, b Description: Test the specified bit...
read more

Bit Operation Group Instructions in PIC

Vysakh March 2, 2011 No Comments
To know more about the basics of this article, use the links given below. PIC PROGRAMMING INSTRUCTION SETS DATA TRANSFER GROUP ARITHMETIC AND LOGIC OPERATIONS GROUP PROGRAM FLOW CONTROL Bit Operation Group 1) BCF BCF is a resetting command instruction used for performing reset operations for a specified bit or specified register (simply called bit clearing flag or bit clearing command). Normally BCF resets the specified bit in f registers content. Syntax: Label BCF f, b Description: Reset the...
read more

Arithmetic and Logic Operations Group in PIC

Vysakh March 2, 2011 No Comments
Basics of PIC and other related articles PERIPHERAL INTERFACE CONTROLLER (PIC) INTRODUCTION TO PIC 16F877 To know the basic instruction sets, use the link below. PIC PROGRAMMING INSTRUCTION SETS DATA TRANSFER GROUP BIT OPERATION GROUP INSTRUCTIONS PROGRAM FLOW CONTROL ARITHMETICAL AND LOGICAL OPERATIONS GROUP In this article, the basic arithmetic and loguc operations that are carried out by a PIC is explained in detail. Arithmetic and logic operation group instructions are used for performing all arithmetic operations and logic...
read more

Data Transfer Group Instructions in PIC

Vysakh March 2, 2011 2 Comments
Take a look at the basics and other related articles. PERIPHERAL INTERFACE CONTROLLER (PIC) PIC PROGRAMMING – INSTRUCTION SETS INTRODUCTION TO PIC 16F877 Data Transfer Group Instructions in PIC Data transfer group instructions are one of the major instructions widely used in PIC programming for data transfer purposes. By using these types of instructions, we can move or change the value (bits) from one location to another. Data Transfer Instructions with Syntaxes 1. MOVLW “MOVLW” instruction is used to...
read more

PIC Programming – Instruction Sets

Vysakh March 2, 2011 2 Comments
To know the basics of PIC, click on the link below. TAKE A LOOK : PERIPHERAL INTERFACE CONTROLLER (PIC) Other Related Articles TAKE A LOOK : INTRODUCTION TO PIC 16F877 TAKE A LOOK : TIMER MODULES IN PIC 16F877 TAKE A LOOK : CCP MODULES IN PIC 16F877 Instruction Sets in PIC Instruction sets are the source codes that are written by the programmer for performing the desired operations in a PIC chip. These codes can be usually written...
read more

Peripheral Interface Controller (PIC) – Advanced Features

Vysakh March 1, 2011 No Comments
Related Articles PERIPHERAL INTERFACE CONTROLLER (PIC) INTRODUCTION TO PIC 167F877 USART MODULES IN PIC 16F877 Most of the modern PIC CPU’s  like PIC16F87XA devices are built with many types of advanced features that are capable of performing additional special tasks and operations. These features increases the stability of the PIC and increases its functional reliability. It is also helpful for designers to decrease the entire cost of the designed circuit by the integration and replacement of external components and...
read more

USART Modules in PIC 16F877

john February 14, 2011 1 Comment
PIC 16F877 – USART Modules This article explains the different USART modules used in PIC 16F877 like Asynchronous (full-duplex), Synchronous – Master (half-duplex), and Synchronous – Slave (half-duplex). The USART Baud Rate Generator (BRG) is also explained in detail along with the register table. The applications of USART is also given. RELATED ARTICLES: TAKE A LOOK : INTRODUCTION TO PIC 16F877 TAKE A LOOK : PIC 16F877 – ARCHITECTURE AND MEMORY ORGANIZATION TAKE A LOOK : REGISTER MEMORY ORGANIZATION...
read more

CCP Modules in PIC 16F877

Vysakh February 14, 2011 2 Comments
RELATED ARTICLES: TAKE A LOOK : INTRODUCTION TO PIC 16F877 TAKE A LOOK : PIC 16F877 – ARCHITECTURE AND MEMORY ORGANIZATION TAKE A LOOK : REGISTER MEMORY ORGANIZATION IN PIC 16F877 TAKE A LOOK : TIMER MODULES IN PIC 16F877 CAPTURE/COMPARE/PWM (CCP) Modules in PIC 16F877 Capture-Compare-Pulse-Width-Module (CCP) is a special module designs for modulation and waveform generation applications. This module basically works on three different modes (capture/compare and PWM odes). The PIC 16F877 chip contains two CCP ports...
read more