In the field of robotics, there is more often the need to control several servos, e.g. when realizing a robot arm. In this case, operation with a gamepad or joystick is ideal because the large number of axes / degrees of freedom enables efficient control of many channels.
This blog describes the setup to use the free Windows APP JoystickRC to control eight servos wired, e.g. for a robot arm.
The mapping of the axes and switches to the servo channels is done flexibly in the software. The actual pulse generation for the servos is done by a PiKoder Serial Servo Controller (PiKoder/SSC), which is connected to the PC via a USB adapter.
The setup is ideally done with the help of a PiKoder/SSC – development board and with a standard USB adapter. The PiKoder is supplied with power via the USB cable. Since the USB interface cannot supply enough power to control the servos, they must be supplied with an independent voltage source via the terminal strip. In order to prevent balancing currents that could damage the PC, the jumper must not be plugged into the PiKoder circuit board under any circumstances. More detailed information can be found in the PiKoder User Manual.
Connecting the USB cable to the PiKoder/SSC development board – please note that the jumper must not be plugged in.