[Gamer Assist] Haptic Feedback System for Games Using Esp8266
Introduction: [Gamer Assist] Haptic Feedback System for Games Using Esp8266
So, in this video we’ll be seeing how to build this haptic feedback device and the ambient light system which reacts to the player's health value inside a PC game! For that we’ll be using the ESP-NOW protocol, about which we learnt in the previous video and also see how to use different RGB LEDs and different libraries to drive them. Finally a little bit of python and open cv to get the data from the game.
Supplies
These are the list of products which can help you do this project with ease
(Affiliate Link)
* Esp12E: https://amzn.to/3h3b37s
* Haptic motor(exact one): https://amzn.to/2J8E06T
* Haptic motor(alternative): https://amzn.to/2J8E06T
* 3.3V regulator (smaller capacity): https://amzn.to/2J8E06T
* 3.3V 800mah (1A) : https://amzn.to/31762F2
* Velcro: https://amzn.to/2J8E06T
* Header Pins: https://amzn.to/2J8E06T
* Angled Header Pins: https://amzn.to/2J8E06T
* Wires: https://amzn.to/2J8E06T
* FTDI: https://amzn.to/2J8E06T
* PCB: https://amzn.to/2J8E06T
* Soldering Gun: https://amzn.to/2J8E06T
* Soldering Lead: https://amzn.to/2J8E06T
* Foam sheets: https://amzn.to/2J8E06T
* screw terminal: https://amzn.to/3qHwVKP
* Resistor : https://amzn.to/2ZCruRu
* Tp4056: https://amzn.to/3vPSCLL
* Boost: https://amzn.to/2OSdHEU
* LED Strip : https://amzn.to/319usO7
* RGB ring : https://amzn.to/3f6Hhkt
* Node MCU : https://amzn.to/3f498Ss
* Breadboard + power supply : https://amzn.to/3lK1HRS
* 7805 : https://amzn.to/2Pp8hRG
* DC jack : https://amzn.to/3d0SCQl
Step 1: Python Gamer Assist Application
This is one of my long-lost least-motivated projects, initially I started in 2018 as soon as I saw this video by Youtuber <PERSON> "A Robot Shoots Me When I Get Shot in Fortnite". It had everything I loved, from electronics, coding and getting shot by the gun. But I don’t know what happened, it took forever to complete.
Trust me, without this the whole project wouldn’t be possible. Because this is the application that reads the data from the game and sends it to the microcontroller. But I wanted it to be elegant and wanted to extend the functionality of what <PERSON> had done. And...that’s where my journey of banging my head against the wall started. It was very time intensive to get to this working stage.
Step 2: Working of Gamer Assist
Let me show you the current progress so you know what I'm talking about. 382
To run this you need a configuration csv file, which will contain the location of the health bar in the game and other information for processing the data. So, the first step is to create the configuration file.
Since the program is GUI friendly you can do this for any game, just as an example let me show you how to set up this application for the game apex legend. First take a screenshot of the game when the game is in full screen mode and the health value is clearly visible, and use the shortcut Alt + tab to get to the python application, then click edit config. (Make sure the screenshot is in full screen mode during selection) Draw a rectangle around the health value. Then click grab. In the editor window you can adjust these sliders and check the result until you get the health value on the output section.
Once that’s done. Save the file. Remember this is just a one time process which you might have to do for every game. 753