BS ECE/5 th ear/!5A A""ign#ent 1. $icro%roce""or &". $icrocontroller Microcontrollers A #icro%roce"" i" a general-purpose 'igital co#%uter central %roce""ing unit. !o #a(e a co#%lete #icorco#%uter, )ou a'' #e#or) *+O$ an' +A$, #e#or) 'eco'er", an o"cillator, an' a nu#ber o- ./O 'e&ice". !he %ri#e u"e o- a #icro%roce""or i" to rea' 'ata, %er-or# e/ten"i&e calcualtion" on that 'ata, an' "tore the re"ult" in a #a"" "torage 'e&ice or 'i"%la) the re"ult". !he 'e"ign o- the #icrocontroller i" 'ri&en b) the 'e"ire to #a(e it a" e/%an'able an' -le/ible a" %o""ible. Microcontrollers A #icrocontroller i" a true co#%uter on a chi%. !he 'e"ign incor%orate" all o- the -eature" -oun' in a #icro0%roce""or C123 AL2, 1C, S1, an' regi"ter". .t al"o ha" +O$, +A$, %arallel ./O, "erial ./O, counter" an' a cloc( circuit. !he #icrocontroller i" a general0%ur%o"e 'e&ice #eant to rea' 'ata, %er-or# li#ite' calculation" on that 'ata an' control it" en&iron#ent ba"e' on tho"e calcualtion". !he %ri#e u"e o- a #icrocontroller i" to control the oe%ration" o- a #achine u"ing a -i/e' %rogra# that i" "tore' in +O$ an' 'oe" not change o&er the li-eti#e o- the ")"te#. !he #iccontroller i" concerne' 4ith getting 'ata -ro# an' to it" o4n %in"5 the architecture an' in"truction "et are o%ti#i6e' to han'le 'ata in bit an' b)te "i6e.
Summary !he contra"t bet4een a #icrocontroller an' a #icro%roce""or i" be"t e/e#%li-ie' b) the -act that #o"t #icro%roce""or" ha&e #an) o%eration co'e" *o%co'e", -or #o&ing 'ata -ro# e/ternal #e#or) to the C125 #icrocontroller" #a) ha&e one or t4o. $icro%roce""or" #a) ha&e one or t4o t)%e" o- bit0han'ling in"truction"5 #icrocontroller" 4ill ha&e #an). 2. Late"t Bu" .nter-ace 3. %ic1789:: 1.C1789:: Controller boar' -eature" the %o4er-ul $icrochi% 1.C1789:: $icrocontroller. Co#bine' into a ea") to u"e an' rea') to run boar' co#%lete 4ith all the nece""ar) co#%onent" -or %lugging 'irectl) into )our ")"te#. !he 1.C1789:: $icrocontroller inclu'e" 9(b o- internal -la"h 1rogra# $e#or), together 4ith a large +A$ area an' an internal EE1+O$. An 90channel 100bit A/; con&ertor i" al"o inclu'e' 4ithin the #icrocontroller, #a(ing it i'eal -or real0ti#e ")"te#" an' #onitoring a%%lication". All %ort connector" are brought out to "tan'ar' hea'er" -or ea") connect an' 'i"connect. .n0Circuit %rogra# 'o4nloa' i" al"o %ro&i'e', enabling the boar' to be ea"il) u%'ate' 4ith ne4 co'e an' #o'i-ie' a" require', 4ithout the nee' to re#o&e the #icrocontroller. All the nece""ar) "u%%ort co#%onent" are inclu'e', together 4ith a 1o4er an' 1rogra##ing LE; -or ea") "tatu" in'ication. 1lu" a re"et "4itch -or %rogra# e/ecution an' a +S232 connection -or 'ata tran"-er to an' -ro# a "tan'ar' +S232 %ort, a&ailable on #o"t co#%uter". !he ne4 1.C1789:: Controller i" the i'eal "olution -or u"e a" a "tan'ar' controller in #an) a%%lication". !he "#all co#%act "i6e co#bine' 4ith ea") %rogra# u%'ate" an' #o'i-ication", #a(e it i'eal -or u"e in #achiner) an' control ")"te#", "uch a" alar#", car' rea'er", real0ti#e #onitoring a%%lication" an' #uch #ore. !hi" boar' i" i'eal a" the brain" o- )our robot or at the center o- )our ho#e0#onitoring ")"te#. Sa&e ti#e an' #one), b) "i#%l) buil'ing )our ancillar) boar'" an' #onitoring circuit" aroun' thi" ine/%en"i&e an' ea") to u"e controller.