Hand Gesture Game Simulator Using Raspberry Pi
by vsltech in Circuits > Raspberry Pi
2918 Views, 21 Favorites, 0 Comments
Hand Gesture Game Simulator Using Raspberry Pi
![Hand Gesture Game Simulator | Raspberry Pi | Accelerometer](/proxy/?url=https://content.instructables.com/F4N/ADK0/J5MQQMRO/F4NADK0J5MQQMRO.jpg&filename=Hand Gesture Game Simulator | Raspberry Pi | Accelerometer)
![cover.jpg](/proxy/?url=https://content.instructables.com/F5M/WMXB/J5MQQKGN/F5MWMXBJ5MQQKGN.jpg&filename=cover.jpg)
![Hand Gesture Game Simulator.png](/proxy/?url=https://content.instructables.com/F9J/CU9Q/J5MQQKH4/F9JCU9QJ5MQQKH4.png&filename=Hand Gesture Game Simulator.png)
![IMG_20160810_234600.jpg](/proxy/?url=https://content.instructables.com/FWI/XMZQ/J5MQQKMT/FWIXMZQJ5MQQKMT.jpg&filename=IMG_20160810_234600.jpg)
![softwarescreen.jpg](/proxy/?url=https://content.instructables.com/FL6/APDR/J5MQQKNM/FL6APDRJ5MQQKNM.jpg&filename=softwarescreen.jpg)
A simple automation project with Raspberry Pi using ADXL345 accelerometer to simulate better gaming experience. Supports All Windows Games, currently functioning over Ethernet & WiFi.
Best experience with Racing games!
Hardware Setup:
![vlcsnap-2016-08-11-02h47m57s235.png](/proxy/?url=https://content.instructables.com/FEY/W571/J5MQQKOU/FEYW571J5MQQKOU.png&filename=vlcsnap-2016-08-11-02h47m57s235.png)
![IMG_20160810_234527.jpg](/proxy/?url=https://content.instructables.com/FRE/VOHE/J5MQQKL4/FREVOHEJ5MQQKL4.jpg&filename=IMG_20160810_234527.jpg)
![IMG_20160810_232342.jpg](/proxy/?url=https://content.instructables.com/FT8/OGCU/J5MQQKJK/FT8OGCUJ5MQQKJK.jpg&filename=IMG_20160810_232342.jpg)
![vlcsnap-2016-08-11-02h48m57s020.png](/proxy/?url=https://content.instructables.com/F91/LOGK/J5MQQKPS/F91LOGKJ5MQQKPS.png&filename=vlcsnap-2016-08-11-02h48m57s020.png)
- Fix ADXL345 accelerometer in the palm side of Gloves.
- Connect all wires with Pi GPIO Pins.
- Place all setup wherever you want.
Electronics Setup:
![IIC-to-6050.png](/proxy/?url=https://content.instructables.com/F7N/82ER/J5MQQLS7/F7N82ERJ5MQQLS7.png&filename=IIC-to-6050.png)
![vlcsnap-2016-08-11-02h48m11s183.png](/proxy/?url=https://content.instructables.com/FNT/11U6/J5MQQKPB/FNT11U6J5MQQKPB.png&filename=vlcsnap-2016-08-11-02h48m11s183.png)
Connect all pins of accelerometer & GPIO properly follow links for tutorial.
Software Setup:
![F6KBXQTI4IXAA0D.MEDIUM.jpg](/proxy/?url=https://content.instructables.com/FQR/C24F/J5MQQLQA/FQRC24FJ5MQQLQA.jpg&filename=F6KBXQTI4IXAA0D.MEDIUM.jpg)
![450px-Yaw-Pitch-Roll.png](/proxy/?url=https://content.instructables.com/F2K/HNAP/J5MQQKGM/F2KHNAPJ5MQQKGM.png&filename=450px-Yaw-Pitch-Roll.png)
![vlcsnap-2016-08-11-02h47m22s151.png](/proxy/?url=https://content.instructables.com/FP3/PS4T/J5MQQKO1/FP3PS4TJ5MQQKO1.png&filename=vlcsnap-2016-08-11-02h47m22s151.png)
- How to use 3-Axis Accelerometer for Tilt Sensing. Tutorial
- I used Roll & Pitch axis only for forward, backward, left, right, nitro & handbrake parameters to control the game.
- Download all source code.
- Start server from windows system to receive axis tilts in degrees.
- Run GameServer.py
- Send UDP packets from Pi to server.
- Run Client.py
- Enter IP of your connection not IP of Pi.
- Open cmd & type ipconfig/all to see IP of your connection.
- Start Pi using putty for faster connection. Tutorial
- Create hotspot & connect both Pi & Windows system for Wireless Control.
GitHub: https://github.com/vsl-tech/hggamesimulator
Recommended use Ethernet for faster connection & Enjoy! the game without any lag.
Links: http://www.vslcreations.com/2016/09/how-to-make-hand-gesture-game-simulator.html