Submitted by: Submitted by joeliu7734
Views: 547
Words: 992
Pages: 4
Category: Science and Technology
Date Submitted: 12/29/2010 08:56 AM
Hong Kong University of Science and Technology
ELEC 254 Fall 2007
Project Report
Group 8
Game Controller
|Group Member |ID |e-mail |
|Cheng Yee Hin |06618005 |ee_cyhab |
|Choy Wai Ho |06617996 |ee_cwhag |
|Lui Ka Ho |06619796 |ee_lkhag |
[pic]
Table of content
Introduction 2
Brief description 3
Instruction 4
Setup 4
Operation 4
Limitation 4
Hardware description 5
Hardware Used 5
System and Block Diagram 6
Software description 7
Software Used 7
Mouse Protocol 8
Flow Chart 9
Summary 10
Source code 11
Introduction
In this project, we are going to construct a mouse which uses 8051 as the main control unit. As a result, our product will function as a tradition serial mouse function. That is: left click, right click, move the cursor to right, move the cursor to left, move the cursor upward and move the cursor downward.
[pic]
Brief description
Our project can be divided into two part, software and hardware. First of all is hardware, in-order to construct a mouse. An acceleration sensor was used as to sense the motion of the hand of the user. After we calculate the input and map it to a certain pattern then we can control the mouse cursor and we are done.
[pic]
Instruction
Setup
First of all, you have to plug the RS232 connecter to the computer serial port. Then you should go to control panel and select install new hardware.
After a few seconds windows will detect the device, and then you can use it now.
Operation
To use the device, you have to move your hand according to the direction you want the cursor move...