Professional Documents
Culture Documents
Unit 3 - Set 1
Unit 3 - Set 1
Lecture No 14
Topic(s) to
becovered
lneduden th PPI
Lecture Outcome (LO0)
Chalk& Talk/1CT Tool/ Any other Listen/ Participate /Discuss /Peer to Peer
Learning/Quiz /Role Play / Any other
Lecture Notes
Lntroducdion
an inportant role in ang
Memo a davie (Storage) and its
*Momog
hor to istface
micro lomput sypton. This chapter foous
a
sitk micoprocessor
meno chip orte i t and
veguhemert s
*Memoy has certain signal
Similailgs tie micopmesor jiiliatis a
Yead prom i regitos m
Yead from and uorte s
when t sarh to
aat ef signals
MonoryStrulure
and i veguinemerts
te
*The prmma tunkn t monog itoyacig s bat micropraes
should be ahle t vead pom and urite intá gáe regåtr af
a
a monay hip.
ae
Functin o Interdacng deuies
To reliee the processor trpm ine-Consuming aciÍes lke
Koy boand scaning ond diplog ngreshing
and tfe
75) To Tnterkace slos L/0 dosies t the fost microprocessor unlt
more
data tranger betiveen tin can be efeoted efiient
Etampe o feripheral lrtindacing uritk MicroproeMor
PPTI Micro
Tnbit Deuice Outpat rd
LCKey Prard)_ frowsio 8247
2ploy LED
L
M.I.E.T. Engincering College. Triehy MEN791/ MICIATRONICS
Reader may use the link to listen to the video of this lecture
You Tube
Reader may use the link to assess their understanding of the lecture.
Teachers nmay use the question lor conducting activity in the class
Topic(s) to
becovered
Archttecure e B255
Lecture Outcome (LO)
LO1
LO2
Reniae te Aeckitedn hk K2ss|ldsted
LO3
L04
Lecture Notes
toalues825S
l t Can be poganmad b transfor da under volaus Condelons gom simple I/o
to interupt T/o.
al Intel and mast ote icopresoa
*lt a Compat.ble, Sitk ales settg ond vexatirg hdiidhuols bitbs f
lt's,bt veat made
setl
portC modes 1 4m Mode2
Can qpnte
n 31lo OMade0, D Made
+ The 825s
Carpletek TTL
lonmpatrlde
le 2s
Archttedure of 8255
a
L/o dauics desgpel for uwe
The 825S is general purppre prgrarmmable
oitk lanelL Micwpmesors. lt Consit t 3-8hit bidkreenel T7o
pat [24 Ilb ines) at can be Conkacnd to met dheontsyto
Llo reeds
2-Blfor 8 8/7
ntevnatonal al|
Bus ooy P 1
orl lnaey
READ Garoup
B
WhWRTE nand
A ConNTROL
ALLDh1C Croup. B PB
PB-PP
C3-Chip okd
x Aloco on has iäpt solets be chip f enabes tbe Comminicaton between tbe
8255 A ond CPU
b wect cre
l t Connectad to t oulpit f addrass decoder ciratiry
when it RD (Rad)enabes tre
A low on Kia Ept 825s to ed te dabi Cor) stts intorrmalian
to re CPU onte dai bus.
WR-Write wrtë date (o) Contiol words indó 8255
A low on ta pin enabes te CPU to
KESET Conbial reglsb and all por A,B,C]
A frgh on is iput pins clears tk
are jnttiatad to put mode
out f 825s 1his s done s proet
xThas is Connocted to RESET
to
destradtien f raictry Cometed port kra
and one gbit dat inpet lath
One 3bt dati output Latehlbitfor
Port B oulpt LatchlB«ffer
and ore 8 hit dak npet b
Onbit dak
Pot-C undon he mado conbrol
This port Can he dtvidad ito too 4bit pors
latch and & can he sel for ontol
Each 4 bt port Contains a 4 bzt k Port4 48.
2
and stalia signols inputs
1gnas output
M.I.E.T. Engineering College, Trichy ME8791/MECHATRONICS
Reader may use the link to listen to the video of this lecture
You ube
Lecture No -21
Topic(s) to
becovered
1Pin Conkiguralan 4 1nqrammiog ood yeralins
Lecture Outcome (LO)
Chalk & Talk/1CT Tool/ Any other Listen / Participate /Discuss /Peer to Peer
Learning /Quiz /Role Play / Any other
Lecture Notes
n
82SS fas ho pins ad #o
angemot d pins ane shoun figure
RESET
Tho b an adtze ued t6
kigh bput reset 82sS. WWo RESET 2pt a kzk, te
ricl Yegbb b cead 4 al to porls ae
ot t tte iput mede. Uually RESET
OUT signal from 8ugs used to Yeset 825s
PA PAz PA PAo RD C GND A Ao HP% PP4 Po Pe P Pes
Pe. P8, PE
2
A 8255
D
RESET DeP D Ds O% Vec P®; P%
PESPE, P3
CA AoA
- -
STBA
18FA
L3 TRA
INTEB
TB
L INTRB
PBA PorkB
PE 1opt
Mode 0 Contiguyalion
A B
Cmaupob Gp
AoA-
-
handshake dati
tronyor onbesane zhtknes
bdiveclonal Lor) oitput Ponto
tat doihe input
can
eusedas
hardshake Lenes toe
*Ths means
Ps-PCq ioput/0utput lines
(Pebo-Pab7).
Pas be wad as
[Po-PCe) can
port C
The vernainng ittakselbmade O.
b hus to
to aa alae
alaue micoPoes
microprey
ghopB tesyen hus
ma be wa to eztend dok Controlea
The 825s b ad tom alpz
transfer dati bytes
ts
Bit ot7Reet [B3R] monemode is plicable to pod o Fach lrs
The Bt Sot lReset [B3R i Conkel sod
stlreset bg sahg laudrg
ofPort C [Plo-PC] Can he
BR, mode doas not aHat
Yegisla 4 lehion of
made are depedest
Ilo
BSR mds 4 I/0 made
ofo prti n
te operalion ef BSR mode
Jr
h i t à alup 0a e dont Cae bit.
brt
Bib Po,sD y last ke pins af t o r t
Pe,P?are usad to soledtd pinse
BL usd to ot/ed ko.
x B2 e B9/R 9at/Kat
O o xx
BSRmae Dort CaePoxt BitGt
Pe be st, then à be Conkal syste
naded et
an wnpe, t a
Since itb BSR made, Pg=o. o
w mat uwal, assne tHn be
Sme P, Ps,24 arehene,Ds -1, D2=0, P=1.
PUs as bo be soloteal, = 1. erbal arodFyaa
hahe st, henee loded t o
Pls atoe Valiea, OB LHex)
wrtlbe
Thus, @pe
D7PAPs2D222
O
M.I.E.T. Engineering College, Trichy ME8791/ MECHATRONICS
Reader may use the link to listen to the video of this lecture
You nmbe
Topic(s) to
becovered
Keyhard Interfaasa
Lecture Outcome (L0)
LO1
LO2
onemes istfo lotept mlrdedace gPeylael Rbuntrhor
LO3
LO4
Chalk& Talk /1CT Tool/ Any other Listen/ Participate /Discuss /Peer to Peer
Learning /Quiz /Role Play! Any other
Lecture Notes
KoBord Irtrpacig
A mQtiad of onteig pmgrans iló a micropracesor b thogk a kayboad oheh
Conabtoa et et wiha. uwel na eyboad anda clavrec
*o momentaj contadt iteh b apicall
to simple cira.t shosn in figue
Casiy be dotectel by a mioo paesor wiig
+5V leadigadgebaunce Traili edge boune
Suitdh
-To micropraesbof inp
Oguitch Open
Open
poT
gitch
Closd
Rll up rojilor povides logie | when te sotth operd and
gotch á coxd logic 0 uohen t a
micoprocesor, te adLon
b Conpariline glos
x Contact closes, te contact bounces leke a baU. ThBs bncg ofect pmdace
multiple pulses as shosn tgwe
K K2. +SV
Kayboard Trtonjaig Ro0
PA
80&S
Co
PAI
PAR -
8D86 PBo
PBI
PBot
Pa
Anangemontof bits in Port A simple Kayboardinshich koys
a
aearargadi
PAx Coniderad,
PAa PA2 PAL ros &Columns as shousnin ahoe igwe
lines ot 82sT. Colml
are
UnceFecoluons
a
wwads unlil
ounter-o hekr e:ts analo
logp,
olumns lo
which
ldicali g aR pe
on one ef exRHÍAfs Aabounee
20|omisec dlg is mal
ocrement Code rezte- Azimple
anofo
chek
Decnet Column lean A4bdbone tne,
preses.
gtM
o se2 key hzh, t e nokay
Tranyer Code
coluans denowal Card by a
t Actumalator 4 iniRal
dteclion
wwas
prewed 4 te
Stp noãe pule
Jot
To anid tha prtan, Vtbvatöyat te output t key ts ebouneTnsientT KayoNe
Use B itallk mules toms) 80JaT
la last yor
dor te trosiert
unit poria{
MPlss
2)
tiles dain
and acles a odysbb mde tat tuasa alid kiypr
teunpilbnà
tolumns r e low no), teo
a n g t te Coann t de prod Kog fonert ta Tnyprmatin t Hx
Fireal takabddarine te rao f
Code
Coda yor e prexd IPport 4 4-bStadetrom olP pprta coniertd s Ha at
jor oP
The 4 bt cade drom itk
08S P 82S5 fwnit
4 rits ALP fr
ALPfx hteta
detedtg akoy desee
ab
Intertae a
4x4 Peghod
AL Thedeboue fPa0A Jra kay Loms. hasate
h
t o koy Code in
dawnaig tedhnigue
M.I.E.T, Engineering College, Trichy MES791/ MECHATRONICS
S.No Title
Author Publisher
Reader may use the link to listen to the video of this lecture
You Tube
Reader may use the link to assess their understanding of the lecture.
Teachers may use the question for conducting activity in the class
ecure No
Topic(s) t
becovered
LE yht Intrhas
leeture Outcome (lt?)
Bloom's Level
At the end ofthis lecture, students will be able to
LO
L02
LOS
LO4
Lecture Notes
LED Inuae
, The Liit Entt Diokes are ud t splyplimikad det, rants, Cok
otal number of tharndts tht ae saplyd istixd,rlko
Cor) m i . The
mssy onh scraen
ahhe ay anant Asta my be dispayal
CRTatplay etis unets, di_it-l cloks,at
LEDS a e lomoal
usad on r yot pand
enë lkt eney
Diade sa dile hon canduit,
*The Lze Enitly
t5 www
LEP OR rälibn
BA wK-
Btb Bit6 w K
Commo Common
Ancce
Cthade
Rgisters cde
Clock blts
Flo Chart dizt ha
be operalons sajuere whreh dipbgs
a
The Flas chrt shaa
7 segrnent (LED)
Sement LED 2iplay Intnta e ik 8b
Decder Anade Anade Arede
EN
LCIPress BusAr Po e D2
abeaeah 4/64P414,P4164
CK
Reset
+5V
Program foY 7Segrnent LEPAiyplay Intrdace în 82SS
Flo Chart
STAR Intl vg sohbuue tor 7-sgmtdlisplag
LOad LS8 rom diplay Code Jutol 82Ss inittalizal n