100 likes | 296 Views
EEL 5666: IMDL. Sensor Report. Sensor Report: Introduction. Sensor Suite Bump Sensor IR Sensors Optical Mice. R1. R2. R3. R4. R?. Vcc. Vcc. Vcc. Vcc. Bump Switch Design. S1. S2. S3. S4. Analog(0). Sensor Report: Bump Sensor. Vcc. IR Sensor. IR Sensor. IR Sensor.
E N D
EEL 5666: IMDL Sensor Report
Sensor Report: Introduction • Sensor Suite • Bump Sensor • IR Sensors • Optical Mice
R1 R2 R3 R4 R? Vcc Vcc Vcc Vcc Bump Switch Design S1 S2 S3 S4 Analog(0) Sensor Report: Bump Sensor
Vcc IR Sensor IR Sensor IR Sensor Infrared Sensor Design Analog(1) Analog(2) Analog(3) Sensor Report: IR Sensors
Sensor Report: Optical Mice • How Optical Mice Work:
Sensor Report: Optical Mice • How Optical Mice Work: • Serial interface • Data, Clk • State Machine • Inhibit USB • Send two commands • Read Data Stream
Sensor Report: Optical Mice • Data Stream
8 A15 A14 A13 A12 R/W Eclk AS PortC on HC11 Vcc Mouse Mouse Optical Mouse Design Clk Data Mouse Clk Data Mouse FPGA Enable Reset 8 bit out Reset HC11 Sensor Report: Optical Mice
Sensor Report: Optical Mice • Programming HC11 • Memory mapped: 0x7000 • Output order • MCCR: condition code register for mouse 1 • X[15..8]: upper eight bits of x data for mouse 1 • X[7..0]: lower eight bits of x data for mouse 1 • Y[15..8]: upper eight bits of y data for mouse 1 • Y[7..0]: lower eight bits of y data for mouse 1 • MCCR2: condition code register for mouse 2 • X2[15..8]: upper eight bits of x data for mouse 2 • X2[7..0]: lower eight bits of x data for mouse 2 • Y2[15..8]: upper eight bits of y data for mouse 2 • Y2[7..0]: lower eight bits of y data for mouse 2
Sensor Report: References • [1] http://www.altera.com/ • [2] http://www.howstuffworks.com/mouse3.htm • [3] Ty Black, Sensor Report, IMDL • [4] Ty Black, Final Report, IMDL • Acknowledgement: Ty Black