Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
1.
Acknowledgement
EC-316:
2. Synopsis
MICROPROCESSORS
3. Project Description
4. Schematic Diagram
5. Board
file PE PATTA
PATTE
6. Main
Program
LFSR
BHAVNA
RACHURI and
47/EC/13
JATIN MAHAJAN 68/EC/13
7. Testing
and Debugging
8. Gantt chart: A comparison
9. Conclusion
10. Bibliography
PATTE PE PATTA
Acknowledgement
We would like to express our deepest gratitude and
heartfelt thanks to Professor Dhananjay V. Gadre for
giving us this wonderful opportunity to learn and grow.
Your constant vigilance, guidance and, mentorship has
enabled us to remain motivated and focussed
throughout. Had it not been for your continuous
attempts to push our limits, we would have never
achieved the best in the stipulated time.
We also acknowledge the support and help provided
to us by the entire CEDT, NSIT team, without which it
would have been extremely difficult to complete in the
given time frame.
We would also thank our parents, family, friends and
all the batch-mates, who have constantly supported
and helped us throughout the project.
PATTE PE PATTA
Synopsis
Patte pe patta is a very popular 52-card deck game.
Players throw cards alternatively playing to make a
match. A deck of 52 cards (mapped on 52 integers,
here) is distributed randomly and equally amongst two
players so that each player has a set of 26 cards. One
of the two players, starts the game by turning a card
from the top of his/her pile followed by the other player
turning a card from his/her pile. A match is made when
the same card (number) is thrown twice (once by each
player) and the whole lot of piled cards, thrown up till
that point is taken by the player who makes the match.
The game ends with one of the players exhausting
his/her cards; effectively winning the game.
PATTE PE PATTA
These numbers serve as the cards for the players
mapped to respective card numbers (0 -12) and deck
(clubs, diamonds, hearts and spades).
PATTE PE PATTA
Project Description
PATTE PE PATTA
Schema
tic
PATTE PE PATTA
Board Layout
Partially
soldered
board
PATTE PE PATTA
Main Program
Match
End
PATTE PE PATTA
LOOP6:
MOV A,C
RRC
JNC LOOP6
MOV A,B
ANI 068H
CMA
ANI 068H
MOV D,A
MOV A,B
ANI 097H
ADD D
MOV B,A
MOV A,C
RRC
MOV C,A
MOV A,B
RAR
MOV B,A
MOV A,C
RAL
RRC
MOV C,A
PATTE PE PATTA
statements resulted in 712 lines of code with a size of
1.4kB.
Hardware testing/debugging
Software testing/debugging
PATTE PE PATTA
Fully
soldered
board and
EEPROM
Jatin Mahajan 68/EC/13
programm
PATTE PE PATTA
Gantt chart: A
comparison
Actu
al
Propose
d
PATTE PE PATTA
Conclusion
A quick glance at the Gantt chart shall reveal shortcomings of
our project. We must concede that we were unable to meet
most of our deadlines on the hardware simulation and testing
front. Although in our defence, we will also like to concede
that:
We overestimated our and PCBPower (PCB printing
company)s efficiency.
We were sceptical of our efforts throughout the journey.
Here Id like to quote former Intel CEO and personal
computing pioneer, Andy Groves book title: Only the
Paranoid survive. It was our scepticism, our paranoia and our
cynicism about our efforts that helped us rise out to the top
despite falling short on deadlines. Delayed by 15 days, our
final schematic and board file didnt have a single error and
we received no warnings or defaults from the printing
company.
Over and above, while the Gantt chart enabled us to
strategize our activities and gave us direction throughout, it
also outlined our inherent shortcoming in thinking ahead of
time, as most of my fellow batch mates would agree.
PATTE PE PATTA
Bibliography
1.For Microprocessor 8085 theory and concepts:
Microprocessor Architecture, Programming and
Applications with the 8085, Sixth Edition by
Ramesh Gaonkar.
Online lecture series by Ajit Pal:
https://www.youtube.com/watch?
v=liRPtvj7bFU&list=PL0E131A78ABFBFDD0
2.For LFSR:
http://www.eng.auburn.edu/~strouce/class/elec625
0/LFSRs.pdf
https://www.maximintegrated.com/en/appnotes/index.mvp/id/4400
3.For other peripherals, the following datasheets:
ATMEL 256 (32K x 8) High-speed Parallel EEPROM:
AT28HC256N
Bhavna Rachuri 47/EC/13
PATTE PE PATTA
HITACHI 32,768-word 8-bit High Speed CMOS
Static RAM: HM62256B
3-Line to 8-line decoders/demultiplexers:
SN74LS138
Octal D-type transparent latch; 3-state: 74HCT573
LCD MODULE: ADM1602K-NSW-FBS-3.3v
4.For Programmable Peripheral Interface, INTEL 8255:
Microprocessor Architecture, Programming and
Applications with the 8085, Sixth Edition by
Ramesh Gaonkar.
5.For EEPROM Programmer:
Quick Start Guide by CEDT, NSIT