Assignment Sept2014

download Assignment Sept2014

of 1

Transcript of Assignment Sept2014

  • 8/11/2019 Assignment Sept2014

    1/1

    Assignment for ECP2036 Microprocessor and System Interfacing

    Trimester 1, Session 2014201!

    Ma"im#m st#dents in a gro#p$ 6 %can &e from different 'ect#re gro#ps(

    Constr#ct t)e e'ectronic )ard*are designed &y t)e 'ect#rer and *rite assem&'yprogramme to perform t)e fo''o*ing tas+s$

    1 -e&o#ncing to#c) s*itc) %acti.e 'o*( to read t)e s*itc) press correct'y

    2 /pon increasing or decreasing to#c) s*itc) press, generate t)e p#'se *idt)

    mod#'ation %PM( signa' to increase or decrease t)e ang'e of t)e ser.o motor #sing

    interr#pt met)od

    3 -isp'ay a pattern for t)e " dot matri" disp'ay *it) at 'east 30 refres) rate

    4 -isp'ay anot)er pattern on t)e dot matri" disp'ay #pon to#c)ing a s*itc)

    ! Comm#nicate seria''y to a master 0!1 microcontro''er #sing t)e fo''o*ing

    protoco'$

    /pon recei.ing 57 from Master, rep'y 587 ecei.e an &it instr#ction from Master %eit)er 517 or 527(

    /pon recei.ing t)e instr#ction, rep'y 5P7

    E"ec#te t)e s#&ro#tine %eit)er o#tine 1 or o#tine 2(

    /pon comp'eting t)e ro#tine, rep'y 5-7

    8o# are *e'come to pac+age yo#r pro9ect *it) t)e a&o.e f#nctions tas+s into any

    app'ication

    : ;S!1 Microcontro''er *i'' &e gi.en toget)er *it) a printed circ#it &oard %PC