Interfacing analog Joystick with AVR

In this tutorial, we are going to learn something interesting which is already sued by many people to play games. Yes, the analog joystick which is used to control the motion of a vehicle or a character. They are also used to control the movement of an RC car or maybe an RC helicopter. Usually, all the joysticks are two axis joysticks. The ‘y’ axis is used to move the object forward or backward while the ‘x’ axis is generally used to move the object left or right. These joysticks are available both in digital and analog outputs. The digital joystick gives pulse width modulated output but is more costly than the analog output joystick. In this tutorial, we will get the input from the joystick from both the ‘x’… Continue reading

Feel the Difference with Servo’s Joystick Control

Have you ever inspired by any walking servo or pixel rocket before? Did you have the urge to build a similar or even better prototype for yourself? Since the servo is the easiest to be controlled, you should try to manipulate it into your joystick control. Yeah, your task for today is to create a simple joystick control with a servo over a USB connection. Let’s start with the hardware part first, and what you need to do is: You need to make sure that the JR Sport ST47 standard servo is wired directly to Arduino’s 5V power and ground. Also, connect the servo’s control wire to Digital pin #2. The Arduino and the standard USB joystick need to be connected to a PC with a USB cable as well.… Continue reading