create new tag
view all tags

The joystick

The joystick consists of 2 potentiometers which are read through two ADCs. On the Arduino we use the built-in 10 bit ADCs giving us values of 0..1024 (0x0 .. 0x3ff). One potentiometer gives us left-right values, the other one forward-backward values.

When the joystick is in its rest position it will give us approximately the value 512 of both axis.

-- Uli Raich - 2018-10-01


Topic revision: r1 - 2018-10-01 - UliRaich
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback