Peripheral Interface Controller (PIC)

Peripheral Interface Controller (PIC)

Working with MPLAB IDE

Introduction to MPLAB IDE – What is it and how to install it? The above link takes you to the article about introduction to MPLAB IDE, in case if you have missed it. Having installed MPLAB IDE and one or more compiler suite, this article describes how to compile a program and extract the .hex

Peripheral Interface Controller (PIC)

Introduction to MPLAB IDE

Similar to Atmel’s AVR studio, Microchip MPLAB is a feature rich IDE which integrates compiler tool-chains into the IDE itself and also supports proprietary programming devices and debuggers for the Microchip’s Controller family. Just if you have a microchip programmer such as Pickit2 or ICD2, then just plug it to the computer and all you

Peripheral Interface Controller (PIC)

Timers and Interrupts (PIC16F84A)

Timer Module: A Timer is a simple module included along with almost most of the microcontrollers. A timer can be used as a timer/counter. The size of the timer varies from controller to controller. The PIC16F84A has one 8 bit timer module. The very basic operation of a timer is to count and nothing else!.

Peripheral Interface Controller (PIC)

PIC16F84A – Instruction Set (Continued)

Having known about the byte oriented file register operation, only two categories are remaining – the bit oriented file register operations and the control operations. Bit-oriented file register operations: Here these instructions are used when a single bit needs to be affected/changed/checked. There are only four bit-oriented instruction for the 16F84A Mnemonics & Operands Description

Peripheral Interface Controller (PIC)

PIC16F84A – Instruction Set

The instruction set of PIC16F84A has 35 instructions [The controller “understands” 35 words].These instructions are otherwise called Mnemonics. While introducing about the PIC16F84A till the hello world program,  7 instructions are introduced to you which were, BSF – bit set f BCF- bit clear f MOVLW – move literal value to W-register MOVWF – move

Peripheral Interface Controller (PIC)

PIC16F84A – The Hello World program.

The previous posts about PIC16F84A explained about controlling the GPIO(General Purpose I/O) pins of the IC. Previously laid circuits explained only about how to switch on or off an LED. You just simply set the desired pin to output and then send a high/low signal to switch on/off the LED. Now, in this post, let

Peripheral Interface Controller (PIC)

PIC16F84A – Working with Inputs

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

Peripheral Interface Controller (PIC)

PROCEDURE TO USE MPLAB SIM

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

Peripheral Interface Controller (PIC)

Program Flow Control Group in PIC

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

Peripheral Interface Controller (PIC)

Bit Operation Group Instructions in PIC

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

Peripheral Interface Controller (PIC)

Arithmetic and Logic Operations Group in PIC

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

Peripheral Interface Controller (PIC)

Data Transfer Group Instructions in PIC

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

Peripheral Interface Controller (PIC)

Peripheral Interface Controller (PIC) – Advanced Features

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.

Peripheral Interface Controller (PIC)

USART Modules in PIC 16F877

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

Peripheral Interface Controller (PIC)

CCP Modules in PIC 16F877

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

Peripheral Interface Controller (PIC)

Timer Modules in PIC 16F877

Related Articles TAKE A LOOK : INTRODUCTION TO PIC 167F877 TAKE A LOOK : PIC 16F877 – ARCHITECTURE AND MEMORY ORGANIZATION TAKE A LOOK : REGISTER MEMORY ORGANIZATION IN PIC 16F877 TAKE A LOOK : EEPROM/FLASH MEMORY ORGANIZATION in PIC 16F877 Timer modules in PIC 16F877 The PIC 16F877 basically has three timer modules. These

Scroll to Top