jumbled words - 8085 projects8085projects.in/wp-content/uploads/2016/12/122123report.pdf · 2016....

15
JUMBLED WORDS By: Prateek Jesingh(122/EC/13) Pratyush Bansal(123/EC/13) The project is a 2-player game wherein a jumbled word is first shown to the player through the LCD display. The player guesses the correct word and enters it through a keyboard. If the guessed word is correct, LED goes on and the player gets +1 points otherwise the player gets 0 point. The game would be played in 1 round of 5 words each. The score of every player would be displayed in the LCD display. The player with the better score, wins the game. Keywords: 8085, 8255, Keyboard, LCD Display, Switch, Word Jumble EC-316 Microprocessor 8085 Project NETAJI SUBHASH INSTITUTE OF TECHNOLOGY

Upload: others

Post on 25-Mar-2021

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

JUMBLED WORDS

By: Prateek Jesingh(122/EC/13)

Pratyush Bansal(123/EC/13)

The project is a 2-player game wherein a jumbled word is first shown to the player through the LCD display. The player guesses the correct word and enters it through a keyboard. If the guessed word is correct, LED goes on and the player gets +1 points otherwise the player gets 0 point. The game would be played in 1 round of 5 words each. The score of every player would be displayed in the LCD display. The player with the better score, wins the game. Keywords: 8085, 8255, Keyboard, LCD Display, Switch, Word Jumble

EC-316 Microprocessor 8085 Project

NETAJI SUBHASH INSTITUTE OF TECHNOLOGY

Page 2: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

MOTIVATION

To learn more about the functioning of 8085 and 8255.

To learn about integration of push button matrix keyboard with 8255 and

using LCD to display user input.

Using 8085 to make the word jumble easy and freer of human errors.

JUSTIFICATION

The idea of the project came up seeing the popularity of games like

scrabble, word jumble, crossword etc.

Therefore, a fully automated Word Jumble using microprocessor 8085

was thought upon as a good idea.

The game is user friendly and involves users to compete against each

other with no hassles of maintaining the score manually. There can be varied amendments that can be incorporated to make the

project more complex and increase its utilisation like user can select the

category of words he experts in, adding a functionality to undo any wrong

ans , option for a rematch etc.

Page 3: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

BLOCK DIAGRAM

Page 4: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

CODE FLOWCHART

START

Display the project title on LCD

Display the next problem

word and counter is set for 5

key entries

Counter is set for 5 words

And score is set to 0

Check correctness

Enter key through keyboard

Decrement key counter

CORRECT

WRONG

Page 5: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

Is key

counter = 0?

Decrement Word Counter

and Increment Score

Is word

counter =0?

Display Score of Player

YES

NO

END

Page 6: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

SC

HE

MA

TIC

Page 7: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

INTRODUCTION

8085 Microprocessor

8255

It is being operated in MODE 0

Here the Port A is used as an input

port and the C port (PC3-PC7) as output

for the keyboard

The Port B and Port C(PC0-PC2)

are used as output for the LCD

Page 8: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

KEYBOARD

Initially, when the switch is not pressed the outputs are high.

One by one each column is grounded

When the switch is pressed the

corresponding row gets grounded and the corresponding data in input into 8255

Page 9: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

LCD

The project uses a 16x2 LCD with a backlight for display purposes. The LCD is connected to 8255

DECODING

LOGIC

The project used 2 3x8 decoders, one for I/O and another for memory

Page 10: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

BOARD LAYOUT

Page 11: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port
Page 12: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port
Page 13: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

TESTING

All the IC’s were tested with a IC tester in the Lab

All the switches were tested with a multimeter

Continuity between lcd port,8255 and the trimpod was tested

using multimeter.

Checking that all the IC’s were getting the power.

Testing whether LCD port is internally shorted. (We had to do this because of the errors we were facing with our lcd, in the end

we found that 2 of the ports were getting shorted because of the female bergstrip)

8255 was tested by setting all the ports as output ports and then

outputting all high through the program. Then all the ports were tested using multimeter.

For the keyboard testing, at the end of each subroutine LED was made to glow at SOD pin.

Page 14: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

GANTT CHART

*Planned

Our Project proposal and Circuit design tasks took more time than we had

anticipated. We also didn’t account for the End semester exam. Due to these

reasons our projects was submitted 23 days late.

Page 15: JUMBLED WORDS - 8085 Projects8085projects.in/wp-content/uploads/2016/12/122123Report.pdf · 2016. 12. 3. · 8085 Microprocessor 8255 It is being operated in MODE 0 Here the Port

BIBLIOGRAPHY

Microprocessor, Architecture, Programming by Ramesh Gaonkar o Section 17.2(Matrix Keyboard)

o Appendix E

o Section 17.1.2(LCD Display)

http://gradestack.com/Microprocessors-and/ADC-DAC-

Keyboard-/Keyboard-Interfacing-With/19326-3912-38239-study-

wtw

Eagle online helpguide

16x2 LCD Datasheet

8255 Datasheet