Powering a 5v Joystick with 3.3v board

Hello
I am using a 5v joystick with the Arduino MKR Wifi 1010, a 3.3v board. How do I power the joystick?
Note: I do not want to use level shifting as it will make my circuit more complicated.

How is that voltage used by the joystick? Does it contain any electronics?

Give us a link to this 5V joystick.

The joystick is a generic 5v one, with two potentiometers.
Here is an example:
https://www.bing.com/aclk?ld=e8XbIGb3OslrbVz2iXDsgxhzVUCUw_3mpucXSw879mE-D67ylyDj3mSe5mGfvJkHvu0bW2mHbWX4TMeGQiTPm4-lTjqZHnv3bgJWOe7z7JnLchr9zao3mSmVAlTQvpHylvNdcMMbg_uE-ezkVg4QNDmwbTFl-j-wKUNrbcCslZVVEflAGSrF3xXN8biHTizjOree-IOA&u=aHR0cHMlM2ElMmYlMmZ3d3cuZWJheS5jby51ayUyZml0bSUyZjIyNDA2NTQzNzc3OSUzZmNobiUzZHBzJTI2bm9yb3ZlciUzZDElMjZta2V2dCUzZDElMjZta3JpZCUzZDcxMDE1MzMxNjUyNzQ1NzglMjZta2NpZCUzZDIlMjZpdGVtaWQlM2QyMjQwNjU0Mzc3NzklMjZ0YXJnZXRpZCUzZDQ1ODQ4MjYwNTU2Mzc0NTYlMjZkZXZpY2UlM2RjJTI2bWt0eXBlJTNkJTI2Z29vZ2xlbG9jJTNkJTI2cG9pJTNkJTI2Y2FtcGFpZ25pZCUzZDQxMjM1NDU0NiUyNm1rZ3JvdXBpZCUzZDEyOTk2MjMwNDEwMjM4NzYlMjZybHNhdGFyZ2V0JTNkcGxhLTQ1ODQ4MjYwNTU2Mzc0NTYlMjZhYmNJZCUzZDkzMDA1NDElMjZtZXJjaGFudGlkJTNkODc3NzklMjZtc2Nsa2lkJTNkNWY0NDE2MWVlMTA1MTcxYmM3MDk3NzNkMmZmOWM1ZWY&rlid=5f44161ee105171bc709773d2ff9c5ef&ntb=1

That joystick uses potentiometers. It is not a strictly 5V device though it is marked as such. Just connect your 3.3V to the 5V pin, ground to ground, Vrx and Vry to analog inputs.

little joystick

0.1uF caps from Vrx and Vry to ground will help to filter noise and make the readings more steady.

1 Like

Thank you.
I will try that.

This topic was automatically closed 120 days after the last reply. New replies are no longer allowed.