Aniket Singh

Aniket Singh

|

@aniketxai

I’m a Full Stack Developer and IoT/Arduino Innovator. I build smart web apps and intelligent devices. On this site, I share coding tutorials, tech projects, and blogs related to web dev, embedded systems, and startup building.

🚀 View Projects
MERN Web Dev Arduino JavaScript Java DSA

Skills

HTML/CSS
JavaScript
React/MERN
IoT & Arduino

How to make game controller using ardunio uno/nano.

Hello Guys,In this post we learn How to make fully Ardunio based Game controller.This is first time on internet.

*Specification
-It is fully Based on Atmega328 microcontroller.
-It not need any type of external software.
-It work very smoothly.
-It support window,linux,mac,andriod and ios Also.
-Sutiable with all Games which support Game controller.
-It also work with modern new games like pubg,Free fire ,cod,Gta etc.
*Problem faced By Me
-The main problem is that Atemga328 not support Joystick library.Game library
only support Ardunio Leonardo and Ardunio micro.
So,we do not used ardunio uno,nano board.
-but After research 1 month I have one solution about it
That is unojoy.
-But One problem again That is unojoy only support one Joystick
-I change some code in unojoy and make 3 joystick supported.so,problem is solve.

let start to make it

*Part list:-

1. Ardunio nano (you use any kind of board which has atmega328 microcontroller)
2.joystick Module
3.Push button
*Schematic and Diagrams







*let coding time

-Firstly Download zip file with this link.
-After downloading unzip this file
-open code folder and open unojoyardunio folder with ardunio ide.
-upload the code in ardunio
-Short this pin reset and ground like this



�-And open unojoywin folder and run turn into joystick bat file



�-If you have pass massage then all is ok.
-reconnect your ardunio with pc.
-open Control Panel-Hardware and Sound-Devices and Printers

�-right click on unojoy joystick and click on game controoler settings then got to
properties



�-check all buttons working or not.





                                                                                                                       


3 comments

  1. Unknown
    Thanks for help bro I am finding from one month this controller but you can help me this is first time on internet
  2. Unknown
    Super bro👌👆👆
  3. Unknown
    Thanks of lot bro I am big fan of you