Why Laser Mouse? Professors Business Professionals
How Does it Work?
Camera to FPGA Find Brightest 3 Pixels in a Row Color Mapping Send Middle Pixel Data to Next Step - Microcontroller
Camera to FPGA: Data Flow
XBUS: FPGA to Microcontroller Use Xbus Interface we designed in Class Only need one way communication Takes Bright Spot Pixels from FPGA and sends them to Microcontroller
Microcontroller Data Flow Takes Bright Spot Information from FPGA Converts it from Camera Pixels to Laptop Pixels Data Flow (Shown Below) Get Data from XBus Correlation & Mapping
Relative Coordinates & Calibration Point 1 Get Absolute Coordinates from Camera Find Delta X and Delta Y These are Relative Coordinates to Send to PS/2 Find Boundaries of Monitor Projection Delta X Point 2 Delta Y Click 1 Click 2
PS/2: Microcontroller to Laptop Ships it to laptop through PS/2 (Mouse) Port PS/2 Packet To PC Mouse Click
PS/2 Protocol Send 3 Data Packets Mouse Click and Movement Info Relative X Coordinates Relative Y Coordinates Keep Clock Low for 170 microseconds between packets
Design Decisions Good Decisions Bad Decisions Used RC2 Camera and provided camera project Bad Decisions Tried to implement a Software (Win NT) Laser Mouse Driver
What Works…and Almost Works Pin Issues
Future Improvements Software Laser Mouse Driver Palm Pilot Graffiti style Handwriting Recognition Wireless Mouse Click Button
Questions?