Это видео недоступно.
Сожалеем об этом.
Diy Flight Control Stick Using Arduino Uno And Joystick. DIY Flight Simulator
HTML-код
- Опубликовано: 17 апр 2022
- Hello Friends,
In todays video i will show you how i made a flight control stick using Arduino UNO and joystick. I will also be telling you how you can make your own.
Code: drive.google.c...
hand sanitizer bottle as a handle.. u are just genius 😂😂😂
brother! just exelent work man ! hats off
I love those bottle
Nice!
Muy buen proyecto!! Voy a probarlo. Pensaba que solo con Leonardo o Pro micro se podía realizar un joystick. Gracias!
Welcome
Hey, did you know if this UNOJOY support toggle buttons? When you put the key in a position it sends a press in the button and when you put it in another position it sends another press.??
can i get a wiring diagram in this video its too problematic for me
i’m not trying to be a dick but the components used in this video are super fundamental. you should go else where and teach yourself some basics.
look into potentiometers as a tip on where to start
Hi brother, nice work, i would like to makethe same thing but i would to know if it works with the chinese wavgat programmable board? i am asking because i dont have the money to buy a genuine arduino board
You can buy a arduino china clone they work same.
@@arccoplayz9550 thanks, btw, i am subscriber of the channel so i saw the video where you made the drawing machine, so i wonder if it would work without a cnc shield
Hello, I have a problen regarding the input of the joystick. Only the X axis works when I test it on the control panel and the y axis does not work. My cable runs:
VRx → A0
VRy → A1
but when I exchange the cables to each other, the x axis still moves and so as the y axis does not move . I don't know if this is a Software issue or a hardware, is there a way to fix this?
wait you mean to say that if you exchange the cables the previous (not working) y axis works as x axis? If thats the case its a software issue (or your A1 doesent work, try changing to a different analogue port and check.
@@arccoplayz9550 Thank youu! But I have already fixed it, a line of code was missing and I just typed it manually and reinstalled uno joy, it's all working now. Thanks!
Oh I see so is it missing in the main code then I will have to fix it.
how to interface rudder pedals with this whole system..??
Rudder pedals are just the switches in my case so you will want to extend them using wires amd just make pedals
I want to take range of values for rudder pedal rather than switches. So do I do that..?
Are you using an analog joystick? Did you buy the joystick module or is it a commercial joystick that you have taken apart? I can't find any analog joystick modules for sale, only digital ones.
It is a analogue module and yes i did buy it as just the module. Just search dual axis potentiometer joystick module you will find it
Thanks. I see there are different sizes for thumb and hand operation.
@@drkgld you can choose any you want the one i have is for thumbs
Hlo, good build mate
I wonder if I can get the wiring diagram
Thank you
Yes just connect the x and y axis of the joystick to A0 & A1 and connect the buttons to any digital pin except D0 and D1.
@@arccoplayz9550 thank you!
@@arccoplayz9550 hlo, I need help in more thing
I have a joystick with 2 joystick modules, a potentiometer and 3 buttons
can you please suggest me a code?
thank you
Do you mean that ur joystick has two individual joysticks in it? Like 2 of the one shown in the video together?
@@arccoplayz9550 yes 2 4 axis, and 1 2 axis
Hey friend, I am using an Atmega256, could you help me with flashing the board back to arduino after flashing it into JoyStick? I only have arduino uno flash. please friend
Just repeat the same process of putting it into flash mode and then use the other file mentioned in the video to revert back to arduino mode.
@@arccoplayz9550 my problem is i’m using an Atmega2560.
I did the same process of flashing back to arduino with the file you provided, and it worked.
But now I cannot upload code onto the board.
I assumed it was because maybe it’s incompatible firmware for my board since i’m not using an Uno?
By the way thanks for replying, and also for creating all of the code and sharing a video online for how to use it! Very kind of you helping others.
@@arccoplayz9550 hello friend, i figured it out.
i went to arduino repo on github and got the correct hex file. used flip to flash it and got it back to accepting code again.
i had to modify the code to match which pins my joystick is connected to on my board.
hoping to get it working properly now.
thanks for all of the work and info bro!
Oh thank you for pointing that out. I solved a problem I was having with one of my Arduino Mega with that.
I did some more work on the files provided and it seems that it has something to do with the mega only i believe it is trying to get it to work as an uno as you pointed out.
can an arduino nano be used for this
Yes it can but you will have to first flash it with the latest drivers as on some units(especially older ones) the factory drivers dont work.
Hi do you have the Arduino codes for the pitch and roll meter. Need some reference & pointer from you.Thank You.
What pitch and roll metre are you referring to?
@@arccoplayz9550 Display the values of the pitch & roll value on a LCD screen based on the movement of the control yoke
I didnt make such a attachment for my setup but if you want to do it i guess you could use a 3rd party app or something to get the values from msfs and then send it to the arduino
@@arccoplayz9550 I am constructing it directly from Arduino is it possible.I need some reference not from msfs
bro what is that flight game
Google flight simulator
It is Microsoft Flight Simulator. Sorry for late reply
@@arccoplayz9550 oh its okay bro thank you
Can it work with x plane 12 ?
Yes ofc, it will work with every game that supports external joysticks.
Please do let me know
can you show the diagram? and it works microsoft flight simulator X ??
The diagram is very simple just connect x and y of joystick to a0 and a1 and throttle to a2. Connect any buttons to dp 2-13. It will work with any game which supports usb joystick.
@@arccoplayz9550 can you make me diagram it will help me a lot thanks