54 Pages

project39_presentation

Course: ECE 445, Spring 2008
School: University of Illinois,...
Rating:
 
 
 
 
 

Word Count: 937

Document Preview

GUIDED LASER MOUSE ECE 445: Senior Design Spring 2007 Samir Desai Howard Luo James Lin Project Description Through the combination of a standard laser pointer and a clicking device that we designed, we have revolutionized the presentation industry by introducing a new freedom of movement while maintaining control of the computer wireless and effortlessly Project Sub-units This project was divided into three...

Register Now

Unformatted Document Excerpt

Coursehero >> Illinois >> University of Illinois, Urbana Champaign >> ECE 445

Course Hero has millions of student submitted documents similar to the one
below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.

Course Hero has millions of student submitted documents similar to the one below including study guides, practice problems, reference materials, practice exams, textbook help and tutor support.
GUIDED LASER MOUSE ECE 445: Senior Design Spring 2007 Samir Desai Howard Luo James Lin Project Description Through the combination of a standard laser pointer and a clicking device that we designed, we have revolutionized the presentation industry by introducing a new freedom of movement while maintaining control of the computer wireless and effortlessly Project Sub-units This project was divided into three main sub-units: Device design and fabrication System integration and driver manipulation Image acquisition and analysis Device Circuit Design Goals of the Clicking Device: Wireless Simple Logic Low Power Consumption Configurable size No lag time Very little noise Transmission speed that allows rapid double clicking Design Basics Two capacitive push buttons send parallel signals that represent the Left and Right mouse clicks Parallel signals are encoded into a serial signal using an 8 bit shift register. The shift register provides a start and stop code that enclose the LR signals: 010LR010 Design Basics Continued Shift Register outputs serial signal to a Transmitter which then wireless sends the signal to a Receiver on a different board. Receiver takes the signal and sends it to a Max232 which converts the voltages into values the serial port will recognize and transfers them via DB9 and RS232 cable to the com port. 555 Timer Shift register needed a clock frequency that would be recognized by comport and be fast enough to allow a rapid double click. We chose 2400 bits per second (Hz) LM 555 Timer allowed us to generate a clock very near this frequency 555 Timer continued Using two resisters of value 1600 Ohms and 2000 Ohms and two capacitors of value .1uF and .01uF, we generated a clock signal of 2576 Hz with a duty cycle 64.3% 555 Generated Waveform Design issues and solutions After the basic design was completed, there were some problematic issues that needed fixing: Too much noise Power source regulation Square wave generation Clicker Schematic Receiver Schematic Printed Circuit Boards Once final boards were built and successfully tested, we designed PCBs Helped with size configuration Provided more suitable casing options PCB issues The PCBs for the clicker and the receiver were never successfully tested 555 timer Max232 Hardwiring Floating voltages PCB pictures: Clicker PCB pictures: Receiver Casing Pictures: Clicker Casing Pictures: Clicker continued Casing Pictures: Receiver Casing Pictures: Receiver continued Testing and Plots Capacitive button: Testing and Plots continued Transmitter to Receiver 2400 Hz: Testing and Plots continued Transmitter to DB9 input at 2400 Hz and 20 feet: Future Improvements Drag and Drop feature Miniaturization USB implementation System Integration Serial data read into COM port and analyzed Relative location of laser pointer acquired from image processing Integration of these two factors followed by mouse driver manipulation Block Diagram of Integration r e a d f r o m s e r ia l in t e p r r e t " i " s a n d " j " s l a s e r p o i n t e r p o s it io n r e t u r n s P o in t c la s s v a r s e t u p m o u s e c li c k i n p u t D O Serial Port Test HowTo Hardware: Serial loop back Software: Reads in data from the serial port and interprets data as Left or Right click Serial port loopback Serial port pin diagram RS232 Test Program RS232 Test Program RS232 Test Program RS232 Test Program Behind the GUI Serial Port Settings Baud Rate: 2400 Data Bits: 7 Stop Bit: 1 Parity Bit: none Reading from the Receiver SerialPort Class in .Net Framework Close: Closes the port connection and sets the IsOpen property to false Open: Opens a new serial port connection ReadExisting: Reads all immediately available bytes, based on the encoding, in both the stream and the input buffer of the SerialPort object. Write: Writes data to the serial port output buffer Process for reading COM port Open COM port On data received, read in data from COM port buffer Interpret data Close COM port GUI of COM port tester Reading from Image Processor clickLocation = detector.point; Mouse control HowTo Use import method SendInput of the user32.dll library DllImport the User32.dll Remember to add the library using System.Runtime.InteropServices; Testing Mouse Control Process for Mouse Control Set Text Left / Right Set the cursor to memorized location Set up the INPUT structure Fill it for mouse down and send the input Fill it for mouse up and send the input Image Processing Logitech QuickCam Fusion Microsoft DirectShow 320x240 BitMap ~8-10 fps Applied a red filter to camera lens Image Processing Image Processing Every 5 pixels of BitMap is checked (299 Re d ) + (587 Green) + (114 Blue) Brightness = 1000 Brightness = (299 Re d ) + (587 Green) ...

