Giter VIP home page Giter VIP logo

vr-military-training-body-vest-'s Introduction

Project overview

This project can be used to provide realistic experience while playing video games or even provide realistic training to military personnel.The idea is to connect the vest to a video game through usb port using Esp8266 NodeMCU board and receive hits and injuries data from the game and make it felt using sounds, lights and vibration motors.

Components

  • 2 x Esp8266 NodeMcu (transmitter & receiver).
  • 1 x Arduino Mega2560.
  • 2 x 3.7v Li-ion battery in series.
  • 1 x LM7805.
  • 1 x 0.01 uf ceramic capacitor.
  • 1 x 0.1 uf radial capacitor.
  • 1 x toggle switch.
  • 7 x mini vibration motors.
  • 1 x buzzer.
  • 7 x yellow & red LEDs.
  • 2 x green LEDs.
  • 7 x 2n2222 transisors.
  • 8 x 1k ohm, 14 x 100 ohm and 7 x 27 ohm resistors.
  • PCBs and Ethernet wires

Code

  • Check out the transmitter NodeMcu code here.
  • Check out the receiver NodeMcu code here
  • Check out the Arduino Mega2560 code here

Steps

  • At first we program the 2 NodeMcu and the arduino mega2560 using Arduino IDE and the codes above.

  • Design the body PCBs on Proteus Ares using the circuit diagram below:

    ody circuit

    here is the body PCB:

    body pcb body pcb

  • Design the head PCB using the circuit diagram below:

    head

    here is the head PCB:

    head pcb

  • Design the alarm PCB using the circuit diagram below:

    alarm

    and here is the alarm pcb:

    alarm pcb alarm pcb

  • Connect one Esp8266 NodeMcu (transmitter) to computer using usb cable.

  • Then we wire up the other Esp8266 NodeMcu (receiver) to the Arduino board as shown below:

    main circuit

Notes

  • There are 7 PCBs, one for each arm and Legs, two for chest, one for head and one for alarm.
  • Each PCB is connected to te arduino through 2 pins, one fo each LED Exept for head and alarm they are connected through 1 pin only.
  • For the PCBs connected through 2 pins, the yellow LED means 1 shot and the red LED means 2 shot and alarm is activated meaning GAMEOVER.
  • From pin 2 to pin 13, pin 2 and pin 3 is connected to the right arm PCB, pin 4 and 5 is connected to the left arm PCB and so on.
  • Pin 14 is connected to the head PCB and pin 15 is the alarm pin.

vr-military-training-body-vest-'s People

Contributors

eslam-rizk avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.