3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

14
3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng
  • date post

    20-Dec-2015
  • Category

    Documents

  • view

    220
  • download

    0

Transcript of 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

Page 1: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

3D Wireless Mouse

Shirley Li

Matt Tanwentang

Joseph Cheng

Page 2: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

General Overview

WirelessFPGA Calculations and InterfacingPS/2 Interface

Page 3: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

Accelerometer Transmitter Receiver

x axis

y axis

z axis

ADC CC1010 CC1010

Lab Kit

UART

Batteries

Wireless Segment Block Diagram

Page 4: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

LIS30L02 Accelerometer

3-Axis acceleration readings

Radiometric analog voltage output

2g/6g range

Evaluation board

Page 5: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

CC1010 RF Transceiver and Microcontroller

3 Channel 10 bit ADC

UART Interface

FLASH programmer

C-compiler and Library

868 MHz frequency band

Page 6: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

Testing the RF Segment

ADC outputs correct data

Wireless kit can transmit data

Wireless kit can receive data

Wireless kit can interface with Labkit via UART

Page 7: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

FPGA

UART Interface

Initialization

Tilt rotation?

Filter

Integration

PS/2 Interface

Page 8: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

FPGA: Block Diagram

Page 9: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

FPGA: Detail Block Diagram

Page 10: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

PS/2 Mouse Interface

Bit 7 Bit 6 Bit 5 Bit 4 Bit 3 Bit 2 Bit 1 Bit 0

Byte 1 Y overflow X overflow Y sign bit X sign bit Always 1 Middle Btn Right Btn Left Btn

Byte 2 X Movement

Byte 3 Y Movement

PS/2 Mouse data packet

Reads spatial data from accelerometer Translates data into mouse movement and click data Serializes mouse information into PS/2 format Reads and responds to host requests

Page 11: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

Device to Host Communication

Host to Device Communication

Page 12: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

FSM

Clock Generator

Interpreter

clock data

SerializerDe-Serializer

ctrl

ctrl

ctrl

dx

ctrl

dy z

mouse_out response

buttons

reset

Overall PS/2 Interface Block Diagrampos_reset

Page 13: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

Reg 0 Reg 0 Reg 10.....

Serialized Data

11-bit packet

8-bit request [9:2]

11-bit packet (reversed)

Start (0)Data Byte

8XORParity

Stop (1)

11

Bit-Shifter

11Bit 0

Serialized Data

clk

ld

Error

Parallel-SerialConverter

Serial-ParallerConverter

Page 14: 3D Wireless Mouse Shirley Li Matt Tanwentang Joseph Cheng.

Timeline

Mon, Apr 25: Wireless communicationFri, Apr 29: FPGA calculation, PS/2

interfaceWed, May 6: Complete IntegrationFri, May 8: Tilt translation?