Demo of Project
The objective of KickO'Wheelz - Game Simulator is to develop a low cost dedicated system & simulation model of racing car that enables to play any racing games. Any size of display can be connected and there is no limitation of game. The future scope of this project is to enhance the gaming experience and further calibrate with XBOX, PS4 and Motion gaming modules. Supports All Windows Racing & Open World Games, currently functioning over Ethernet & WiFi. Best experience with Racing games! Everybody loves to play games and a simulator just makes it very easy.
This project is based on the earlier game simulator series before continuing read here: http://www.vslcreations.com/2016/09/how-to-make-hand-gesture-game-simulator.html
Hardware Setup: This is DIY frame is designed in a local market whose unique feature is, it can be easily fixed to your normal chair & make your gaming experience cool.
- -Wheel attached with center-shaft so that it can rotate smoothly & on top of shaft MPU6050 Accelerometer+Gyroscope module is attached.
- -The v-shaped frame whose 1-end is attached with U-joint that can be mounted on chair rods easily & 1-end attached to foot control-pads.
- -3 metal plates at equal distance placed with springs inside to generate acceleration feel.
- -Here, springs don't generate any acceleration range(ADC) because all 3 controls are a normal switch. The software will do that job & game player will feel it virtually.
Electronics Setup: Amazon links mentioned for all electronics stuff
- 1. Raspberry Pi: https://www.amazon.in/Raspberry-Pi-Model-RASP-PI-3-Motherboard/dp/B01CD5VC92/ref=sr_1_3?ie=UTF8&qid=1515957071&sr=8-3&keywords=raspberry+pi+3
- 2. MPU6050 Accelerometer+Gyroscope Module: https://www.amazon.in/KTC-CONS-Labs-MPU6050-Accelerometer/dp/B074BH4136/ref=sr_1_3?ie=UTF8&qid=1515957122&sr=8-3&keywords=mpu6050
- 3. 220ohm resistors, jumper wire, double-sided tape etc.
Wiring Setup: MPU6050 Accelerometer+Gyroscope http://blog.bitify.co.uk/2013/11/interfacing-raspberry-pi-and-mpu-6050.html
- 1. Enable i2c in your RPi then connect to GPIO properly & change pin numbers in code according to GPIO BCM configuration.
- 2. Learn how accelerometer & gyroscope works here: https://www.dfrobot.com/wiki/index.php/How_to_Use_a_Three-Axis_Accelerometer_for_Tilt_Sensing#Yaw-Pitch-Roll
- 3. Pull-down switch from RPi 5volts VCC for brake, nos, accelerator controls: https://grantwinney.com/using-pullup-and-pulldown-resistors-on-the-raspberry-pi/
- 4. Change the GPIO pin numbers in code after proper connections.
- 1. Raspberry Pi will be client sending all data in string from via python socket connection over WiFi of common network/hostpot to PC/Laptop(Windows).
- 2. Windows will be server recieving data over network IP:PORT in python.
- 3. According to the genuine threshold values pywin32 module enabled with directx programming will generate respective virtual keypress & keyrelease to control games.
- 4. Create hotspot for WiFi: Turn Off Internet Access for faster data transmission & smooth game control.
- Using CMD in Windows: https://www.wikihow.com/Create-a-WiFi-Hotspot-Using-the-Command-Prompt
- Using Connectify: https://onhax.net/connectify-8-pro-crack
- Using SmartPhone: Turn Off Data Connection & Create Mobile Hostpot
- 5. Install dependecies in windows: ctypes & win32api if any import error in key_event.py
- 6. Download codes then first run client.py in Raspberry Pi & server.py in Windows.
- 7. Use Putty to connect RPi for faster data transfer over WiFi. If you want to learn more about how to use RPi from laptop then check out this post: http://www.vslcreations.com/2018/01/how-to-find-raspberry-pi-ip-without.html & http://www.vslcreations.com/2016/10/how-to-use-raspberry-pi-with-laptoppc.html
GitHub: https://github.com/vsltech/kickowheelz
Comment below for further info!
0 comments:
Post a Comment
Thanks for your comment. We will try to reply as soon as possible.
Regards
VSL Creations