JoyStick Sensor module
Introduction:
Lots of robot projects need joystick. This module provides a affordable solution to that. Simply connect to two analog inputs, the robot is at your commands with X,Y control. It also has a switch that is connected to a digital pin. This joystick module can be easily connect to Arduino by IO Expansion Shield For Arduino with supplied cables.
Specification
* Supply Voltage: 3.3V to 5V
* Interface: Analog x2,Digital x1
* PH2.0 Interface
* Size:35x39mm
* Weight:15g
PinOut

Tutorial
Connection Diagram


Sample Code
// #
// # Editor : letheascetic from PCBWay and FizzyStudio
// # Date : 02.08.2017
// # Product name: Joystick Module
// # Product ID : SENZ003
// # Version : 1.0
// # Description:
// # Modify the Sample code for the Joystick Module
// # Connection:
// # X-Axis -> Analog pin 0
// # Y-Axis -> Analog pin 1
// # Z-Axis -> Digital pin 3
// #
int JoyStick_X = 0; //x
int JoyStick_Y = 1; //y
int JoyStick_Z = 3; //key
void setup()
{
pinMode(JoyStick_Z, INPUT);
Serial.begin(9600); // 9600 bps
}
void loop()
{
int x,y,z;
x=analogRead(JoyStick_X);
y=analogRead(JoyStick_Y);
z=digitalRead(JoyStick_Z);
Serial.print(x ,DEC);
Serial.print(",");
Serial.print(y ,DEC);
Serial.print(",");
Serial.println(z ,DEC);
delay(100);
}
JoyStick Sensor module
Project images are for reference only. Actual production is based on the manufacturing files on the project page.
Please review the designer's notes (e.g., PCB thickness) and select the appropriate options.
PCBWay is not responsible
for issues caused by unsuitable parameter selections.
For more important ordering information, please refer to
Read More
Raspberry Pi 5 7 Inch Touch Screen IPS 1024x600 HD LCD HDMI-compatible Display for RPI 4B 3B+ OPI 5 AIDA64 PC Secondary Screen(Without Speaker)
BUY NOW- Comments(0)
- Likes(2)
-
Anthony Pedotto
Feb 22,2025
-
Andy Little
Oct 18,2017
- 1 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
2design
-
3usability
-
4creativity
-
5content
More by PCBWay Team
-
Low Noise 45V-4A Dual Rail Power Supply Using Enhanced Capacitance Multiplier
The core element of any electronic device is the power supply. Any instability or malfunction of the...
-
PCBWay Christmas Sock
Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
-
PCBWay Christmas Star V2
Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
-
PCBWay Christmas Snowflakes
Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
-
PCBWay Christmas Badges Gingerbread Man
Just put a cell coin, CR2032 (3V) on it, it will going to shine.The Christmas badges are designed by...
-
PCBWay Christmas Badges Tree
Just put a cell coin, CR2032 (3V) on it, it will going to shine.The Christmas badges are designed by...
-
PCBWay Christmas Star
Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
-
PCBWay Christmas Ball
Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
-
PCBWay Christmas Reno
Designed by PCBWayer Jorge @akirasanJust put a cell coin, CR2032 (3V) on it, it will going to shine....
-
PCBWay Christmas Badges Ball
Just put a cell coin, CR2032 (3V) on it, it will going to shine.The Christmas badges are designed by...
-
High Precision Digital AC Energy Meter Circuit Voltage-Current-Power-KWh
Dealing with the 220V-AC mains voltage and measuring the AC loads' true power, voltage, and current ...
-
36V-3A Adjustable Efficient DC to DC Step-Down Converter
A DC-to-DC converter is one of the most commonly used circuit topologies in electronics, especially ...
-
PWM Cooling-FAN Control and Over Temperature Protection using LM35 and ATTiny13
Proper thermal dissipation is an essential rule for nowadays electronics. The best operating tempera...
-
An Ultrasonic Range Finder Using an SRF05 and an ATTiny85
An ultrasonic range finder is a useful tool in a variety of real-life and robotic applications, such...
-
PCBWay 7th Anniversary Badge
PCBWay 7th anniversary first version badge is coming.It is like Batman's darts,and we add PCB elemen...
-
NeoPixel Ring - 16 x 5050 RGB LED with Integrated Drivers
This is the 16 LED NeoPixel Ring from Adafruit, a small chainable 1.75" (44.5mm) outer diameter boar...
-
Automatic Hand Sanitizer Dispenser (Version 2), Using ATTiny13
As we all know, the COVID-19 outbreak hit the world and changed our lifestyle. In this condition, al...
-
Battery capacity measurement using Arduino
The true measurement of a battery’s capacity is essential for many scenarios. A capacity measurement...
-
Programmable Mist Maker - XIAO / QT PY Extension
1061 2 1 -
RadioHAT - Raspberry Pi radio development platform
860 0 2 -
QWIIC-VL53L4CD Time-of-Flight Distance Sensor Module
1085 0 1 -
-
-
-
ARPS-2 – Arduino-Compatible Robot Project Shield for Arduino UNO
3322 0 6 -
-
A Compact Charging Breakout Board For Waveshare ESP32-C3
3929 3 8 -
AI-driven LoRa & LLM-enabled Kiosk & Food Delivery System
4315 2 2
Top







