Survey Form

12
slide 1 Project 1 Task 1 T&N3311 PJ1 Information & Communications Technology Information & Communications Technology HD in Telecommunications and Networking 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 Neutr al Agree Agree Strongl y

description

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. Agree Strongly. Agree. Neutral. . Task 1 Briefing. T he Design of an Electronic Dice. The Technology. - PowerPoint PPT Presentation

Transcript of Survey Form

Page 1: Survey Form

slide 1

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD 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

NeutralAgreeAgreeStrongly

Page 2: Survey Form

slide 2

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD in Telecommunications and Networking

Task 1 Briefing

The Design of an

Electronic Dice

Page 3: Survey Form

slide 3

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD 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

Page 4: Survey Form

slide 4

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD in Telecommunications and Networking

System Configuration

RS232 to COM1

C Program on PCCircuit Board

Page 5: Survey Form

slide 5

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD in Telecommunications and Networking

What the Circuit Does

All communications is via RS232 (9600,N,8)When the button is pressed – circuit sends YWhen the button is released – circuit sends NBit 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.

Page 6: Survey Form

slide 6

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD in Telecommunications and Networking

System Diagram

Push switch sends Y

Release sends N

Send character to display pattern

Page 7: Survey Form

slide 7

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD 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

Page 8: Survey Form

slide 8

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD 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

Page 9: Survey Form

slide 9

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD 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

Page 10: Survey Form

slide 10

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD 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

Page 11: Survey Form

slide 11

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD 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

orDesign another game (or application) for the

board.Credit will be given for extra work done.

Page 12: Survey Form

slide 12

Project 1 Task 1

T&N3311 PJ1

Information & Communications TechnologyInformation & Communications TechnologyHD in Telecommunications and NetworkingHD 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 Rex Chow Wai Yin