0% found this document useful (0 votes)
189 views6 pages

Microprocessor Lab Manual

This document provides instructions for an experiment involving input switches, output LEDs, and a microprocessor. The objectives are to introduce students to microprocessor interfacing and basic I/O operations like reading switch input and outputting to LEDs. The experiment will use an Arduino/ATmega328, breadboard, LEDs, resistors, switches and involve drawing a circuit diagram, writing basic code, and testing configurations like single input-output, multiple I/O with delays, and traffic light patterns. Safety instructions are provided to first read manuals for all components.

Uploaded by

Huzaifi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
189 views6 pages

Microprocessor Lab Manual

This document provides instructions for an experiment involving input switches, output LEDs, and a microprocessor. The objectives are to introduce students to microprocessor interfacing and basic I/O operations like reading switch input and outputting to LEDs. The experiment will use an Arduino/ATmega328, breadboard, LEDs, resistors, switches and involve drawing a circuit diagram, writing basic code, and testing configurations like single input-output, multiple I/O with delays, and traffic light patterns. Safety instructions are provided to first read manuals for all components.

Uploaded by

Huzaifi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 6

MICROPROCESSOR

EXPERIMENT 4:

- INPUT SWTICHES AND


OUTPUT LEDS-

(WARNING NOTICE: PLEASE MAKE SURE YOU HAVE READ THE


ATMEGA328 MICROPROCESSOR TRAINERS MANUAL AND THE
ARDUINO UNO MANUAL BEFORE STARTING THE EXPERIMENT. THE
MANUAL IS AVAILABLE IN THE ITALEEM)
EXPERIMENT # 4 : INPUT SWITCHES AND OUTPUT LEDS

1.1 Objective(s).
I. To introduce students to the world of microprocessor and its
interfacing
II. To introduce students on how to program an assembler and
transfer the program into the microprocessor and memory.
III. To demonstrate basic i/o operation and applications, which is
to read input data from 8-bit DIP Switch (SW1) and Output
the results to 8 LEDs (L1 – L8)

1.2 Tools and components.


I. Personal Computer
II. Breadboard
III. LEDs
IV. Resistors
V. Switches
VI. Arduino UNO / ATMEGA328

1.3 Draw the circuit diagram.


I. ATMEGA328 to LED.
II. LED light to PORT OUT.
III. Switches to PORT IN.

1.4 Basic programming codes are given.


I. 1 switch to 1 LED.
II. Delay function.

1.5 Pre-lab assignments.


I. Study ATMEGA328.
II. State the specifications and ports assignments for ATMega.

1.6 Lab task for observation and discussion.


I. Single input and single output (given).
II. Multiple input and multiple output with delay.
III. Running light.
IV. Traffic lights.
MICROPROCESSOR EXPERIMENT 5:

-7 SEGMENT DISPLAY-

(WARNING NOTICE: PLEASE MAKE SURE YOU HAVE READ THE ATMEGA328
MICROPROCESSOR TRAINERS MANUAL AND THE ARDUINO UNO MANUAL BEFORE STARTING
EXPERIMENT. THE MANUAL IS AVAILABLE IN ITALEEM)
EXPERIMENT # 5: 7 SEGMENTS DISPLAY
1.1 Objective(s).
I. To demonstrate microprocessor controller 7-segment display interface.
II. To demonstrate the flexibility and HMI interactive feature within the microprocessors.

1.2 Tools and components.


I. Personal computer (Atmel Studio)
II. two 7 segment display
III. Breadboard, resistors and jumper wires
IV. ATMega (Arduino board)
V. HD74LS48P

1.3 Draw the circuit diagram.


I. ATMega to 7 segment display with resistors
II. ATMega to 7 segment display with resistors and HD74LS48P

1.4 Basic programming codes are given.


I. Delay function

1.5 Pre-lab assignments.


I. Study ATMega, HD74LS48P and 7 segment display
II. State the specifications and ports assignments for ATMega, HD74LS48P and 7 segment
display

1.6 Lab task for observation and discussion.


I. Display no 4 on the 7 segment display without HD74LS48P
II. Display no 4 on the 7 segment display with HD74LS48P
III. Counting up from 00-99
MICROPROCESSOR
EXPERIMENT 6:

-MOTOR CONTROL-
EXPERIMENT # 6 : MOTOR CONTROL

1.2 Objective(s).
IV. To demonstrate microprocessor interfacing and control of a
DC motor.

1.2 Tools and components.


VII. DC Motor.
VIII. L293D.
IX. Breadboard and jumper wires.
X. ATMega / C Arduino

1.3 Draw the circuit diagram.


IV. DC Motor to L293D.
V. L293D to Arduino board.

1.4 Basic programming codes are given.


III. Delay Function

1.5 Pre-lab assignments.


III. Study L293D datasheet.
IV. State the specifications and ports assignments for ATMega.

1.6 Lab task for observation and discussion.


V. Drive the DC motor in clockwise and counter clockwise
direction
VI. Control Speed of the motor using PWM

You might also like