Hi,
I'm trying to get a joystick to work with the latest Arduino Nano ESP32 on a I/O shield.
I'm really new to Arduino without any electrical background.
I managed to get analog readings of the joystick wile attached to USB-C but the readings are odd.
I'm expecting A0 and A1 to be around 500 in their neutral position, but instead they are approx 3000 when resting (They get to 0 or 4000 when the joystick is pressed on opposing directions).
Similarity, the joystick press (D2) is fluctuating between 0 and 1 when not pressed, but 0 when pressed. Was hoping it would be either 1 or 0 in some stable state.
Here is the setup.
I've spent hours on this. Struggling.
Can anyone help?
Best,
Jakub
2 posts - 2 participants