This course covers the fundamental
operations and Interfacing methods
for PIC Microcontrollers (one of
the most popular of the
microcontrollers). So, you will be able
to design your own projects.
This course focuses on:
Introduction to Microcontroller
Assembly and C language
Embedded Software development
Interfacing with LCD, Keypad,
Relays and Sensors.
Timer and Interrupt programming.
& Asynchronous serial communication
Analog conversion techniques and
ADC, DAC interfacing.
Detailed Course Outline:
The basic concepts of Digital Logic
Design e.g. Number Systems, Basic Gates,
Truth Tables, etc.
Review the basic concepts of Computer
Architecture and C language
Microprocessors and Microcontrollers, a
An Introduction to the PIC
Some Important PICS
Core Features of PIC 18F452
Introduction to MPLAB IDE
Installing Software, making a project
and creating hex file.
Internal Architecture of PIC 18F452
Oscillators and Reset circuitry
The Technical Challenge of Parallel I/O
Time Keeping applications:
Calculation of time delays
Creating time intervals and using
Creating accurate intervals using timers
Counter Applications e.g. counting
A little touch of Interrupts
Calculation of Baud Rate
Serial Port Programming
ADC, DAC and Sensor Interfacing
LCD and Keyboard Interfacing
Project Presentation/ Overview
This course focuses on:
1. PIC 18F452 Microcontroller
2. Assembly and C language programming
for PIC 18F452.
3. Architecture and behavior of
different ports of PIC18F452.
4. Use of Timer in PIC 18F452.
5. Serial port and Interrupt handling
for PIC 18F452.
6. ADC, DAC, and Sensor interfacing with
In the end of the course students will
have the following understandings:
1. Difference between Microprocessor and
2. PIC 18F452 Microcontroller internal
4. Architecture and behavior of
different PIC 18F452 ports.
5. C language programming for PIC
6. Understanding of hardware connection
with PIC 18F452.
7. Architecture and Programming for
Timer of PIC 18F452.
8. Architecture and programming of
9. Interrupts programming.
10. ADC, DAC and Sensor interfacing with
11. Serial interfacing using SPI and I2C
Digital Logic Design, C Language,
Microprocessor and Computer
Potential Participants / Organizations:
This course is designed for Scientists,
Engineers, technicians and Students in
the field of Electronics, Telecom,
Industrial, Instrumentation, Controls,
Automation and Systems. Organizations
involved in electronic design can have
great support to uplift the team
The DAE students of the mentioned fields
are also encouraged to attend the course
because it is a very good opportunity
for to find a good position.
(Theory / Practical):
Methodology involves ten lab sessions,
four hour each. Every session have
theory and practical part. The list of
experiments for all ten sessions is
EXPERIMENT # 01:
Familiarization With Embedded System
Introduction to the use of Kiel µV with
Introduction to the use of µC compiler
Review of Standard C language Syntax
C code for blinking LEDs, Binary Counter
on Port Pins, Applying different
patterns on Port Pins
EXPERIMENT # 02:
Introduction To MPLAB IDE
Introduction to MPLAB Desktop
Create First Project and Build it
Introduction to MPLAB Simulator
EXPERIMENT # 03:
Simulation with MPLAB (Cont.)
I/O Port with LEDs and Switches
Code Debugging Techniques e.g.
Watchpoints, Breakpoints, Stepping etc.
EXPERIMENT # 04:
Implementation Of Stop Watch Using
Interface with three I/Ps for Start,
Stop and Reset
Use of Multiplexed 7 Segment display
Combined both of above to implement the
Implementation for different steps of
time e.g. Second, half second (500mSec),
EXPERIMENT # 05:
Internal Timers For Time Keeping
Switching between Multiplexed 7 Segment
Display with Internal Timers.
Implementation of Experiment no. 4 by
the use of internal timers.
Repeat with different steps of time
EXPERIMENT # 06: Use of
Internal Counter for Counting Pulses
Simple count the number of pulses
applied by any outer source like
Count the pulses for specific period of
time i.e use counter and timer at a time
EXPERIMENT # 07:
Interfacing PIC 18F452 with Computer
Using Serial Port
Setting different Baud Rates for PIC
Using PIC 18F452 as serial data
transmitter and configuring Hyper
terminal of computer at same baud rate
Sending Serial data from computer and
receive it through PIC 18F452
Both transmit and receive in a single
EXPERIMENT # 08:
Use of Internal and External
Using external interrupt as level and
edge trigger mode
Use of Serial and timer interrupts
EXPERIMENT # 09:
Temperature Sensing using ADC in PIC
Use of LM35 temperature sensor
Sensing Analog signal with PIC 18F452
Convert digital output of ADC into
Show the result on PC using Serial Port
EXPERIMENT # 10:
Using 4x4 Keypad and LCD for making a
Attaching the LCD with PIC 18F452
Displaying different messages on LCD
Interface and scan keypad with PIC
Apply simple calculator by combining
both LCD and Keypad.
Computation resources like PCs,
Multimedia projector and printer etc.
The Training/Development kits for PIC
Microcontrollers to perform practical
Last Date of Registration
(Friday - Saturday)