Virtual Basketball: How Well Do You Shoot - PowerPoint PPT Presentation

About This Presentation
Title:

Virtual Basketball: How Well Do You Shoot

Description:

AD7810 10-bit A/D Converter. Sample at 1 kHz. Velocity & Position Block Diagram ... Conclusion. practice shooting without a court. Whenever. Game for the Wii ... – PowerPoint PPT presentation

Number of Views:53
Avg rating:3.0/5.0
Slides: 14
Provided by: chu9
Learn more at: http://web.mit.edu
Category:

less

Transcript and Presenter's Notes

Title: Virtual Basketball: How Well Do You Shoot


1
(No Transcript)
2
Virtual Basketball How Well Do You Shoot?
  • Chun Li Jingwen Ouyang
  • 6.111 Spring 2007

3
System Overview
4
Accelerometer A/D Converter
  • ADXL330 3-axis Accelerometer
  • 3g range
  • Operating voltage 3V
  • 300 mV/g sensitivity
  • AD7810 10-bit A/D Converter
  • Sample at 1 kHz

5
Velocity Position Block Diagram
6
Calibration
  • Obtain player height
  • Calculate initial x, y, z positions
  • Why Variances
  • 0g bias point
  • sensitivity

7
Game Display Overview
Initial positions
Initial speeds
10 x 3
10 x 3

labkit_clock
pixel_clock
DCM
To All
Game Logic
Reset Replay
reset_sync replay_sync
Debouncer/ Synchronizer
Ball x, y, z
Shadow
Positions
Positions
10 x 3
10 x 3
pixel_count 10
Display Field
VGA Controller
line_count 10
24 rgb_signal
1 x 4 VGA signals
8
Game Logic
Status
2
status
ball_x,y,z
10 x 3
Get Ball position (FSM)
Get Shadow Position
9
Calculations
  • Speed
  • Vz g t Vz (only vertical direction has
    acceleration)
  • t time between each frame
  • Position
  • X Vx t X
  • Y Vy t Y
  • X Vz t Z
  • 3D to 2D conversion
  • W Z X sin(a) Y sin(b)
  • U X cos(a) Y cos(b)

10
Display Field
3D to 2D Converter
ball_x,y,z
10 x 3
ball_x,y
10 x 3
pixel_count 10
Address Counter For ROM
line_count 10
7 ball_addr
ROM
2 color_index
Color Mapping
rgb_ball
24
RGB Controller
24
24 x 4
rgb_signal
rgb signals for the shadow, player, scores, and
background, which are obtained similarly
11
Game Display Interface (1)


2


4

12
Game Display Interface (2)
13
Conclusion
  • practice shooting without a court
  • Whenever
  • Game for the Wii
Write a Comment
User Comments (0)
About PowerShow.com