
86 Make: Robotic Arms
THE JOYSTICK
Joysticks, like almost all electrical components, come
in all shapes and sizes (Figure
5-1
). These small
joystick modules have become popular in Arduino
projects over the past several years. This is primarily
due to their low cost and ease of integration into
robotics projects. As we saw in previous chapters,
one of the easiest ways to integrate a device to
input a range of control is the potentiometer. With
just a few lines of code, you can use the position of
the potentiometer knob to do just about anything
your robotics project might need. Though a joystick
might look more complicated, it is simply two
potentiometers ...