80 likes | 271 Views
Laser Pointer Mouse. Xinpeng Huang and Billy Putnam. Introduction. Objective: To control a mouse on a projected screen with a laser pointer. Buffer Video Input Initialize Image Processor Locate Laser Pointer Send mouse events through PS/2 to computer.
E N D
Laser Pointer Mouse Xinpeng Huang and Billy Putnam
Introduction Objective: To control a mouse on a projected screen with a laser pointer • Buffer Video Input • Initialize Image Processor • Locate Laser Pointer • Send mouse events through PS/2 to computer
High-Level Design RGB 12 ADV7185 20 Process And Store Camera Data Image Processing (find pointer) YCrCb 18 Camera addr 27 MHz 27 MHz global 9 x y 10 reset_sync global reset Move Mouse esync enable dsync draw S-Vid input csync Store Drawn Synchronize clear left Draw draw S-Vid output right lsync dx dy PS2 Interface Circled inputs from wireless rsync to computer
Process and Store Camera Data 27 MHz ADV7185 CLKB Camera Input Dual BRAM 256k x 12 27 MHz CLKA 20 YCrCb enable YCrCb to RGB WEA reset RGB Synch DINA reset_sync global 12 10 8 x y addr Address ADDRA 18 ADDRB DOUTB 12 addr RGB_out 18
Image Processing and Initialization Block Diagram 27 MHz Reset Enable Initial Corners to all corner locations to video processing Video Finder Render x y Find A to mouse move Sum/Average x’ Apply A Address Controller Address y’
PS/2 Mouse Interface dx dy buttons Control FSM Packaging (muxes) Serialization (shift reg) Clock Manager De-serialization ~10 KHz Clock bus 27 MHz Data bus