


So to interface this module with pic microcontroller, we need to use two ADC channels of pic microcontroller and one input port of pic microcontroller. But in this tutorial, we are PIC16F877A microcontroller. We can connect joystick module to any microcontroller, like Arduino, avr microcontroller and pic microcontroller. It provide voltage w.r.t Y axis position of joystick It provide voltage w.r.t x axis position of joystick Description of each pin is given below: Pin No.Ĭonnect to ground terminal of power supply Joystick module consists of three 5 pins. There is a push button at the center which which is used to control z-axis dimension. One Potentiometer is for x-axis control and other Potentiometer is for Y-axis control. Variable resistors provides output in the form of analog voltage and push button provide output in digital form either low state or high state.

It consists of two variable resistors and one push button. Picture of Joystick module, we are using in this tutorial is shown below. I have already posted a article on how to interface joystick module with Arduino. Lets start with the introduction to joystick module. These input devices are very useful if you want to interact with digital world. It is used in robotic projects to control direction and rotation of a robot. Joystick module We are using in this tutorial is available in very less price. Because the joystick we are using provide three dimensional control in x-axis, y axis and Z-axis. Do you want to add three dimensional control in your project? If yes then this Joystick module interfacing tutorial will be very useful for you. Joystick module interfacing with pic microcontroller, In this tutorial you will learn how to interface Joystick module with pic microcontroller.
