Presentation is loading. Please wait.

Presentation is loading. Please wait.

Slide 1 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Survey Form Simply put a cross in.

Similar presentations


Presentation on theme: "Slide 1 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Survey Form Simply put a cross in."— Presentation transcript:

1 slide 1 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Survey Form Simply put a cross in the appropriate answer for each question, e.g. The contact hours were sufficient Leave the other boxes blank  NeutralAgree Strongly

2 slide 2 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Task 1 Briefing The Design of an Electronic Dice

3 slide 3 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking The Technology  Based on the Microcontroller card you have built  Controlled by a C program in PC - this is what you must write  You do NOT have to program the microcontroller  ASCII characters are used to transfer data between PC and microcontroller

4 slide 4 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking System Configuration RS232 to COM1 C Program on PC Circuit Board

5 slide 5 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking What the Circuit Does  All communications is via RS232 (9600,N,8)  When the button is pressed – circuit sends Y  When the button is released – circuit sends N  Bit pattern of received character controls LEDs example: receives character @ which is 1000000 bit 6 LED turns ON, all others are off. or: receives character A which is ASCII 1000001 bit 0 and 6 LEDs turn ON.

6 slide 6 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking System Diagram Push switch sends Y Release sends N Send character to display pattern

7 slide 7 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Example of Controlling LEDs bit 6bit 5 bit 4bit 3bit 2 bit 1bit 0 Receives the ASCII character 4 This has bit pattern 0110100 So LEDs of bits 2, 4 and 5 are on Character to Control Display

8 slide 8 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Flow of Program Start: Wait until button pressed (receive Y) count=0 While button pressed (not received N) increment count if (count=7) count=1 LED pattern=count delay Return to Start

9 slide 9 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking What you have to do  Use hyperterminal or to familiarize yourself with the way the circuit board works  Practice using serial communications with C (see Help about Serial Communications)  Write pseudocode to describe the operation of the PC program  Write and debug your C program

10 slide 10 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking What you must submit  You should submit a short report on your program containing: o The Pseudocode o The C program (including comments) o A description of the operation of the program  Report to be submitted in week 20  Your lecturer will want to see the program working in week 20

11 slide 11 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking For the Brighter Students  It is possible that some groups will finish the program before week 20.  Think how the program can be extended or  Design another game (or application) for the board.  Credit will be given for extra work done.

12 slide 12 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Students for Interview The following students should remember their interviews Chan Tsz Ho Benny Choi Chak Hung Li Kwun Wah Chun Hiu Fung Kwong Yik Kin Chan Wan Hong Tam Chun Man RexChow Wai Yin


Download ppt "Slide 1 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology HD in Telecommunications and Networking Survey Form Simply put a cross in."

Similar presentations


Ads by Google