-
Group Members
- E/16/320 [email protected]
- E/16/319 [email protected]
- E/16/126 [email protected]
-
Supervisor
- Dr. Isuru Navinna
- Mr. Ziyan Marikkar
- Prof. Roshan Ragel
- Dr. Upul Jayasinghe
-
Related links
X-tag is a Smart IR shooting sport.In currrent related product are,
-
very expensive
-
Companies with large indoor environments charge up to $10 for a single game.
-
Not enough game modes/options.
-
Not smart enough.
-
Not updatable
Therefore In this Project we build a tag system with a central server and a mobile application.In that manner we were able to Create a updatable ,smart IR tag system.Also the cost of our system will be very lower compare to current products in the market.
- Shoot father up to 100ft
- And make cheaper to produce
- And most importantly we want to make our system smart.
- There are mainly 3 parts in this project .Xtag gun and the headband to shoot and receive IR,Xtag mobile application to Choose game modes,initialize the game and a firebase server for communicate with in the game .
- Every gun has a cababilty of shooting more than 30m and many features like LCD screen,LED lights,vibration motors.
- The headband is connected to gun with a wired connection and it receive the IR signals shoots by other players.
- Also Headband has 3 LEDs to indiacate the Team colour and Another LED to blink when get shotted.Those IR receivers and LEDs are locate in every 4 sides in the gun.
- Inizialize the gun before the match,selecting the team,battle mode are done with the help of the Xtag mobile application.Gun is connecting to the mobile using Bluetooth.
- Finding the shooter,giving scores,join to a battle are done with the help of the firebase server by connecting to it through the Xtag mobile application.
- Thanks to our system artchtecture this system is updatable(Can be added more modes more option without changing the hardware) and a smart one.
- Every player has a head to reserve IR shots and IR gun to shoot IR.
- Every players gun is connected to the mobile application through blutooth.
- Every phonr is connected to the our server.
- Using mobile application,
- gun is initilized.
- game mode is selected
- Server is used to,
- comunicate with the gamne.
- As a example Find who is the shooter and ,giving scores are done with the help of the backend.
- comunicate with the gamne.
This is the heart of the this project and it is very challenging when we use IR communication for this kind of purpose
-
To shoot further we Planned used high power IR
- IR emitter - TSUS5202
- power= 170mW , 150mA
-
Since esp32 cant give 100 mA for the transistor is used
- BD139
-
and a lens is used to focus
- Diameter about - 38mm (1.5″)
-
- SM0038 - TSOP1738 - 38KHz IR receiver
- This Moduile has built in
- signal amplifier
- 2.5 V to 5.5 V
-
- standard HD44780
- 5V
-
- Buzzer Piezo Bleeper Sounder
- Frequency 4kHz
- power - 10mA
-
- 10000RPM Metal Brush
- DC 3.7V 5V 135mA-180mA
And also push button and RGB LED are used.
-
Used small circuits that are connected to the main circuit for
- Switch buttons
- LEDs
- Vibrator motor
- IR emitter
- Buzzer
-
Connections are done according to the NODE MCU esp32 datasheet
Using Email and a password players can register Xtag Players have to verify their Email before signed in More detail will be on testing report
* It is ideal for our Xtag mobile app.
* Cloud deployment -Firestore
* database helps to store real-time and synchronize game data.
* Firebase authentication library is used for authentication
-
- Cloud Firestore
Fast performance, high availability, and security
-
- Two main collections are used to store Player data and Match data.
- Player collection will store records as documents according to the Used ID.
- Match collection will store records as documents according to the Match ID.
- Players' details of each match will be stored as a sub collection inside the relevent match document.
-
- When do a query search in a match, It will be efficient
- When player want see his paset, it will be efficient
- We can increase the efficiency of the system by deleting old match data.
- There Are Some data in the match,which are useless later
- Ex: isready,rescue code
-
- How to refresh the screen when players are connected
- Streams are used
- Syncing the game time counter
- How to set a tempid
- How to give a score to the shooter * Query searching is done by the killed player
- How to refresh the screen when players are connected
Develop using Futter 1.17
-
- Authentication test (Integrated security test)
- Network compatibility testing
- Data Mapping testing
- Stored Procedures(Black box testing)
- Device compatibility testing
-
software testing sumarry : https://docs.google.com/document/d/15QQ1ZPAIXyWhq7m--7BOh9n0jbu_8oZKydKhLDy0Gqo/edit?usp=sharing
-
software testing report : https://docs.google.com/document/d/1bhaTQPnoYpXo6yQ9MJRpFDIS963kJpqcUUipNbIv-IE/edit?usp=sharing
-
- Design level testing -
- to find best IR collecting method
- Unit tests
- Blutooth communication
- IR communication
- Physical test
- Fire range
- fire accuracy
- Design level testing -
-
HArdware testing sumarry : https://docs.google.com/document/d/1yRsRNFsx3cfH2Z9USqZvHvry2KBjpZQ3aWNl-_fgJvw/edit?usp=sharing
-
HArdware testing report : https://docs.google.com/document/d/1XJSeqUBuJQFIUvLsx5cCLyxi5nqX5FbRWItxmr5zCmQ/edit?usp=sharing
The demonstration vedio : go to vedio