University:Huazhong University of Science and Technology
Team Members (with year of graduation):Li Ming,Liu Jun,Wang Hongyan,Huang Junyi,Lei Xinyu
Faculty Adviser:Zhan Yi
Submission Language:English and chinese
Title:Virtual Cube Fantasy
With the development of technologies and the needs to optimize the player’s experience, some game companies developed professional, specific input device and large arcade games. Different from large game workbench, our project does not capture player’s move by video recognition but by a 3D rotating system based on LabVIEW and Three-axis gyroscopes.
Just like what they are called, somatosensory games are video games that can be directly controlled by human body moving, rather than former game operation by handle or keyboard. The original way of former video game input comes from keyboard of a computer, and there are various of professional video game players and operating workbenches. With the development of technologies and the needs to optimize the player’s experience, some game companies developed professional, specific input device and large arcade games. Different from large game workbench, our project does not capture player’s move by video recognition but by a 3D rotating system based on LabVIEW and Three-axis gyroscopes.
Somatosensory games are worldwide popular And the new somatosensory games can imitate 3D display. Players hold special handles, control the character in games by body moving and experience somatosensory interaction. Digital entertainment workbench can provide players with healthy somatosensory games, which are appropriate for people aged from 8 to 80. So there exists huge market.
According to principles of somatosensory sensor, we designed a 3D cube rotation system based on LabVIEW and acceleration sensor with three-axis gyroscopes. The structure diagram of general system is shown as Figure1
Fig.1 Structure diagram of general system
The system mainly consists of main-control devices, wireless delivery module, upper machine of virtual 3D Rubik's cube, and data acquisition devices of finger moving.
Data acquisition devices of finger moving is in fact a self-made finger sheath, on which fixed acceleration sensor with three-axis gyroscope, it is able to measure the angular velocity of finger moving. We choose STM8L152C6 chip as main-control device, and acquire data through I2C bus. Then data can be delivered to upper machine through wireless delivery module nRF24L01. Finally, signal is received by wireless receiver device USB-24L01 and delivered to PC upper machine through USB Serial ports, In there the signal controls the rotation of cube via specific program.
Function of system
(1) Process of lower machine with software and hardware
We completed the design of hardware of main-control device, power circuit, sensor PCB, communication module, as well as software of lower machine. Data can be successfully acquired by sensor stably processed to upper machine, and input into computer to control the rotation of 3D cube.
(2) Process of upper machine with software
Interface software is composed by the graphic program language LabVIEW. It can receive, process, analyze and respond to data from USB-24L01, and complete operations of rotation, scramble, and auto-solving of a virtual 3D Rubik’s cube. It has a friendly interface and provides players with direct somatosensory game experience.
The main function of upper machine is to process and analyze signal after data acquisition from finger moving , and respond to controlling signal.
We take LabVIEW as develop environment to detect the finger moving signal, LabVIEW is an advanced design platform of measurement and control. It has various utility packages, which ensure the quality of system development and decrease the difficulties. The program takes producer and consumer frame based on event-structure, which is flexible, efficient and scalable.
We designed the interface of program consists of command window and display window, in the command window we can send “randomize” and “solve” command without lower machine, while the display window displays the responding in 3D cube way, shown as Fig.2 and Fig.3.
Fig.2 command window on PC
Level of completion :beta
Time to build:2013.5.31
This project completed previously expected function, but it can be improved to be more delicate, multiple-functioned and lower-powered. The playing experience can be more comfortable and lifelike.
For hardware, the rotation is not perfect because the sensors are not enough. We will further complete the sensor design and add an angular sensor to fully control the cube rotation, thus it will be more lifelike.
For software designing, there are still some bugs in signal processing, which can be optimized to allow the cube respond faster and more fluently.
The data collection device of finger moving can be made of more stable material, and it can be further designed to fit fingers better.
Meanwhile, we will choose more equipment from NI, such as data acquisition module and wireless receiver module. Also, we are considering to utilize the naked eye 3D technology in our future project development to ensure better game experience and approaches to more enormous application field.
Attach Poster (30 in. x 38 in.) and LabVIEW Code