Erratic joystick behavior in mBOT. Comportamiento errático del Joystick en mBOT


#1

This time the challenge was to show in two displays of 7 elements, the value of the JoyStick in each of its axes (X, Y).
We have observed that when the Joystick is at rest the values are not stable. It should be (0,0) but we have obtained variable values around (-2,8).
Also when the Joystick is moved to extreme positions, the value should be -490 or 490, depending on the negative or positive value, but these values are not stable.
In order to use in an application there would be no problem in counteracting the values via software.
The question that remains is whether it is a defective Joystick or it is necessary to calibrate it.

Anyone has any idea how this behavior occurs.

I leave you a video that we have recorded to explain the subject.

Spanish

Comportamiento errático del Joystick en mBOT

En esta ocasión el reto consistía en mostrar en dos displays de 7 elementos, el valor del JoyStick en cada uno de sus ejes (X,Y).
Hemos observado, que cuando el Joystick está en reposo los valores no se mantienen estables. Debería ser (0,0) pero hemos obtenido valores variables entorno a (-2,8).
También cuando llevamos el Joystick a posiciones extremas, el valor debería ser -490 o 490, según fuera el valor negativo o positivo, pero estos valores no se mantienen estables.
De cara a un uso en una aplicación no habría problema en contrarrestar los valores vía software.
La duda que nos queda es si se trata de un Joystick defectuoso o hace falta calibrarlo.

Alguien tiene idea de pq se produce este comportamiento.

Os dejo un vídeo que hemos grabado para explicarlo el tema.


#2