Questions tagged [joystick]
The joystick tag has no summary.
48 questions
-3
votes
2
answers
61
views
What does VRx stand for in the KY-023? [closed]
The x and y axis pins on the KY-023 are labeled VRx and VRy, but I'm curious as to what they stand for, as I couldn't find any official statements about it. I assumed it was "Variable Resistor X/...
-1
votes
1
answer
84
views
Arduino Nano Keyboard. Keys keeps pressed
I'm new in coding with Arduino, and I am trying to make a one hand keyboard with joystick as personal project. I tried to make it print some ASCII characters, but I don't know why the button keeps ...
-1
votes
1
answer
162
views
Problems with reacting to joystick button press
I am trying to use a joystick in a project for device control. Pressing a joystick button should cause incrementing a variable. INPUT_PULLUP mode is used for internal button.
As I understand it, when ...
-1
votes
1
answer
149
views
Joystick library not reading potentiometer
I am using Joystick Library to make a HOTAS system for flight simulators. When I load the test program I can get all the simulated controller inputs to register in windows. I can also get the value ...
2
votes
1
answer
854
views
How can I compensate for a joysticks offset value in neutral position?
I have a joystick that outputs the values 0 - 4095. I want to map these values in this fashion (Yes, the reversed mapping is intended):
outputValue = map(inputValue, 4095, 0, -2048, 2047);
However, ...
2
votes
0
answers
64
views
I am trying to control 4 servos with a joystick, but after a few seconds, they start spinning and don't stop until the power source is cut
Here's my code. I don't know if the issue is the power source though. I only have access to my computer for a power source.
#include <Servo.h>
Servo servo1;
Servo servo2;
Servo servo3;
Servo ...
1
vote
2
answers
4k
views
Expose two HID Joystick devices with single RP2040 board (Waveshare Pi Pico Zero)
I want to use a Waveshare Pi Pico Zero to connect two standard NES controllers to a computer over a single USB port.
I'm using the Waveshare RP2040 Zero board definition from https://github.com/...
-2
votes
1
answer
270
views
I want a Rotary Encoder to make 10 steps at once, but my code isn't working. What am I doing wrong?
I'm using a rotary encoder on my Arduino Micro, that is supposed to do single steps or ten steps at once, depending on which position a switch is in.
The Rotary: https://www.reichelt.de/...
0
votes
1
answer
138
views
Can I make an Arduino Uno Rev3 pretend to be a joystick?
I want to create a joystick for my flight simulator and I need to make an Arduino Uno Rev3 pretend to be a joystick when I plug it to my computer.
0
votes
1
answer
211
views
Joystick reading erroneous values
Under normal operation, the value of a joystick's ADC range on my board is from 0 to 1023 (10-bits). However, my graph for either axis is not continuous. Rather, there is more than one min and maximum ...
-2
votes
2
answers
357
views
Emulate Joystick
I am trying to automate a existing system that uses Joystick as its input to move the Motors in x&y directions. I actually want to emulate arduino to exactly do what the joystick is doing by just ...
1
vote
0
answers
1k
views
ESP32 WROOM32E w/ Arduino IDE 2axis joystick - how do I get a good reading?
How do I get the full range of motion from an analog joystick and the ESP32 WROOM32E using the Arduino IDE with esp-idf installed?
Using a 2 axis analog joystick, the 5v/3.3v pin, ground pin and the ...
1
vote
0
answers
309
views
I'm getting really unstable analog values with my B103348 joystick
I'm trying to make my B103348 joystick control a DC motor but I'm getting very unstable values from it specifically when the y axis is at 0. This is what my Serial monitor shows...
0,
21,
21,
21,
0,
...
1
vote
1
answer
2k
views
Can Arduino UNO be used to emulate a PS4 joystick?
I Want to know if there is a library that can be used in order to make a PS4 controller with Arduino.
I have a PS2 steering wheel and I want to use it thorugh Arduino with PS4. I know that PS4 has his ...
1
vote
2
answers
693
views
Im trying to map a joystick to a servo but need the servo to be at 0 when the joystick is in nerural. And up to 180 when joy is forward or back
Im trying to map a joystick to a servo but need the servo to be at 0 when the joystick is in nerural. And up to +180 when joy is forward or back.
I just cant seem to figure out the mapping or setup ...