Arduino Game Gun for PC

by prabeenraj01 in Circuits > Arduino

937 Views, 1 Favorites, 0 Comments

Arduino Game Gun for PC

Capture 2021-07-24 13.00.54.jpg
Arduino Game Gun For PC

In This Instructable We are going to see how to make gaming gun for PC . By Using Arduino Uno and UnoJoy Libary

Convert Arduino Uno Into JoyStick

FY4J5ADKR0MWZ9R (1).png
FBJM0BXKR0MWZAV.jpg
FEE3INCKR0MWZA0 (1).png
FN440FIKR0MWZAD.jpg
FP7TN9DKR0MWZAU.jpg

Unjoy Folder

1) I have attached a UnoJoy File . In the file First Install JRE Flip Installer

2) Then Connect Arduino to Your PC or Laptop

3) Open UnoJoyArduinoSample Upload the code to your arduino

4) Short Reset and Ground Pin of Arduino Uno. To enter into DFU (device frimware update ) mode

5) Run Turn Into A Joystick Batch File

6) Unplug and replug Arduino

7) Now Your Arduino is converted to Joystick

Circuit Connection

Screenshot (743).png

For This Project I used Only Components

1) Arduino Uno

2) Push Buttons

Circuit Diagram is very simple

Connect a push button Between Pin 3 and Ground

Checking JoyStick

Capture 2021-07-24 13.00.29.jpg

1) Connect Joystick To Your PC

2) Go to Control Panel > Devices and Printers > UnoJoy Joystick > Left Click > Game Controller > Properties

3) Move Joystick X axis You Can See any Variation in Your Monitor

4) Click Push Button To check Whether It is Working Or Not

Configuration

Screenshot (744).png
Screenshot (745).png
Screenshot (746).png
Screenshot (747).png
Screenshot (748).png
Screenshot (749).png
Screenshot (751).png
Screenshot (750).png
WhatsApp Image 2021-07-24 at 1.05.37 PM.jpeg

For testing this gun I Used GTA san andreas

1) First go to Options

2) Then Go to Controller Setup

3) Change Configuration Mouse+Keys to JoyPad

4) Then Go to Redefine Controls

5) Then Go to Foot Controls

6) Click On The Fire Option . Now Click the Button connected to arduino to assign the key

7) Now you play with game Gun

Testing

Capture 2021-07-24 13.00.54.jpg

Select any Gun and click the button for shooting