This video was EXTREMELY helpful. I followed every step and BAM, UnoJoy Joystick for Windows 10 detected (and it actually works!!!). Thank you! Oh the possibilities. I'm so excited!!
Everything looks great for me in x360ce, but when I toss the .ini & .dll files into a game directory it never sees the UnoJoy controller. Any suggestions? Update: Whoops! Make sure to use the 32 bit version for most games.
I don't know if you still check these but this video has inspired me. I always thought Arduino was something complicated but you somehow make things seem so simple. I don't know why or how but it did. You even show the parts where you encounter errors and how you troubleshoot it. Thank you.
Thank you so much for this video and another video about Unojoy from you. Your tip to emulate an Xbox controller with x360ce and your explanations on how to use Unojoy saved my day. I was nearly canceling my controller project while failing to emulate a PS4 controller. Emulating an Xbox Controller makes really more sence on a Windows PC.
Hey brother !! Thank you for making this tutorial! I was building a setup for a school exhibition and wanted to use joysticks in game as accelerator and brake . Thank you for this video Even after 7 years this is a masterpiece and gamechanging like, literally !!!!!
I picked up a board on Ebay that said it was an arduino 3 (I think it was a counterfeit). In any case, when I attempted to put the board in DFU mode, the LED would blink for a moment and do nothing. On my windows 7 machine, I watched the drivers interface and saw that the arduino uno driver was always showing - it should have shown ATMega16U2. It seems that this board did not have the bootloader installed in the ATMega16U2 chip (evidence it was a counterfeit). NOTE: You need at least 2 operating Unos to complete these steps, one of which needs to be able to receive uploaded sketches and the other is the one that needs the bootloader updated. Basically, the process is: a) install a sketch on the first board that will program the second board after it has been connected b) unplug first board from usb c) connect the second board to the first board according to the instructions d) plug first board back into usb e) observer in Ardiuni IDE, the programming of the second board. To perform the process outlined above, I followed the instructions on this page: github.com/NicoHood/HoodLoader2/wiki/Burn-the-bootloader-from-another-Arduino Some points of clarification: 1. To ensure you get all the files needed, its best to download all the files in the github repo: github.com/NicoHood/HoodLoader2/archive/master.zip gets a zip file that you can then unzip on you PC. 2. Once it is unzipped, locate the Installation_Sketch.ino file in: \HoodLoader2-master\HoodLoader2-master\avr\examples\Installation_Sketch 3. In the sketch, in Line 11, change to: #define HEXFILE 201 (looking in the list of hex definitions, 201 the hex for HEXFILE_Arduino_COMBINED_dfu_usbserial_atmega16u2_Uno_Rev3_hex_Full, which is the default hex that should have been loaded) If you get the wiring correct between the 2 boards and follow the instructions, it should work fine.
Fantastic. Thank you. I'm making a VR helicopter sim, and I've had a lot of bother trying to get people's code to work. Hopefully the "serial read" will do the job with the pots. I think converting a "mega" and making it a H.I.D. might be the best way to get all of the pins that I need, without learning multiplexing. Hmmmmm I thought this was going to be easy.....WRONNNNNNG! :D I've got it working with a Thrustmaster joystick at the moment, I've made the collective, pedals and cyclic, but it's a shagnasty way to do it. I really want the code on an Arduino. Thank you very much. Craig
For those who don't have Uno with 16u2 chip I recommend vJoy which can work with Arduino boards that have cheap CH340 serial adapters. I guess vJoy works with all Arduino boards so give it a shot. There are videos on youtube how to setup and use it. Also it is easy to setup and use than UnoJoy
+MicroRCFiend the cheap knock-off gamepads often don't function correctly when the game expects to have a genuine xbox360 gamepad though, that's the one of the reasons the x360ce utility was created :) You usually find the cheap gamepads also use cheap pots with huge deadbands that can't be worked around with software tricks, and the sticks on the one I have are a bit scratchy feeling to move and have very strong springs. All of this made it very difficult to play the driving game, which is why I abandoned it and looked for an alternative with smoother input. As I mentioned at the end, it's a lot of work just to end up with some still rather crappy inputs like I have shown here, but with some more time and resources you could make a nicer driving sim setup with a full-size steering wheel, floor pedals, gear-change lever, hand-brake etc, or whatever cool setup you want.
Yeah you are not windows guy ;) . A joystick won't appear under "Ports". It's most likely under "Human Interface Devices" (or in some cases under "Sound, video and game controllers"). You should also be able to see it "Devices and printers". And btw. you should be able to calibrate the gamecontroller there, too, if it does not give you the full range. No need to change the Arduino code.
+superdau Thanks for the pointers. I had actually checked every other place in the device manager and it didn't show up anywhere. Just now before replying to your comment I checked again with the same result, and then got distracted doing something else. After about ten minutes I heard that ba-bum sound and a notification popped up saying new usb hardware had been installed successfully.... checking the device manager now I see it under "Human interface devices" as "USB input device", and also in "Devices and printers" as "UnoJoy joystick". Not sure why that never happened before. I tried the calibration in the "Devices and printers" section, and it seems to work but for some reason it only offers this for two axes which it calls 'Z axis' and 'Z rotation', very strange. One of these was my throttle and the other was one of the floating inputs, so just by chance this would have worked for the case I showed in the video. There doesn't seem to be any way to set four analog inputs, or which should be which, or to change their direction. Still, it's good to know though!
+iforce2d The calibration for X and Y looks different I think (it's the crosshair moving around), all the other axis have the moving bar. So maybe you missed that (the calibration is always done for all of the axis). I don't know how many axis the unojoy has by default, but if some are really missing, it is unojoy's fault. As HID it should report how many analog and digital axis it has. Maybe look into the source for it (not for the main AVR, but the interface AVR). My Taranis for example automatically appeared as an 8-axis, 8-button HID without any driver installation. The Arduino should be able to do the same. For the inversion: yeah, I think it can't simply be done without tricks. But in that case just switch outer wires of the pot around ;)
+superdau I think the UnoJoy is reporting correctly (eg. at 17:00 in the upper right of the page: 4 axes, 1 dpad and 14 buttons) Yes, you're right the crosshair in the white square seems to be for the first two axes - I tried it again and after moving the pot through its full range the crosshair had calibrated to meet the endpoints. I didn't notice that the first time because the instructions on that page of the wizard simply say "Press all of the D-Pad's corners, then press a button on the controller", no mention of analog axes, then on the following pages for the other two axes the display is completely different (horizontal bars, one per page) and it says to move the axis all the way up and down. I think the wizard could use some better instructions!
+superdau Could you possibly tell me how to change the default UnoJoy to change the crosshair to two separate bars? Just asking maybe you'd know. thanks!
+coetseejj You can't change that. That's just how Windows shows the X and Y axis. The only thing you can do is change the firmware that goes into the "glue" AVR (not the main Arduino AVR!) and make it send out the values on different axis like X-rot and Y-rot. But it doesn't make any difference on how the values are treated anyway, so you might as well make an 6- or 8-axis joystick by changing the code instead of just remapping the first two axis. I haven't really looked at the code in any detail, but I know somewhere it was defined how many axis and buttons the joystick reports to the OS (again, I'm talking about the firmware that goes into the small AVR here; you can't change any of that in the normal Arduino sketch that you then use).
Does anyone have a problem with the UnoJoy 'controller' messing up the modified x360ce input? I can't disable the UnoJoy input as x360 uses it for the virtual controller, however games pick it up as an input still.
Hello. When i do this with my arduino uno when i connect two pins in arduino uno and i run turn into a joystick i get a dll error and when i download dll file an coppy in its correct location still i get the dll error. Why?
Hey! Thanks for the video. Very detailed! The Uno has 6 Analog inputs. So i guess that its not possible to use 4 potentiometers(1 for the wheel, 1 for the gas, 1 for brake and 1 for clutch). But then again, clutch can be a common switch connected on a digital pin. Am i right? I am sorry if my question is obvious. I am just getting started on arduino :) Thanks again for the video. Keep it up!
Well, i got confused with pots :P i thought that every pot needs to connect to two analog pins. I still would, if it wasnt for you. Well, now i owe you twice haha. Thanks!
did this change happen you say in archive/p/unojoy/wikis/UnoJoyAndJavascript.wiki ? Is there a way now in 2018 for UnoJoy! to show up as an XInput device without driver on windows?
hello, I would like to know if it is possible to somehow set up feedback, I want to assemble a game steering wheel based on the library, thanks in advance
Is there a way I could emulate an xbox one controller. And when I push a button on the arduino it will press a then wait a second and then press x wait a second and then just repeat it so a x a x a x . Indefinitely I no this might sound strange but in the game to craft something 1 at a time takes ages so I could use this method and walk away for a few hours?
When I open TurnIntoAJoystick I get error "AtLibUsbDfu.dll not found.". I have el cheapo chinese copy arduino. It is ATmega328P CH340G type thing. I have installed some drivers and it works OK in other use.
Here's what you do: you reset your uno briefly, (connect reset and vcc) Remember to disconnect the connection afterwards. And then run the turnIntoAJoystick.bat again
You didn't find the arduino in "ports" section because it's on "HID" one! When you turn it into a joystick, windows recognize it as a Human Interface Device, not as as common device on a COM port.
i have a problem, when i connect my potentiometer, the arduino turns off. At first it worked perfectly, but then my computer displayed a warning window about the conected device, and the arduino turn off. The arduino is able to work again without the potentiometer, but wuen i attach the potentiometer to 5v., gnd and analogs pins, the arduino turns off. someone knows whats happening?? PLEASE HELP
BRO, YOU DID A GOOD JOB, I HAVE A PROBLEM MY ARDUINO UNO R3 DOESN'T GET DFU MODE AFTER SHORTING, IT REMAINS THE SAME IN ARDUINO MODE, PLEASE HELP ME, REQUEST! MAY I HAVE TO BURN THE BOOTLOADER FIRST? IS BURNING BOOTLOADER A SOLUTION? MINE IS A 16U2 CHIP
Hi iforce2d i looked at the schema of an Arduino UNO, but he has a big Formfaktor. I beleve it is possible to make the same funktion with one A-micro-pro(32U4) plus one A-mini-pro. The micro as UnoJoy -TX/RX crosover to the mini with PPM or A/D+D reading. Do you belive that is working? If Yes, can i burn the same HEX Files to the 32u4 (they made for 8u2)? !!! Very nice Videos from you !!!!!
Hello, very nice tutorial sir! Would you mind giving me a link to one of those radio gimbals? its difficult for me to find those... also are there any of those availble in "springed" along both axis? Best would be a reputable brand but if none are "availble" i would also use one of those chinese/aliexpress stuff. Do you know wich ones have a good life expectancy?
This should be ok (the 'direction' option is the springed along both axis you mention) www.banggood.com/Flysky-FS-i6-2_4G-6CH-Transmitter-Spare-Part-ThrottleDirection-Main-Bearing-Seat-p-1058191.html
and do i need to edit my controls for the game to the joystick or for it to be compatible for windows 7 and for arduino do i need a windows emulator for TFT???
This unojoy thing emulates a PS3 controller. So your game should be made to use a PS3 controller. You will need to edit the unojoy sketch to say which pins of the arduino go to which controls on the PS3 controller. I don't know what the hell TFT has to do with anything :)
please reply im using a TFT a a screen to make a Stand-alone CONSLOE that is compatible with both windows and arduino. im makeing a low fps game so that arduino can handle it
You want to run the game on an Arduino??? That will not work well at all because Arduino is not made for drawing graphics, I mean come on, it only has 2kb of memory right? Maybe if it's a very very simple game like Pong from 1972 it might run, but still extremely slow. If you want to run games on standalone console, I suggest learning Android programming and run it on your phone.
Hey:) if Got a little Problem. So my idea was to use a handbrake for racing games. I screwed a pressure Sensor into the Zylinder and now I connected it into a arduino. With Unojoy i got the arduino working as a Controller. If i dont pull the lever of the handbrake i get 300 and if i pull it i get 450 so i did it like you with the Minimum Set to 299 and the Maximum to 451 . but if i now Turn the arduino Back to a Controller the axis isnt at 0 when i dont pull the lever it always activated if you know what i mean. I was wondering if you could help me. I Just want the axis to be at 0 when I dont pull the lever and at 100 (max) if i pull it all the way Back. sorry for my Bad English. Please help me thanks in advance
Sounds like you will just need to change the arduino program for whatever case you are currently using. Or maybe you could use a digital in pin as a switch, to select between handbrake mode and non-handbrake mode.
BRO, YOU DID A GOOD JOB, I HAVE A PROBLEM MY ARDUINO UNO R3 DOESN'T GET DFU MODE AFTER SHORTING IT REMAINS SAME IN ARDUINO MODE, PLEASE HELP ME,REQUEST!
It's not my program. I don't know, but a quick look at the first line of the docs says "UnoJoy! allows you to easily turn an Arduino Uno (or Mega or Leonardo) into a PS3-compatible USB game controller", so it may not even be supported on the Due.
What a nice video.I follow every step what you said.I plug Potentiometer in analog0. But When I turn Potentiometer every axis change value. I don't know what I was doing wrong. :( I need your help.
If the game has those features, then it should also have an option screen to select which buttons do what. If you're talking about making a physical "simulator" with actual pedals and steering wheel etc, I don't think a video is necessary. Just get some longer pieces of wire and attach the buttons and potentiometers to your pedals etc.
@@iforce2d ok you are right we connect 3 potentiometers for 3 paddles but when we connect steering wheel to potentiometer its not rotate full 900 degree this is the main problem
im a bit late aren't I! well im 12 years old and i made a game in game maker 8 and i have a option to make a stand-alone .exe for the game and i will be using a micro SD to store it. Can my arduino uno TFT touchscreen run it?. P.S im using a X and Y axis arduino joystick with a switch
hey, nice video...! i've been looking for a video like this. can you make a video about unojoy working with some toggle switch like SPDT toggle switch? i planned to build myself a panel for flight sim cockpit for later. can you help me?
+FlightSim Three-Sixty SPDT stands for single pole double throw right? Double throws means that when the switch is one way eg. input A will be on, and when it's the other way input B will be on... I don't see how you can do that with only one input. If you just want it to act like one button then it's not SPDT, it's just a single button like I showed at 18:36
hey man....i cudn make it work into a game.....can u plzzzzz help me....i connectd 2 pots as input and tried to steer and throttle....but it isnt working with the game.....in the calibration and the x360ce it shows its working.....but in the game ..it jus wont work...plzzz help.... thanks in anticipation 😊
yea....n after a few tries...i got it working...but now wht happens is....joy zl keeps toggling evn if i hvnt put ny input for it neither any pot for z joystick....wht do u thnk of dis???
Yea....i got it after a few tries....but now what happens is.. joyzl...that is the z axis rotation keeps toggling....as in..whenever i try to configure my game for the keys or the joystick....it quickly sets it to joystick zl....which isnt even plugged into my arduino...
you dont need to, the micro and Leonardo already interface with the computer as device, you then just need to run LeoJoyInstaller.exe inside of the arduino root directory and it recognizes it as a joystick
No, this requires a separate chip that handles the device identification. I looked at this a little more in a previous video: ua-cam.com/video/cZc-23NjNHY/v-deo.html
thanks for reply i worked so hard with my clone uno i m stuck at 3rd operation at black screen "Opening port" its giving me error like this: "AtLibUsbDfu.dll not found"
Awesome Video, but this Video is so slow. I'm watching this on 1.5x Speed and It's still slow. I don't know if you are already doing that, but you could try to write a script beforhand even on a Video like this.
If this was my job I might organize a 'script', but I just do stuff in my free time. Feel free to click that link in the description and figure it out on your own instead of watching if it's that painful. Then make a video about it yourself, covering the same content in the same detail but in only half the time (or whatever you deem to be acceptable), and I'll put a link to your video in the description so others don't need to suffer.
This video was EXTREMELY helpful. I followed every step and BAM, UnoJoy Joystick for Windows 10 detected (and it actually works!!!). Thank you! Oh the possibilities. I'm so excited!!
Everything looks great for me in x360ce, but when I toss the .ini & .dll files into a game directory it never sees the UnoJoy controller. Any suggestions?
Update: Whoops! Make sure to use the 32 bit version for most games.
I don't know if you still check these but this video has inspired me. I always thought Arduino was something complicated but you somehow make things seem so simple. I don't know why or how but it did. You even show the parts where you encounter errors and how you troubleshoot it. Thank you.
Thank you so much for this video and another video about Unojoy from you. Your tip to emulate an Xbox controller with x360ce and your explanations on how to use Unojoy saved my day. I was nearly canceling my controller project while failing to emulate a PS4 controller. Emulating an Xbox Controller makes really more sence on a Windows PC.
Hey brother !! Thank you for making this tutorial!
I was building a setup for a school exhibition and wanted to use joysticks in game as accelerator and brake . Thank you for this video Even after 7 years this is a masterpiece and gamechanging like, literally !!!!!
this is super helpfull! Finaly found what i was looking for! Thank you so much!
I picked up a board on Ebay that said it was an arduino 3 (I think it was a counterfeit). In any case, when I attempted to put the board in DFU mode, the LED would blink for a moment and do nothing. On my windows 7 machine, I watched the drivers interface and saw that the arduino uno driver was always showing - it should have shown ATMega16U2.
It seems that this board did not have the bootloader installed in the ATMega16U2 chip (evidence it was a counterfeit).
NOTE: You need at least 2 operating Unos to complete these steps, one of which needs to be able to receive uploaded sketches and the other is the one that needs the bootloader updated.
Basically, the process is:
a) install a sketch on the first board that will program the second board after it has been connected
b) unplug first board from usb
c) connect the second board to the first board according to the instructions
d) plug first board back into usb
e) observer in Ardiuni IDE, the programming of the second board.
To perform the process outlined above, I followed the instructions on this page:
github.com/NicoHood/HoodLoader2/wiki/Burn-the-bootloader-from-another-Arduino
Some points of clarification:
1. To ensure you get all the files needed, its best to download all the files in the github repo:
github.com/NicoHood/HoodLoader2/archive/master.zip gets a zip file that you can then unzip on you PC.
2. Once it is unzipped, locate the Installation_Sketch.ino file in: \HoodLoader2-master\HoodLoader2-master\avr\examples\Installation_Sketch
3. In the sketch, in Line 11, change to:
#define HEXFILE 201
(looking in the list of hex definitions, 201 the hex for HEXFILE_Arduino_COMBINED_dfu_usbserial_atmega16u2_Uno_Rev3_hex_Full, which is the default hex that should have been loaded)
If you get the wiring correct between the 2 boards and follow the instructions, it should work fine.
Fantastic. Thank you.
I'm making a VR helicopter sim, and I've had a lot of bother trying to get people's code to work.
Hopefully the "serial read" will do the job with the pots.
I think converting a "mega" and making it a H.I.D. might be the best way to get all of the pins that I need, without learning multiplexing.
Hmmmmm I thought this was going to be easy.....WRONNNNNNG!
:D I've got it working with a Thrustmaster joystick at the moment, I've made the collective, pedals and cyclic, but it's a shagnasty way to do it.
I really want the code on an Arduino.
Thank you very much.
Craig
ua-cam.com/video/8kGl2Yd-clI/v-deo.html
best video on this thank you so must really helped i watch so many bad ones really thank you
Woooow the end of the video was spectacular
For those who don't have Uno with 16u2 chip I recommend vJoy which can work with Arduino boards that have cheap CH340 serial adapters. I guess vJoy works with all Arduino boards so give it a shot. There are videos on youtube how to setup and use it. Also it is easy to setup and use than UnoJoy
just realized my uno clone has CH340, thanks
VC MIM AJUDOU DEMAIS POIS NAO TINHA CONSEGUIDO FAZER OBRIGADO
Great video, so many well passed information. Thanks
And what are you talking about "crappy setup"? It totally rocks.
😁👍👏👏
Thumbs up for 4th place finish and a thanks for the tutorial.
A great starter tutorial ! this plus UNOJOY I should be able to connect my arduino joystick so I can play a bit of Centipede !...cheers.
Thanks for that fix on the axis going crazy. Never thought to ground them *facepalm*
you are amazing at driving.
Very helpful even in 2020🙌🙌👏👏
It seems a £6 joypad would be more sensible here but i'm guessing this wizardry will open up all kinds of funky DIY controllers and other tinkering?
+MicroRCFiend the cheap knock-off gamepads often don't function correctly when the game expects to have a genuine xbox360 gamepad though, that's the one of the reasons the x360ce utility was created :) You usually find the cheap gamepads also use cheap pots with huge deadbands that can't be worked around with software tricks, and the sticks on the one I have are a bit scratchy feeling to move and have very strong springs. All of this made it very difficult to play the driving game, which is why I abandoned it and looked for an alternative with smoother input. As I mentioned at the end, it's a lot of work just to end up with some still rather crappy inputs like I have shown here, but with some more time and resources you could make a nicer driving sim setup with a full-size steering wheel, floor pedals, gear-change lever, hand-brake etc, or whatever cool setup you want.
It says "AtLibUsbDfu.dll not found". Please tell me what to do
muy bueno el video, gracias
Great tutorial and great driving! :-) While in "joystick-mode", can the arduino also receive input, from the game? Like force-feedback?
No
yes its actually possible some dudes made it on youtube
Awesome!
Agreed, Awesome!
Here is Controller Board for Arduino UNO www.ebay.com/itm/222514834232?ssPageName=STRK:MESELX:IT&_trksid=p3984.m1555.l2649
Yeah you are not windows guy ;) . A joystick won't appear under "Ports". It's most likely under "Human Interface Devices" (or in some cases under "Sound, video and game controllers"). You should also be able to see it "Devices and printers".
And btw. you should be able to calibrate the gamecontroller there, too, if it does not give you the full range. No need to change the Arduino code.
+superdau Thanks for the pointers. I had actually checked every other place in the device manager and it didn't show up anywhere. Just now before replying to your comment I checked again with the same result, and then got distracted doing something else. After about ten minutes I heard that ba-bum sound and a notification popped up saying new usb hardware had been installed successfully.... checking the device manager now I see it under "Human interface devices" as "USB input device", and also in "Devices and printers" as "UnoJoy joystick". Not sure why that never happened before. I tried the calibration in the "Devices and printers" section, and it seems to work but for some reason it only offers this for two axes which it calls 'Z axis' and 'Z rotation', very strange. One of these was my throttle and the other was one of the floating inputs, so just by chance this would have worked for the case I showed in the video. There doesn't seem to be any way to set four analog inputs, or which should be which, or to change their direction. Still, it's good to know though!
+iforce2d
The calibration for X and Y looks different I think (it's the crosshair moving around), all the other axis have the moving bar. So maybe you missed that (the calibration is always done for all of the axis). I don't know how many axis the unojoy has by default, but if some are really missing, it is unojoy's fault. As HID it should report how many analog and digital axis it has. Maybe look into the source for it (not for the main AVR, but the interface AVR). My Taranis for example automatically appeared as an 8-axis, 8-button HID without any driver installation. The Arduino should be able to do the same.
For the inversion: yeah, I think it can't simply be done without tricks. But in that case just switch outer wires of the pot around ;)
+superdau I think the UnoJoy is reporting correctly (eg. at 17:00 in the upper right of the page: 4 axes, 1 dpad and 14 buttons)
Yes, you're right the crosshair in the white square seems to be for the first two axes - I tried it again and after moving the pot through its full range the crosshair had calibrated to meet the endpoints. I didn't notice that the first time because the instructions on that page of the wizard simply say "Press all of the D-Pad's corners, then press a button on the controller", no mention of analog axes, then on the following pages for the other two axes the display is completely different (horizontal bars, one per page) and it says to move the axis all the way up and down. I think the wizard could use some better instructions!
+superdau Could you possibly tell me how to change the default UnoJoy to change the crosshair to two separate bars? Just asking maybe you'd know. thanks!
+coetseejj
You can't change that. That's just how Windows shows the X and Y axis. The only thing you can do is change the firmware that goes into the "glue" AVR (not the main Arduino AVR!) and make it send out the values on different axis like X-rot and Y-rot. But it doesn't make any difference on how the values are treated anyway, so you might as well make an 6- or 8-axis joystick by changing the code instead of just remapping the first two axis. I haven't really looked at the code in any detail, but I know somewhere it was defined how many axis and buttons the joystick reports to the OS (again, I'm talking about the firmware that goes into the small AVR here; you can't change any of that in the normal Arduino sketch that you then use).
what if i'm using the atmega328P standalone ? can i use the ft232RL adapter to make it read as an usb device ?
no. You can use a Micro, Pro Micro if you need something small. These have the required ATMEGA 32U chips.
Excellent video, has this been updated for Windows 10 and Uno V3? When you say converted to Arduino Uno to Joystick, do you really mean "HID"?
this video really helped me
Does anyone have a problem with the UnoJoy 'controller' messing up the modified x360ce input? I can't disable the UnoJoy input as x360 uses it for the virtual controller, however games pick it up as an input still.
how can i reset the pin if im using Arduino UNO R3 CH340 CH340G ATmega328P Microcontroller Board Micro Controller is it compatible for this project?
Instead of going "a little lower and a little higer on the Values" when mapping, ld just use a contraint command to limit the values range
can you tell me that command I am new to arduino plz.
I made it for ETS2 , but the range is too high , I want to lower the range .
so helpful , Thank u
Hello. I have a question... can I do these works with my Arduino nano?? Because in Arduino nano we didn't have two pin to connect together...
No, that's why it's called Unojoy :)
😂 thats right @@iforce2d
Hello. When i do this with my arduino uno when i connect two pins in arduino uno and i run turn into a joystick i get a dll error and when i download dll file an coppy in its correct location still i get the dll error. Why?
Hey! Thanks for the video. Very detailed!
The Uno has 6 Analog inputs. So i guess that its not possible to use 4 potentiometers(1 for the wheel, 1 for the gas, 1 for brake and 1 for clutch). But then again, clutch can be a common switch connected on a digital pin. Am i right? I am sorry if my question is obvious. I am just getting started on arduino :) Thanks again for the video. Keep it up!
But.... six is more than four isn't it? :)
Well, i got confused with pots :P i thought that every pot needs to connect to two analog pins. I still would, if it wasnt for you. Well, now i owe you twice haha. Thanks!
Gou : i hope you can see my video, if you want make steering wheel for pc, thank's, sorry for my english...
Interesting video, tanx.
did this change happen you say in archive/p/unojoy/wikis/UnoJoyAndJavascript.wiki ? Is there a way now in 2018 for UnoJoy! to show up as an XInput device without driver on windows?
did you look in the HID devices in the device manager ?
do you know how to make the Arduino uno r3 chines become a joistick? it seems that this Ardoino has no support, but maybe there is some procedure
Fine video, but easily to use with STM32 boards and FreeJoy FW or Leonard and classic HID joystick library :)
hello, I would like to know if it is possible to somehow set up feedback, I want to assemble a game steering wheel based on the library, thanks in advance
Instead of that emulator software, would something like Joystick Curves work?
I know this is an old video, but I noticed you're still active so I thought I'd ask, but how bad is the input delay on this?
No noticeable delay, as far as I could tell.
@@iforce2d Thank you for the reply, I really appreciate it!
Is there a way I could emulate an xbox one controller. And when I push a button on the arduino it will press a then wait a second and then press x wait a second and then just repeat it so a x a x a x . Indefinitely I no this might sound strange but in the game to craft something 1 at a time takes ages so I could use this method and walk away for a few hours?
I don't know about xbox one controller specifically, but the scripted style of automatic input is certainly possible.
When I open TurnIntoAJoystick I get error "AtLibUsbDfu.dll not found.". I have el cheapo chinese copy arduino. It is ATmega328P CH340G type thing. I have installed some drivers and it works OK in other use.
Did u find out how to fix it I have the same problem
Here's what you do: you reset your uno briefly, (connect reset and vcc)
Remember to disconnect the connection afterwards.
And then run the turnIntoAJoystick.bat again
I must be doing some thing wrong because that is not working
nvm I got it working thanks
i did the following and it still didnt work plz help
can unojoy be used on ps4?? as a controller?? pls helppp
Is it possible to pair an xbox one control with arduino uno and make control with it?
Спасибо.
how to get accelometer data to work
You didn't find the arduino in "ports" section because it's on "HID" one!
When you turn it into a joystick, windows recognize it as a Human Interface Device, not as as common device on a COM port.
can i use 3 usb optical mouse as an input for the arduino Unojoy?
thank you
I am trying to use a encorder in stead of a potmeter as my steering axis, but I can't get it working. Could you help me?
+Raoul Ursum No. I really don't see how you can expect that to work.
I have a local Arduino board and I don't know which pins to short please help !!!
thanks, only good tutorial i found
Does Unojoy automatically enable pull-up resistors on every digital pin?
I don't know, but it's pretty easy to do if you want to: www.arduino.cc/reference/en/language/functions/digital-io/pinmode/
i have a problem, when i connect my potentiometer, the arduino turns off. At first it worked perfectly, but then my computer displayed a warning window about the conected device, and the arduino turn off. The arduino is able to work again without the potentiometer, but wuen i attach the potentiometer to 5v., gnd and analogs pins, the arduino turns off.
someone knows whats happening?? PLEASE HELP
Sounds like you are shorting the 5v to ground.. Make sure you really have the connections the way you think you have them...
BRO, YOU DID A GOOD JOB, I HAVE A PROBLEM MY ARDUINO UNO R3 DOESN'T GET DFU MODE AFTER SHORTING, IT REMAINS THE SAME IN ARDUINO MODE, PLEASE HELP ME, REQUEST!
MAY I HAVE TO BURN THE BOOTLOADER FIRST? IS BURNING BOOTLOADER A SOLUTION? MINE IS A 16U2 CHIP
Hi I have a question my computer sees a joystick as a gamepad, and how to make a mouse or keyboard
Hi iforce2d
i looked at the schema of an Arduino UNO, but he has a big Formfaktor.
I beleve it is possible to make the same funktion with one A-micro-pro(32U4) plus one A-mini-pro.
The micro as UnoJoy -TX/RX crosover to the mini with PPM or A/D+D reading.
Do you belive that is working?
If Yes, can i burn the same HEX Files to the 32u4 (they made for 8u2)?
!!! Very nice Videos from you !!!!!
I found this one:
github.com/MHeironimus/ArduinoJoystickLibrary
I will test it, when I get some Arduino_Pro_Micro.
Hello, very nice tutorial sir! Would you mind giving me a link to one of those radio gimbals? its difficult for me to find those... also are there any of those availble in "springed" along both axis? Best would be a reputable brand but if none are "availble" i would also use one of those chinese/aliexpress stuff. Do you know wich ones have a good life expectancy?
This should be ok (the 'direction' option is the springed along both axis you mention)
www.banggood.com/Flysky-FS-i6-2_4G-6CH-Transmitter-Spare-Part-ThrottleDirection-Main-Bearing-Seat-p-1058191.html
Can i make a complete control using this programation or i need a different programation?
So this will show up with two analog joysticks?
Nice driving!
ua-cam.com/video/8kGl2Yd-clI/v-deo.html
and do i need to edit my controls for the game to the joystick or for it to be compatible for windows 7 and for arduino do i need a windows emulator for TFT???
This unojoy thing emulates a PS3 controller. So your game should be made to use a PS3 controller. You will need to edit the unojoy sketch to say which pins of the arduino go to which controls on the PS3 controller. I don't know what the hell TFT has to do with anything :)
im making a arduino stand alone console like a mmobile phone but just with one .exe file
the start of the comment you replied to was the in the a bit late one. Sorry!
please reply im using a TFT a a screen to make a Stand-alone CONSLOE that is compatible with both windows and arduino. im makeing a low fps game so that arduino can handle it
You want to run the game on an Arduino??? That will not work well at all because Arduino is not made for drawing graphics, I mean come on, it only has 2kb of memory right? Maybe if it's a very very simple game like Pong from 1972 it might run, but still extremely slow. If you want to run games on standalone console, I suggest learning Android programming and run it on your phone.
Does this work on an Arduino Nano? I do not know how to enter DFU mode in Nano.
No, that's why it's called Unojoy. A little more info here: ua-cam.com/video/cZc-23NjNHY/v-deo.htmlm9s
can you hook a controller to the Arduino unojoy and if so how?
Hey:) if Got a little Problem. So my idea was to use a handbrake for racing games. I screwed a pressure Sensor into the Zylinder and now I connected it into a arduino. With Unojoy i got the arduino working as a Controller. If i dont pull the lever of the handbrake i get 300 and if i pull it i get 450 so i did it like you with the Minimum Set to 299 and the Maximum to 451 . but if i now Turn the arduino Back to a Controller the axis isnt at 0 when i dont pull the lever it always activated if you know what i mean. I was wondering if you could help me. I Just want the axis to be at 0 when I dont pull the lever and at 100 (max) if i pull it all the way Back. sorry for my Bad English.
Please help me
thanks in advance
Sounds like you will just need to change the arduino program for whatever case you are currently using. Or maybe you could use a digital in pin as a switch, to select between handbrake mode and non-handbrake mode.
iforce2d could you please give me a step by step Tutorial?
It works thanks....!
can the arduino be used normally again?
BRO, YOU DID A GOOD JOB, I HAVE A PROBLEM MY ARDUINO UNO R3 DOESN'T GET DFU MODE AFTER SHORTING IT REMAINS SAME IN ARDUINO MODE, PLEASE HELP ME,REQUEST!
38:24 minutes of amazing time
Please make a video on how to connect PS2 controller to unojoy
What's the name of this weird potentiometer?
pero que buen video!
hello please what do we have to change if we wanna use your programme on an arduino due
It's not my program. I don't know, but a quick look at the first line of the docs says "UnoJoy! allows you to easily turn an Arduino Uno (or Mega or Leonardo) into a PS3-compatible USB game controller", so it may not even be supported on the Due.
4th folder, MegaJoy , Hope this helps github.com/AlanChatham/UnoJoy
Thanks for you're time i'll check it soon ... have fun !
very nice project but how to disable unojoy
If you read the documentation, you might discover the "TurnIntoAnArduino" script
github.com/AlanChatham/UnoJoy/tree/master/UnoJoy
What a nice video.I follow every step what you said.I plug Potentiometer in analog0. But When I turn Potentiometer every axis change value. I don't know what I was doing wrong. :( I need your help.
Any input left unconnected will give unpredictable results. playground.arduino.cc/CommonTopics/PullUpDownResistor
Anyone tried Arduino Uno as USB adapter for Logitech Shifters?
Does this work with a micro
can it work on bluetooth?
how much ohm
and what type of potentiometer u have used pls reply
I think 5k.
ok and one more thing that do the triggers r2 and l2 works or not
i counld not find button r2 and l2 that are 2nd triggers in java script
plz make a video on how to make steering wheel, accelerator , brake, clutch for driving games in pc
If the game has those features, then it should also have an option screen to select which buttons do what. If you're talking about making a physical "simulator" with actual pedals and steering wheel etc, I don't think a video is necessary. Just get some longer pieces of wire and attach the buttons and potentiometers to your pedals etc.
@@iforce2d ok you are right we connect 3 potentiometers for 3 paddles but when we connect steering wheel to potentiometer its not rotate full 900 degree this is the main problem
im a bit late aren't I! well im 12 years old and i made a game in game maker 8 and i have a option to make a stand-alone .exe for the game and i will be using a micro SD to store it. Can my arduino uno TFT touchscreen run it?. P.S im using a X and Y axis arduino joystick with a switch
hey, nice video...! i've been looking for a video like this. can you make a video about unojoy working with some toggle switch like SPDT toggle switch? i planned to build myself a panel for flight sim cockpit for later. can you help me?
+FlightSim Three-Sixty wouldn't it be just like the "button" I showed at 18:36 but using two inputs instead of one?
+iforce2d why 2 inputs? i want the one toggle switch is acting like one button on my laptop keyboard.
+FlightSim Three-Sixty SPDT stands for single pole double throw right? Double throws means that when the switch is one way eg. input A will be on, and when it's the other way input B will be on... I don't see how you can do that with only one input. If you just want it to act like one button then it's not SPDT, it's just a single button like I showed at 18:36
***** i'm sorry i am a noob with electronics like that. thanks for your explanation
hey man....i cudn make it work into a game.....can u plzzzzz help me....i connectd 2 pots as input and tried to steer and throttle....but it isnt working with the game.....in the calibration and the x360ce it shows its working.....but in the game ..it jus wont work...plzzz help.... thanks in anticipation 😊
Does the game work with a normal xbox controller?
yea....n after a few tries...i got it working...but now wht happens is....joy zl keeps toggling evn if i hvnt put ny input for it neither any pot for z joystick....wht do u thnk of dis???
n wanna appreciate ua video....great work...😎
English please
Yea....i got it after a few tries....but now what happens is.. joyzl...that is the z axis rotation keeps toggling....as in..whenever i try to configure my game for the keys or the joystick....it quickly sets it to joystick zl....which isnt even plugged into my arduino...
la carpeta de 360 no esta
would this work with a mini or micro?
+DevoiderXXX no, they don't have the 16u2 chip on them
cool thanks, just looking for a smaller option
update, worked on the micro with the Leonardo package
+DevoiderXXX really? Cool! What pins do you short to get it to change into DFU mode?
you dont need to, the micro and Leonardo already interface with the computer as device, you then just need to run LeoJoyInstaller.exe inside of the arduino root directory and it recognizes it as a joystick
Where to download unojoy?
if i get attiny85 can i work it as hid and play games like euro truck simulator
No, this requires a separate chip that handles the device identification. I looked at this a little more in a previous video:
ua-cam.com/video/cZc-23NjNHY/v-deo.html
thanks for reply i worked so hard with my clone uno i m stuck at 3rd operation at black screen "Opening port" its giving me error like this: "AtLibUsbDfu.dll not found"
Where is the flip file now?????????
www.microchip.com/developmenttools/productdetails.aspx?partno=flip
can u make a video transmitter and reciever using arduino and nrf24l01 module?
thnx in advance!! :D
Awesome Video, but this Video is so slow. I'm watching this on 1.5x Speed and It's still slow. I don't know if you are already doing that, but you could try to write a script beforhand even on a Video like this.
If this was my job I might organize a 'script', but I just do stuff in my free time. Feel free to click that link in the description and figure it out on your own instead of watching if it's that painful. Then make a video about it yourself, covering the same content in the same detail but in only half the time (or whatever you deem to be acceptable), and I'll put a link to your video in the description so others don't need to suffer.
hi, function with all arduino uno?
yup
would this work on a Android device ?
yes. It works. Kind off. You need to figure it out what pins and button are used. I am not an expert but a manage to navigate to apps in menu
AaronStone thanks for the info. now I can proceed.
i cant find flip can you send link ?
Do u have nano version!?
No, nano does not have a 16u2
ua-cam.com/video/cZc-23NjNHY/v-deo.html
will it work for android ?
And who are you ?
can i use nano
no
connect those to the ground to make them shut up xDDD