4

Microcontroller and its Applications

 

Introduction:                        

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:

1.   Introduction to Microcontroller and Microprocessor.

2.   Assembly and C language programming.

3.   Embedded Software development techniques.

4.   Interfacing with LCD, Keypad, Relays and Sensors.

5.   Timer and Interrupt programming.

6.   Synchronous & Asynchronous serial communication

7.   Analog conversion techniques and ADC, DAC interfacing.

Detailed Course Outline:

1.             Review/Overview:

         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 comparison

2.             An Introduction to the PIC Microcontroller Unit:

         Datasheet

         Some Important PICS

         Core Features of PIC 18F452 Microcontroller

         Introduction to MPLAB IDE

         Installing Software, making a project and creating hex file.

3.             Getting Started:

         Internal Architecture of PIC 18F452 Microcontroller

         Power Supply

         Oscillators and Reset circuitry

         The Technical Challenge of Parallel I/O Ports    

4.             Time Keeping applications:

         Calculation of time delays

         Creating time intervals and using delaying routines

         Creating accurate intervals using timers 

5.             Timers:

         Timer 0

         Timer 1

         Timer 3

         Timer Programming

6.             Counters:

         Using Counters

         Counter Applications e.g. counting pulses

         A little touch of Interrupts

7.             Serial Communication:

         Calculation of Baud Rate

         Serial Port Programming

8.             Interrupts:

         Internal Interrupts

         External Interrupts

         Interrupt Programming

9.             Interfacing:

         ADC, DAC and Sensor Interfacing

         LCD and Keyboard Interfacing

10.          Project Presentation/ Overview

         Project Presentation

         Project Documentation

 Learning Objectives:

This course focuses on:

1. PIC 18F452 Microcontroller architecture.

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 PIC 18F452.

In the end of the course students will have the following understandings:

1. Difference between Microprocessor and Microcontroller.

2. PIC 18F452 Microcontroller internal Architecture. 

4. Architecture and behavior of different PIC 18F452 ports.

5. C language programming for PIC 18F452.

6. Understanding of hardware connection with PIC 18F452.

7. Architecture and Programming for Timer of PIC 18F452.

8. Architecture and programming of Serial port.

9. Interrupts programming.

10. ADC, DAC and Sensor interfacing with PIC 18F452.

11. Serial interfacing using SPI and I2C protocol.

Pre-requisites:

Digital Logic Design, C Language, Microprocessor and Computer Architecture.

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 capabilities.

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.

 Methodology    (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 given below:

         EXPERIMENT # 01:     Familiarization With Embedded System Development Tools

i.             Introduction to the use of Kiel V with simulation tools

ii.            Introduction to the use of C compiler for PIC

iii.           Review of Standard C language Syntax

iv.          C code for blinking LEDs, Binary Counter on Port Pins, Applying different patterns on Port Pins 

 

         EXPERIMENT # 02:     Introduction To MPLAB IDE

i.             Introduction to MPLAB Desktop

ii.            Create First Project and Build it

iii.           Introduction to MPLAB Simulator

 

         EXPERIMENT # 03:     Simulation with MPLAB (Cont.)

i.             I/O Port with LEDs and Switches

ii.            Code Debugging Techniques e.g. Watchpoints, Breakpoints, Stepping etc. 

 

         EXPERIMENT # 04:     Implementation Of Stop Watch Using PIC18F452

i.             Interface with three I/Ps for Start, Stop and Reset

ii.            Use of Multiplexed 7 Segment display

iii.           Combined both of above to implement the stop watch

iv.          Implementation for different steps of time e.g. Second, half second (500mSec), etc.

 

         EXPERIMENT # 05:     Use of Internal Timers For Time Keeping Applications

i.             Switching between Multiplexed 7 Segment Display with Internal Timers.

ii.            Implementation of Experiment no. 4 by the use of internal timers.

iii.           Repeat with different steps of time

 

          EXPERIMENT # 06:    Use of Internal Counter for Counting Pulses

i.             Simple count the number of pulses applied by any outer source like function generator.

ii.            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

i.             Setting different Baud Rates for PIC 18F452

ii.            Using PIC 18F452 as serial data transmitter and configuring Hyper terminal of computer at same baud rate as receiver

iii.           Sending Serial data from computer and receive it through PIC 18F452

iv.          Both transmit and receive in a single program 

 

         EXPERIMENT # 08:    Use of Internal and External Interrupts

i.             Using external interrupt as level and edge trigger mode

ii.            Use of Serial and timer interrupts

 

         EXPERIMENT # 09:    Temperature Sensing using ADC in PIC 18F452

i.             Use of LM35 temperature sensor

ii.            Sensing Analog signal with PIC 18F452

iii.           Convert digital output of ADC into temperature

iv.          Show the result on PC using Serial Port

 

         EXPERIMENT # 10:    Using 4x4 Keypad and LCD for making a Simple Calculator

i.             Attaching the LCD with PIC 18F452

ii.            Displaying different messages on LCD

iii.           Interface and scan keypad with PIC 18F452

iv.           Apply simple calculator by combining both LCD and Keypad.

Resources required:

Computation resources like PCs, Multimedia projector and printer etc. The Training/Development kits for PIC Microcontrollers to perform practical sessions.

Starting From Timings Last Date of Registration Fee
17-05-13

1800-2100

(Friday - Saturday)

15-05-13

Rs:10,000/-

Per Participant

 

Duration =          40 Hours

Home | Site Map | Contact Us | About Us

SKILL DEVELOPMENT COUNCIL
House # 107, Street - 8, F-11/1, Islamabad | +92-51-2224501-2

Copyright 2008 Skill Development Council