Hand Gesture Game Simulator Using Raspberry Pi

by vsltech in Circuits > Raspberry Pi

2866 Views, 21 Favorites, 0 Comments

Hand Gesture Game Simulator Using Raspberry Pi

Hand Gesture Game Simulator | Raspberry Pi | Accelerometer
cover.jpg
Hand Gesture Game Simulator.png
IMG_20160810_234600.jpg
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
IMG_20160810_234527.jpg
IMG_20160810_232342.jpg
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
vlcsnap-2016-08-11-02h48m11s183.png

Connect all pins of accelerometer & GPIO properly follow links for tutorial.

Link: Stuff About ADXL345 Accelerometer & Python

Software Setup:

F6KBXQTI4IXAA0D.MEDIUM.jpg
450px-Yaw-Pitch-Roll.png
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