KSAB SOFTWARE
Building skills for better tomorrow
self evaluation testing
Existing User
If you are a existing user
click here to login
New User
If you are a new user
click here to register
Other Links
PIC Microcontrollers courses outline
Microprocessor and Microcontrollers
1. Differences
2. Development System
3. 4 bit,8,16 bit Systems , 28 pins , 40 pins
Numbering System
1. Decimal , Binary , Hexadecimal , Conversions , Multiplication , Addition,Subtraction , Division
CPU Architecture
1. Harvard Architecture and Pipelining
2. Memory Considerations
3. Register file and Addressing modes
4. Direct Addressing and Indirect Addressing
5. CPU Registers(RP0 , W , STATUS , FSR, INDF , PCLATH , PCL , Z , DC)
Instruction Set
1. Single Bit Manipulation
2. Clear / Move Instructions
3. Increment / Decrement / Complement
4. Multiple Bit Manipulation
5. Addition ,Subtraction
6. Rotate
7. Conditional Branch
8. Goto / Call / Return / Return from Interrupt
MPASM Assembler and its use
1. Overview
2. Application Code Source file, Template of sample program
(Program hierarchy , Equates , Variable declarations,Use of tables , Main Program , Subroutines,Assembler Directives)
3. A sample program to blink an LED on and off every second Macros
Interrupt Programming
1. Looptime Subroutine
2. Timers in the PIC microcontroller- TIMER2 usage
3. Interrupt logic
4. Scaler initialization
5. interrupt service routine
6. Sample program to generate a specific time delay using TIMER2
External Interrupts and Timers
1. RB0 / INT External Interrupt Input
2. Timer0 Usage
3. Compare Mode
4. Capture Mode
5. Timer /External Event Counter
6. Timer1 and Sleep Mode
7. Pulse Width Modulated outputs
Interfacing an LCD to the PIC Microcontroller
1. LCD characteristics and parameters
2. Command and data registers of an LCD
Keyboard Interface to the PIC Microcontroller
1. Programming the keyboard to display inputs from the keyboard to the LCD
Analog to Digital Converter
1. ADC Characteristics , ADC Use
2. Example of interfacing say a potentiometer to the microcontroller. The analog input is converted by the ADC and displayed as a digital value to the LED or LCD as output
Serial Communication – UART
1. Waveform and baud-rate accuracy
2. Baud Rate selection and calculation of SPBRG and BRGH values
3. UART data handling circuitry
4. UART initialization
5. UART use and registers to be initialised for serial communication
Miscellaneous Topics
1. I / O Port Expansion
2. Serial Peripheral Interphase (SPI)e
3. Inter-Integrated Circuit (I2C)
4. Input Port Expansion
5. Output Port Expansion
6. Timer1 and Sleep Mode
7. I2C Bus for peripheral chip access
Note:
The examples will be worked out using PIC 16F870 microcontroller kit. Programs will be written in Assembly Language on a PC and downloaded to flash memory of the microcontroller for execution.
