homework week06

2
DIGITAL DESIGN 2 COURSE Homework for 6 th Week Teaching Assistant Group, Course 54 th 2nd March 2014 This is an individual homework. Topic: Design and simulate a PIC program with the abilities of displaying time, changing time and setting up timer for lamp. • Requirements: Read time from a real time IC (DS1307 for example). Display time on a LCD. Change time using a keypad (3x4 or 4x4). Using a button to turn on/off a LED. Be able to setup timer to turn-off the LED (lamp-sleeping timer). We do not require students to use timer/interrupt functions of PIC to setup lamp-sleeping timer. Students can setup lamp-sleeping time as following: Enter sleeping time (for example: 11h30) and when the clock in DS1307 reaches 11h30, the LED turns off. • Submitted files: Proteus simulation file: week6.dsn. Source code: week6.c. Binary file after compilation: week6.hex. All of these files have to be contained in one folder with the standard individual name. 1

Upload: truong-tuan-vu

Post on 25-Sep-2015

7 views

Category:

Documents


0 download

DESCRIPTION

Homework Week06

TRANSCRIPT

  • DIGITAL DESIGN 2 COURSE

    Homework for 6th Week

    Teaching Assistant Group, Course 54th

    2nd March 2014

    This is an individual homework.Topic: Design and simulate a PIC program with the abilities of displaying time, changing timeand setting up timer for lamp.

    Requirements:

    Read time from a real time IC (DS1307 for example).

    Display time on a LCD.

    Change time using a keypad (3x4 or 4x4).

    Using a button to turn on/off a LED.

    Be able to setup timer to turn-off the LED (lamp-sleeping timer).We do not require students to use timer/interrupt functions of PIC to setuplamp-sleeping timer.Students can setup lamp-sleeping time as following: Enter sleeping time (forexample: 11h30) and when the clock in DS1307 reaches 11h30, the LED turnsoff.

    Submitted files:

    Proteus simulation file: week6.dsn.

    Source code: week6.c.

    Binary file after compilation: week6.hex.

    All of these files have to be contained in one folder with the standard individualname.

    1

  • All members send homework to group leaders. The leaders collects these home-work and put them into a folder with the standard group name, compress it andsend it to our our email.Example:Standard individual folder name:[VXL-K56]Class_GroupX_WeekY_FullName_yymmddStandard group folder name:[VXL-K56]Class_GroupX_WeekY_yymmddPay attention: If any group has to/wants to submit homework again, send itagain to the first mail. When we check, we will check the last mail in the thread.Do not send many mail threads.

    Deadline:

    APEEE: 22:00, March 9, 2014.

    APBME: 22:00, March 12, 2014.

    TC2051: 22:00, March 9, 2014.

    TC2052: 22:00, March 10, 2014.

    References:

    Mail for assignment submission:[email protected]

    Link for downloading documents and weekly assignments:https://sites.google.com/site/setmicroprocessors/

    Question and discussion:http://www.facebook.com/groups/vxl.k56

    2