0% found this document useful (0 votes)
4 views

Microprocessor HW Project

The project involves designing a Smart LED Pattern Selector using the Intel 8086 microprocessor and 8255 PPI, where users input a 4-digit password via a keypad to access and select from predefined LED patterns. Each team must customize the key-pattern selection, and the project requires various components including LEDs, a matrix keypad, and assembly code for functionality. Deliverables include a Proteus simulation file, a detailed report, and the assembly code file, with grading based on proper connections, interfacing, and functionality.
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)
4 views

Microprocessor HW Project

The project involves designing a Smart LED Pattern Selector using the Intel 8086 microprocessor and 8255 PPI, where users input a 4-digit password via a keypad to access and select from predefined LED patterns. Each team must customize the key-pattern selection, and the project requires various components including LEDs, a matrix keypad, and assembly code for functionality. Deliverables include a Proteus simulation file, a detailed report, and the assembly code file, with grading based on proper connections, interfacing, and functionality.
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/ 3

Princess Sumaya University for Technology

Computer Engineering Dept.


22344 – Microprocessors - Spring 2025
Hardware Project

Smart LED Pattern Selector Using 8086 and 8255

In this project, you will design and implement a microprocessor-based Smart LED Pattern
Selector using the Intel 8086 microprocessor, the 8255 Programmable Peripheral Interface, a 4x4
matrix keypad, and an array of 8 LEDs.

Features:

o Use the keypad to input the 4-key lock pattern. The 4-key password should be
constructed by concatenating the last two digits of the first student's ID with the last two
digits of the second student's ID, resulting in a 4-digit number. Each digit corresponds to
a keypad key.
o If the login access is unauthentic, a buzz sound should be generated.
o If the login access is authentic, you are given the access to LED pattern selector.
o Select one of four predefined LED lighting patterns from a common pool using
designated key presses. Each key corresponds to a unique pattern. When a key is
pressed, the system activates the associated LED pattern using software-based delay
loops. The pattern continues to run until another key is pressed to trigger a different
pattern. Use software delays.

Each team must customize the key-pattern selection, for example:

Example for Team A:


Assigned Key Assigned Pattern
1 P1 (Left-to-right)
3 P3 (Binary counter)
A P5 (Random flash)
D P6 (Knight Rider)
Example for Team B:

Assigned Key Assigned Pattern


2 P2 (Alternate Blink)
4 P4 (Ping-Pong)
7 P7 (Prime Numbers)
C P8 (Gray Code)

1
• Pattern Pool (Shared Among Students)

Pattern Code Pattern Name Description


P1 Left-to-Right Wave LEDs light up from left to right sequentially
P2 Alternate Blink Even and odd LEDs blink alternately
P3 Binary Counter LEDs count from 0 to 255
P4 Ping-Pong Bounce LEDs light back and forth
P5 Random Flash LEDs turn ON/OFF randomly
P6 Knight Rider Effect Smooth shifting LED effect
P7 Prime Number LEDs LEDs light only for prime numbers (0–255)
P8 Gray Code Counter Displays binary-to-Gray code sequence

Components Required:

1. 8086 Microprocessor.
2. 8255 PPI (Programmable Peripheral Interface) - operate in mode 0.
3. 4x4 Matrix Keypad - For user authentication.
4. Use Proteus internal clock for simulation. Real 8284 is only required for lab
demonstration, not in Proteus.
5. 8 LEDs –to generate the lighting patterns.
6. Latches (74LS373), transceivers (74LS245), 3-to-8 Line Decoder (74LS138) - to prepare
the signals of 8086 to interact with the system.
7. Any needed logic gates, resistors, wires, power supply.

Assembly code

- The pre-set 4-key login lock pattern storage in memory.


- The 8255 initialization (define the address port and send the control word).
- Keyboard scanning logic.
- Password validation logic.
- LEDs lightning patterns control.

Deliverables:

- Proteus Simulation File (.pdsprj): Full design schematic diagram showing your design
details (components, connections and decoding circuits). Your schematic should be neat
and well designed.
- A report describing your design step by step with a flow chart describing how your code
is working. Clearly state and describe the ports of the 8255.
- Assembly code file: contains the code that enables the microprocessor to perform the task
and interact with the keypad and LEDs.
-

2
Grading Rubric:

In this project, students work in teams of two students each.


- Any added features, not mentioned in the requirement will be given an additional
bonus.
Item Sub item Grade
Proper connection of the components with 8086
Proteus 10
with correct addressing
Correct interfacing with Keyboard and LEDs 5
Initialization of 8255 3
Assembly code LED pattern generation and execution 3
Keyboard interfacing and scanning 6
Password verification program 8
Hardware Design Connectivity 5
Implementation
Proper functioning 10

Total 50

You might also like