390 likes | 1.53k Views
Optical Encoder for a Game Steering Wheel May05-26 Client: Thomas Enterprises Advisors: Dr. James Davis Dr. Douglas Jacobson Team Members: Sam Dahlke, CprE Peter Fecteau, CprE Daniel Pates, EE Lorenzo Subido, EE April 19, 2005 Outline Introduction Research Design Implementation
E N D
Optical Encoder for a Game Steering WheelMay05-26 Client: Thomas Enterprises Advisors: Dr. James Davis Dr. Douglas Jacobson Team Members: Sam Dahlke, CprE Peter Fecteau, CprE Daniel Pates, EE Lorenzo Subido, EE April 19, 2005
Outline • Introduction • Research • Design • Implementation • Testing • Closing
Definitions • Analog to digital conversion (ADC) • Cycles per revolution (CPR) • Hardware interface driver (HID) • Optical encoder • Printed circuit board (PCB) • Potentiometer
Acknowledgements • Thomas Enterprises • Andy Bice – original designer • Dr. Jacobson and Dr. Davis
Problem Statement • Old design senses 256 positions • USB connectivity • New design must sense 1024 positions • Cost of $150
Solution Approach • Optical encoders replace potentiometers • New microcontroller handles 16 bit input and is compatible with old microcontroller • Assembly code interprets steering wheel motion
Operating Environment • Temperature of approximately 70°F • No moisture • Mostly dust-free conditions • Not intended to be dropped or thrown, but could withstand a drop from 2 - 3 feet
Intended Users • Serious video gamers • Race car drivers • Typically age 12–30 with a familiarity with computers
Intended Uses • In home at a table or desk on video games that are played on a personal computer • Used in racing games • Not used on game consoles such as Sony Playstation® or Nintendo Gamecube®
Assumptions • Modify existing PIC Assembly code • Original design available • Use of second power source
Limitations • Same PCB size • Optical encoder placement • $150 maximum cost • PCB should have all the same connections, inputs, and outputs
Expected End-Product • More sensitive steering wheel • 1024 positions from wheel and pedals • Same PCB dimensions • At least prototype quality
Present Accomplishments • New PCB fabricated and assembled • Assembly code written • USB recognizes device • Currently developing button algorithms • PCB tested for electrical connectivity
Approaches Considered and One Used • Adapt previous design to meet new expectations • Add quadrature amplitude modulation decoder to previous design • New microcontroller is pin-for-pin compatible with advanced features
Research Activities • USB 1.1 vs. 2.0 • Quadrature Amplitude Modulation decoding • Microcontroller selection • Part ordering • PCB fabrication
Design Activities • Design circuit • Layout circuit in Eagle • Code written in MPLAB
Implementation Activities • Send circuit layout designs to be fabricated • Solder components to PCB • Compile code • Program microcontroller
Testing and Modification Activities • Tested PCB for electrical connectivity • Optical encoder response • Product functionality • By team members • By non-team members • Delayed programmer update
Personnel Effort Requirements Total hours: 340
Project Evaluation • Successful completion • Exceeded design requirements • Old product can be easily upgraded • Product is extensible • Much less than expected cost
Commercialization • Upgrade existing product • Sell new product
Recommendations for Additional Work • Future upgrades possible • Optical encoders with higher resolution • More pushbutton inputs • Additional Features • Gauges • LEDs • Force Feedback
Lessons Learned • Technical Knowledge • Optical encoders • Microcontrollers • Circuit board layout • Use previous work as much as possible • Begin implementation and testing earlier
Risk and Risk Management • Anticipated Risks • Loss of work and loss of a team member • Risks Encountered • Time required to procure parts • Departure of previous designer • Microcontroller not well supported yet • Changes in Management • Procured parts through advisors • Outside resources
Summary • Problem • Upgrade steering wheel controller for Thomas Enterprises • Solution • Replace potentiometers with optical encoders • Upgrade microcontroller • Result • Functional upgrade to previous design