Answer the question
In order to leave comments, you need to log in
Is it possible to make a joystick with arduino nano?
Don't hit with sticks! I heard that arduino Leonardo, arduino pro mini are suitable for creating peripheral devices, like joysticks and other things. Can the adruino nano be suitable for these purposes, or will you have to dance with a tambourine?
Answer the question
In order to leave comments, you need to log in
The question needs to be specific.
If you want to make a homemade usb joystick that can be plugged into any computer and the computer defines it as a joystick, then no, nano will not work, but if you need it purely for your uart program, then easily.
NO it won't work.
Arduino Leonardo - made on the ATmega32U4 controller which has a built in USB controller (very useful) and allows you to use the USB mouse and keyboard emulator library.
Therefore, obtaining such a function using NANO will require not just a "tambourine" but, as it were, an "orchestra" - several tambourines. Considering that the issue price is "2 kopecks". buy any module that is implemented on the ATmega32U4 controller and get the desired functionality.
PS I have assembled an excellent device based on a Chinese controller and plus an SD card interface on board.
There is a rather old MJoy project on the ATMega8 controller, it is bigger than the 328 on which the nano is made. So technically real. But you need to understand that the nano does not have a USB interface, there is a USB-to-serial converter, which means that you will have to connect to the computer through a USB emulator, from free pins. This is never easy, and you have to solder.
So yes, you can, but it's easier and cheaper to use Leonardo or pro micro on atmega32u4.
Link to MJoy www.joysticks.ru/joysticks/handmade/mjoy.shtml
MJoy is not written on Arduino!
Yes, you can. It differs from pro mini only in form factor.
But, IMHO, a full-fledged joystick is better to do on more powerful MKs, which will have a better ADC.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question