WORKSHOP ON COMPUTER INTERFACING

Khwarzimic Science Society
Centre of Excellence in Solid State Physics
Punjab University | Quaid-e-Azam Campus | Lahore 54590
PAKISTAN

Email: info@khwarzimic.org
URL: http://www.khwarzimic.org

Tel: +92 42 9231 136
Fax: +92 42 9231 139

15 September 2001 (9am to 5pm), Centre for Solid State Physics, Quaid-e-Azam Campus, Punjab University, Lahore.

Speakers: Engr. Mueen Sajjad, Engineer Syed Bhais Pvt. Ltd, Engr. Shahab Ahmed, Techlogix Pvt. Ltd., Engr. Muhammad Sabieh Anwar, Lahore University of Management Sciences.
Chairpersons: Dr. Zafar Iqbal, Dean of Sciences, Punjab University, Dr. Shahzad Naseem, Centre for Solid State Physics, Punjab Unversity.
Sponsorships: Nicon Institute and Rana Farooq, Institute of Chemical Engineering and Technology, Punjab University.
Welcome address: Dr. Saadat Anwar Siddiqi, President KSS.
Tilawat-e-Quran: Shahid Iqbal, Life Member KSS.

Download presentations as Power Point files:

Introduction to Computer Interfacing by Muhammad Sabieh Anwar Parallel Port interfacing by Mueen Sajjad
Serial port Interfacing by Shahab Ahmed and Mueen Sajjad
Microcontrollers by Shahab Ahmed

Overview:
Microcontrollers:

  1. An Introduction to Microcontrollers and Embedded Systems.

  2. Differences between a Microprocessor and Microcontroller.

  3. Intel 8051 series and its compatibles (Atmel 89C51) along with its advantages.

  4. Architecture of 89C51; ROM, RAM and SFRs (Special Function Registers).

  5. Description of I/O Parallel Ports, Serial Port, Timer/Counter and Interrupt handling.

  6. Programming Techniques for 89C51.

  7. Using the serial port programmer of 89C51.

  8. An Introduction to u Vision/51 Evaluation Software for simulating the 89C51 chip.

Demonstration/Exercise Part :

An Example of Digital Control … Control of LEDs through Switches

  1. An Introduction to digital I/Os and voltage levels.

  2. Working principles of LEDs and Switches.

  3. Circuit Description.

  4. Program Description.

  5. Demonstration and Exercises for the participants.

An Example of Analog Control …Control of a DC Motor’s speed

  1. An Introduction to analog I/Os.

  2. Working principle of a DC Motor.

  3. Circuit Description.

  4. Program Description.

  5. Demonstration for the participants.

Serial Port Interfacing:

Theory Part :

An Introduction to Serial Communication.
Asynchronous and Synchronous Serial Communication.
Basics of Serial Communication: Baud Rate, Start and Stop bits and Parity.
EIA RS-232C Serial Interface Standard.
Serial Implementation of RS-232C in PC, description of pin outs.
UART, USART and registers of Serial Port.
Programming techniques for Interfacing Serial Port.
An Introduction to USB (Universal Serial Bus).

Demonstration/Exercise Part :

An Example of Serial Communication …Control of a DC Motor’s speed using PC. Serial Link to the Microcontroller.

1. Description of the circuit.
2. Program Organization.
3. Demonstration and Exercise for the participants

Parallel Port Interfacing:

Parallel port in general requires as much wires as number of bits to be transferred requiring one wire per bit.

Parallel port identification on IBM PC

Introduction to male & female port identification
Pin configuration of parallel port.

Description of parallel port pins grouping:
Data port
Status port
Control port

How parallel port pins are accessed in software:
Address range normally used for parallel port
Difference between memory addresses & I/O addresses
Difference in the way these two type of address spaces are accessed in C language

Relation between bits present at port address & voltage levels on port pins
Description of logic High & logic Low voltage levels of parallel port
Description of hardware inverted port pins.

Demonstration of this software & hardware link through control of light bulb
A brief description of scheme used to control light bulb from parallel port.

Data input through status port using switches. LED's indicate state of switch. Description of range of logic Low & logic High voltage levels

Introduction to control port especially open collector type.

Introduction to bi-directional parallel port. The way to select it from BIOS. A brief introduction to EPP & ECP types of parallel ports.

Introduction to use of buffers for parallel port interfacing. Description of source & sink currents capability of port. Demonstration of use of buffer by controlling LED's through data port.

A handy software to monitor parallel port status from DOS. Introduction to DLL Port I/O for accessing parallel port from Visual Basic or Visual C.

Consideration of parallel port access from Microsoft Windows 2000.

About the Speakers:
Mueen Sajjad: Mueen Sajjad graduated from University of Engineering and Technology in Electrical Engineering in 2000. He has been working as DSP Design Engineer at Syed Bhais (Pvt) Limited since July 2001. He is currently working on Designing DSP based Electronic Energy Meter. His areas of interest include Analog & Digital Circuit design, Implementation of DSP Algorithms in Assembly language on DSP Hardware platforms like TMS320C3x by Texas Instruments and ADSP218x by Analog Devices, PC-Interfacing and Programming in C++.
Shahab Ahmed: Shahab Ahmed graduated from University of Engineering and Technology in Electrical Engineering in 2000. He worked as an Electrical Engineer in Packages Limited from August 2000 to April 2001. He is currently working as Software Engineer in Techlogix (Pvt) Ltd. His areas of interest include Industrial and Non-Industrial Automation, Embedded Systems and Engineering Software.
Muhammd Sabieh Anwar: Muhammad Sabieh Anwar graduated from University of Engineering and Technology in Electrical Engineering in 2000. He is currently studying at Oxford University in Quantum Physics. He is the Joint Secretary of the Khwarzimic Science Society.

Inquiries, Questions: info@khwarzimic.org