Font Size: a A A

Design And Implementation Of Game Gun System

Posted on:2018-11-23Degree:MasterType:Thesis
Country:ChinaCandidate:H S LiuFull Text:PDF
GTID:2321330542456731Subject:Electronic and communication engineering
Abstract/Summary:PDF Full Text Request
Now the market for shooting players choose more and more peripherals.From the traditional mouse keyboard game handle which is able to have some sense of experience and then the different birth of brands of gun game came into being one after another.The market is a wide range of shooting game peripherals,do not poor,and performance is different.In this paper,the development history and current situation of the game gun system are introduced.After a lot of calculation and consideration,the design of the game gun system uses image acquisition and processing technology,through the serial port,wireless and USB communications,multiple modules,a number of procedures to work together.This paper first introduces some key technologies of the system design,including image processing,Bluetooth communication,USB communication,the key technology is the principle and protocol is more complicated,but the use of these technologies can bring great convenience to the design and development.Followed by the demand analysis,the overall framework of the system design is described.Based on the introduction of the three subsystems of gun shooting system,shooting coordinate system and USB communication system,this paper describes the overall function of the system and the design of the system.Then the algorithm used in this system is introduced in detail.First,It introduces the algorithm of shooting coordinate and analyzes,their merits,and explains its shortcomings,combining the advantages and disadvantages of the shooting coordinate acquisition algorithm applied in the thesis,a detailed analysis of the algorithm steps of the system,obtained under various conditions shooting point coordinates,finally analyses the cause of error the algorithm and error range,the error is inevitable but can be reduced,It is proposed to reduce the system error measure algorithm.Then this paper makes a detailed analysis and research on the hardware and software design of the three main modules of the system.Among them,the game gun shooting module is mainly based on the STM32F407 control chip to capture the trigger signal to control the vibrator and the sound of the work and the action on the bullet.Shooting coordinate acquisition module is based on STM32F407 chip,using OV7670 for image acquisition,image processing in detail according to the shooting coordinate acquisition algorithm to obtain coordinates of shooting point,after the coordinate information is sent to the USB communication module.Then it's the USB communication module,mainly to complete the preparation and configuration of the USB communication protocol,the coordinates of the processing module to send the coordinates of the information sent to the game.The last is about the game play part,the main use of the host computer will be projected through the projector screen interface to the game screen display screen.Finally,the system is tested and analyzed.Advanced sub module test,to ensure that each module is stable,normal communication.Then it tests the overall performance.running the game,and testing the correctness of the function.Finally,the design of the game gun system is relatively stable and reliable to meet the needs of the design.
Keywords/Search Tags:plinker, Image acquisition and processing, Bluetooth communication, USB communication
PDF Full Text Request
Related items