Find millions of documents on Course Hero - Study Guides, Lecture Notes, Reference Materials, Practice Exams and more. Course Hero has millions of course specific materials providing students with the best way to expand their education.

Below is a small sample set of documents:

University of Illinois, Urbana Champaign - ECE - 445
12 Volt Power Distribution System for Hybrid VehicleECE 345 Final Project ProposalEric Prybil Carl PalmerTA: John BensonSeptember 15, 1999IntroductionWe propose to design and implement a 12V Distributed Power System for the Hybrid Vehicle.
Cincinnati - ACTIVITIES - 2007
Lesson Plan 1 - Magnetic FieldBy Fengfeng Zhou Objectives: 1. Refresh and reinforce students' understanding about "Fields". They will understand that a field, such as magnetic field, is a special type of matter though it is invisible. They will know
Cincinnati - YR - 2004
LINEAR MODEL II LAST HOMEWORK ASSIGNMENT Due Monday March 14 Analyse the following example. There are 3 teaching methods. 4 teachers are a
Cincinnati - YR - 614
LINEAR MODEL II LAST HOMEWORK ASSIGNMENT Due Monday March 14 Analyse the following example. There are 3 teaching methods. 4 teachers are a
Cincinnati - LM - 614
LINEAR MODEL II LAST HOMEWORK ASSIGNMENT Due Monday March 14 Analyse the following example. There are 3 teaching methods. 4 teachers are a
University of Illinois, Urbana Champaign - CI - 336
7#$# #N"# m#4#4#4#4#.#A8#A8#A8#A8 #AT#F#A#A#BV#x#4<#B# #B#I#*#I#K#4#I#C#I#I#N#I#I#I# #I#I#I#Name(s) Period appropriate for audience (10)#too difficult/ too elementary#frequently inappropriate#at times inappropriate#couple of problem spots#perfect f
University of Illinois, Urbana Champaign - CI - 303
Robert Stone C&I 303 September 29, 2003 Classroom watching response One of the things I noticed about observing the Danville classroom was that even though the students were supposed to be doing the homework individually it seemed that many were work
University of Illinois, Urbana Champaign - IB - 453
Decomposing seed limitationSpecies can be dispersal limited either because of: Insufficient seed production, or inadequate distribution of seeds produced. Seed limitation: Proportion of sites not receiving seeds of a given species Can be broken down
UNF - OSPREYJOUR - 2006
System Simulations of DSTRD and TH-PPM for Ultra Wide Band (UWB) Wireless CommunicationsKevin Phillips Faculty Sponsor: Dr. Susan Vasana, Assistant Professor of Electrical Engineering Abstract Following FCC approval of Ultra-Wide Band (UWB) radio ru
UNF - COP - 2220
COBTEST COBTEST is a debugging tool available for use with COBOL programs. THE FOL
UNF - CAP - 4630
TINA -> ? 86'GV | TINA -> 6843726ANTJE -> ?Z!ES-= | ANTJE -> 8034673LISA -> JK#XMG | LISA -> 72609156843726 -> ; 01, | 6843726 -> TINA 8034673 -> &;A$T | 8034673 -> ANTJE7260915 -> N";SE | 7260915 -> LISA TINE -> 1F&KV]:
UNF - COP - 6557
The Gewiz Language by Kyle Hegeman Chris Beckenbach Laura Grier Programming Language Paradigms CIS6930CT Dr. Eggen April 25, 2002The Gewiz LanguageIntroductionThe latest generation of video cards contain a programmable processor. Two of these ar
UNF - COP - 6557
vertex_program main():'pos = input_position * Matrix(0 TO 3);output_position = 'pos * Matrix(4 to 7);'norm = input_normal dot Matrix(0 TO 2);output_texture0 = 'norm dot Vector(8);output_texture1 = 'norm dot normalize(Vector(9) - 'pos);out
UNF - COP - 4610
HyperThreadingImproves processor performance under certain workloads by providing useful work for execution units that would otherwise be idle Duplicates sections of the processor those that store the architectural state does not duplicate ma
UNF - COP - 2220
C ProgrammingLecture 16 PointersPointersA pointer is simply a variable that, like other variables, provides a name for a location (address) in memory. a But the value that is stored in a pointer is always the address of another memory location.a
UNF - COP - 2220
C ProgrammingClass 10 Selection Making DecisionsRelational, Equality, and Logical OperatorsRelational Operators less than greater than less than or equal to greater than or equal to equal to not equal to (unary) negation logical and logical or <
UNF - COP - 2220
C ProgrammingLecture 4Tokens & SyntaxaThe compiler collects the characters of a program into tokens. Tokens make up the basic vocabulary of a computer language.aThe compiler then checks the tokens to see if they can be formed into legal st
UNF - COP - 2220
C ProgrammingLecture 3The Three Stages of Compiling a Programa aThe preprocessor is invoked The source code is modifiedThe compiler itself is invoked The modified source code is translated into object code (an object file) The loader uses
UNF - COP - 4620
Compiler Code Optimizations Compiler Code OptimizationsIntroduction Optimized code Executes faster efficient memory usage yielding better performance. Compilers can be designed to provide code optimization. Users should only fo
UNF - COP - 4620
Garbage Collection records not reachable reclaim to allow reuse performed by runtime system (support programs linked with the compiled code)Record Types live will be used in the future not live will not be used in the future reachable
UNF - COP - 2551
Chapter 7: InheritancePresentation slides forJava Software SolutionsFoundations of Program DesignSecond Edition by John Lewis and William LoftusJava Software Solutions is published by Addison-WesleyPresentation slides are copyright 2000 by Jo
UNF - COP - 2551
Chapter 5: Enhancing ClassesPresentation slides forJava Software SolutionsFoundations of Program DesignSecond Edition by John Lewis and William LoftusJava Software Solutions is published by Addison-WesleyPresentation slides are copyright 2000
UNF - COP - 2551
Writing Classesa aSee BankAccounts.java (page 188) See Account.java (page 189) An aggregate object is an object that contains references to other objects An Account object is an aggregate object because it contains a reference to a String object (
UNF - COP - 2551
Introduction to GraphicsaThe last one or two sections of each chapter of the textbook focus on graphical issues Most computer programs have graphical components A picture or drawing must be digitized for storage on a computer A picture is broken d
UNF - COP - 2551
Pr ogr am D evelopmentaThe creation of software involves four basic activities: establishing the requirements creating a design implementing the code testing the implementationaThe development process is much more involved than this, but t
UNF - COP - 2551
Chapter 1: Computer SystemsPresentation slides forJava Software SolutionsFoundations of Program DesignSecond Edition by John Lewis and William LoftusJava Software Solutions is published by Addison-WesleyPresentation slides are copyright 2000
UNF - COP - 2551
Chapter 4: Writing ClassesPresentation slides forJava Software SolutionsFoundations of Program DesignSecond Edition by John Lewis and William LoftusJava Software Solutions is published by Addison-WesleyPresentation slides are copyright 2000 b
UNF - COP - 2551
Repetition StatementsaRepetition statements allow us to execute a statement multiple times repetitively They are often simply referred to as loops Like conditional statements, they are controlled by boolean expressions Java has three kinds of repe
UNF - COP - 2551
Java Software SolutionsChapter 1 Computer Systems1Basic Computer Processing A computer system is made up of hardwareand software.Hardware: Chips, keyboards, disks, etc. Software: Programs and the data those programs use. Key Components
UNF - CHAPTER - 2551
Java Software SolutionsChapter 1 Computer Systems1Basic Computer Processing A computer system is made up of hardwareand software.Hardware: Chips, keyboards, disks, etc. Software: Programs and the data those programs use. Key Components
UNF - COP - 2551
Java Software SolutionsChapter 5 Enhancing Classes1References Revisited Object reference variablesAn object reference variable stores the address of an object. We use the dot operator to invoke an object'smethod.The address in the re
UNF - COP - 5
Java Software SolutionsChapter 5 Enhancing Classes1References Revisited Object reference variablesAn object reference variable stores the address of an object. We use the dot operator to invoke an object'smethod.The address in the re
UNF - CHAPTER - 2551
Java Software SolutionsChapter 5 Enhancing Classes1References Revisited Object reference variablesAn object reference variable stores the address of an object. We use the dot operator to invoke an object'smethod.The address in the re
UNF - COP - 2551
Chapter 2: Objects and Primitive DataPresentation slides forJava Software SolutionsFoundations of Program DesignThird Edition by John Lewis and William LoftusJava Software Solutions is published by Addison-WesleyPresentation slides are copyri
UNF - CHAP - 2551
Chapter 2: Objects and Primitive DataPresentation slides forJava Software SolutionsFoundations of Program DesignThird Edition by John Lewis and William LoftusJava Software Solutions is published by Addison-WesleyPresentation slides are copyri
UNF - COP - 2
Java Software SolutionsChapter 2 Objects and Primitive Data1Object-Oriented Programming This course introduces the idea of developingsoftware by defining objects: Objects with which we can interact via our programs. Objects which can inte
UNF - COP - 2551
Java Software SolutionsChapter 2 Objects and Primitive Data1Object-Oriented Programming This course introduces the idea of developingsoftware by defining objects: Objects with which we can interact via our programs. Objects which can inte
UNF - CHAPTER - 2551
Java Software SolutionsChapter 2 Objects and Primitive Data1Object-Oriented Programming This course introduces the idea of developingsoftware by defining objects: Objects with which we can interact via our programs. Objects which can inte
UNF - COP - 11
Chapter 11: RecursionPresentation slides forJava Software SolutionsFoundations of Program DesignThird Edition by John Lewis and William LoftusJava Software Solutions is published by Addison-WesleyPresentation slides are copyright 2002 by John
UNF - COP - 2551
Chapter 11: RecursionPresentation slides forJava Software SolutionsFoundations of Program DesignThird Edition by John Lewis and William LoftusJava Software Solutions is published by Addison-WesleyPresentation slides are copyright 2002 by John
UNF - CHAP - 2551
Chapter 11: RecursionPresentation slides forJava Software SolutionsFoundations of Program DesignThird Edition by John Lewis and William LoftusJava Software Solutions is published by Addison-WesleyPresentation slides are copyright 2002 by John
UNF - COP - 2551
COP 2551_43 Chapter 5 QuizName _ 6/24/2004For multiple choice questions, circle the letter beside the best answer. 1. Given the following instantiations and assignment statement: ChessPiece bishop1 = new ChessPiece(); ChessPiece bishop2 = new Che
UNF - COP - 2551
COP 2551 Summer 2004 Programming Assignment 4 = You are to write a java program that will perform the tasks described below and demonstrated in class. Be aware that there is a Cls.java class in the Program4 public subdirectory. You should begin using
UNF - COP - 4
COP 2551 Summer 2004 Programming Assignment 4 = You are to write a java program that will perform the tasks described below and demonstrated in class. Be aware that there is a Cls.java class in the Program4 public subdirectory. You should begin using
UNF - COP - 2551
COP2551Program 6Your sixth programming assignment is to create a scene with either a boat or a house and at least one person in the scene. You are to use the MED-Editor which you can copy in the 3rd floor lab or download from http:/www.med-editor
UNF - COP - 6
COP2551Program 6Your sixth programming assignment is to create a scene with either a boat or a house and at least one person in the scene. You are to use the MED-Editor which you can copy in the 3rd floor lab or download from http:/www.med-editor
UNF - COP - 2551
COP 2551 Summer 2004 Programming Assignment #3 Objectives: To obtain input from the keyboard using the InputStreamReader and BufferedReader classes .To create a separate class in addition to the driver class that contains the main() method. To insta
UNF - COP - 3
COP 2551 Summer 2004 Programming Assignment #3 Objectives: To obtain input from the keyboard using the InputStreamReader and BufferedReader classes .To create a separate class in addition to the driver class that contains the main() method. To insta
UNF - COP - 2551
Programming Assignment #1, Due Thursday May 20th by Start of Class Log into your Osprey account and use either vi or Pico (the text editors for this course) to enter and save the java program at the bottom of these instructions. Format the text as I
UNF - COP - 2551
UML Class Diagrams for Program 4ClassAveragesStudent1 *- name : Name - grades : Grades main(args : String[]) : void compareTo ( ) : int toString ( ) : String InsertionSort Name - fName : String - mInitial : String - lName : String getName( ) :
UNF - COP - 4
UML Class Diagrams for Program 4ClassAveragesStudent1 *- name : Name - grades : Grades main(args : String[]) : void compareTo ( ) : int toString ( ) : String InsertionSort Name - fName : String - mInitial : String - lName : String getName( ) :
UNF - COP - 2551
UNIX/LINUX TUTORIALHere is a minimal set of commands for the UNIX/LINUX systems: cat cd chmodDisplay or join files Change to another working directory Set access mode for a file or directory, for example $ chmod 700 phigbee The above command will a
UNF - COP - 2551
COP2551 INTRODUCTION TO viPaul HigbeeThe text editor named vi is a much more powerful editor than pico. It also takes more practice to learn to use vi. However, the time it takes to learn vi should be paid back within about two programming assign
UNF - COP - 2551
class Card implements Comparable{ . / construct with suit and face public Card(char currSuit, String currFace) / card describes itself (its suit and face) as a String public String toString() / interface method: compare this obje
UNF - COP - 3
class Card implements Comparable{ . / construct with suit and face public Card(char currSuit, String currFace) / card describes itself (its suit and face) as a String public String toString() / interface method: compare this obje
UNF - COP - 2220
C ProgrammingLecture 15Two Dimensional ArraysTwo-Dimensional ArraysaThe C language allows arrays of any type, including arrays of arrays.int a[100]; A 1-dimensional array capable of storing 100 integers. A 2-dimensional array capable of stori
UNF - COP - 3601
INSTALLING THE SIC SIMULATOR The SIC simulator is written in standard Pascal. It should be possible to install this simulator on almost any computer with a Pascal compiler, by making the minor changes described below. MAIN MEMORY SIZE The largest add
UNF - COP - 3601
Chapter 3 Loaders and LinkersPurpose and Function Places Linkingobject program in memoryCombines 2 or more obj programs Allows loading at different locations Relocation LinkageEditorProvides linking without loadingKinds of Loader
UNF - COP - 3601
Chapter 3 Loaders and LinkersPurpose and Function Places Linkingobject program in memoryCombines 2 or more obj programs Allows loading at different locations Relocation LinkageEditorProvides linking without loadingKinds of Loader
UNF - COP - 3601
HOW TO USE THE SIC LOADER This is an absolute loader that loads object programs in the format that is described in Section 2.1 of "System Software." The object program is read from file OBJFILE. After the program is loaded, the loader jumps to the in
UNF - COP - 3601
THE SIC SIMULATOR MAIN MEMORY SIZE The largest address in the simulated memory is hexadecimal 2FFF (decimal 12287). SIC FEATURES This version of the simulator supports most SIC/XE instructions and features (see the user documentation for details).H