Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [joystick]

The tag has no usage guidance.

-2
votes
0answers
36 views

MPU 6050 mouse joystick [on hold]

I made a MPU 6050 Air mouse. The Mouse.move() value is always not greater than one, and according to the angle of the MPU 6050 changes the frequency that the command is called. I did this to have ...
0
votes
0answers
24 views

Joystick button press misses with reading xy-axis ADC values?

I'm developing the basic function to work with the joystick module, so I have to: 1. Read x-axis ADC value. 2. Read y-axis ADC value. 3. Read the logic button press. The problem is that I misses the ...
2
votes
1answer
41 views

Servos not working properly with joystick

So, I was working with a project in which I used a joystick module to control two servos at the same time. The joystick controls the servos in a way that when the joystick is moved along x-axis, both ...
-1
votes
1answer
34 views

HC-05 modules with joystick driven platform [closed]

I am working to create a joystick controlled platform using bluetooth to communicate, but am having several problems. The platform https://www.dfrobot.com/wiki/index.php/Cherokey_4WD_Mobile_Platform_(...
0
votes
0answers
73 views

Read from analog input “bounces” around

I have a joystick and am using the following code to show the output to the serial monitor: // Arduino pin numbers const int SW_pin = 2; // digital pin connected to switch output const int X_pin = 0; ...
0
votes
1answer
259 views

Arduino Nano joystick x2 / potentiometer

will i be able to connect up all these parts to an arduino Nano i noticed i will need to connect to the nanos v5 to the 2 joysticks and potentiometer slider if i share the voltage will it still ...
0
votes
0answers
22 views

XCSource Pro Micro strange behaviour

I've got an XCSource Pro Micro (Sparkfun Pro Micro clone), which is an ATMEGA32U4 board and can be used as either an Arduino Leonardo or Micro. I wrote a simple sketch to use it for a 2-axis/2-...
1
vote
1answer
64 views

USB Host Shield plus 2 identical joysticks

I'm trying to get two identical joystics (Saitek cyborg 3D) running with the USB-Host-Shield on a Mega 2560 and an USB-Hub. I already get the event-messages of both of them: #include <usbhid.h>...
0
votes
1answer
71 views

Joysitck with servo, LED array and buzzer [closed]

Does anybody know of a sketch that can turn a single servo 180 degrees clockwise/counterclockwise with the x axis of a joystick, light a bar graph LED with the Y axis, and sound a buzzer when the ...
0
votes
0answers
290 views

Thrustmaster USB Joystick with Arduino Uno and USB Shield

I am trying to use a Thrustmaster USB joystick (like the one here http://www.thrustmaster.com/products/usb-joystick) with an Arduino Uno and a SainSmart USB shield. I already included the USB Host ...
0
votes
1answer
629 views

Arduino force feedback vibration gamepad

I'm projecting a gamepad with Arduino Micro. I'm using the Arduino Joystick Library. I'm building this gamepad for racing games so I need to catch signal like hit_the_wall, hit_another_car. I wonder ...
0
votes
2answers
312 views

How can I control the speed and direction of dc motor at the same time (through Bluetooth

I am working on a project of an arduino car it's simple really i know how to control the speed and direction using simple button but I was looking for an upgrade so I add a virtual joystick in my app ...
2
votes
2answers
209 views

Interfacing Logitech Joystick to Arduino and interrupt a while loop

I am working on a project of a robot arm. The joints are made of servo motor. The basic function can be describe as: The robot arm (the servos) were moved manually by the Logitech joystick. The user ...
0
votes
1answer
162 views

Simulate 9 pin joystick output

I have built this little setup, which is supposed to record and replay input from a classic 9 pin Joystick. I connected the 9 pin connectors with the Arduino, read the input on the left side from the ...
0
votes
2answers
132 views

analogRead returning 0 constantly when connected to joystick

What reasons could there be for a joystick to return 0 when using analogRead? X-pin is connected to AO and y-pin is connected to A1. VCC is connected to 5V and GRND is connected to GRND. By ...
1
vote
2answers
312 views

How to: Connecting 4-pin Joystick to Arduino board

I am completely new at Arduino. I have a joystick: It is however quite different from all the other joystick-tutorials, as their joysticks have 5 pins, not just 4. So I am quite at loss here. How do ...
0
votes
2answers
2k views

Arduino USB Host Shield with joystick

I'm building my own quadcopter and going to use an Arduino for this. An Arduino Micro for the quadcopter and an Arduino UNO for the controller. I want to use an USB host shield with a Logitech Extreme ...