Ks0245 keyestudio EASY plug Joystick Module: Difference between revisions
Keyestudio (talk | contribs) No edit summary |
Keyestudio (talk | contribs) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 5: | Line 5: | ||
By simply connecting 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. <br> | By simply connecting 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. <br> | ||
This joystick module can be easily connect to EASY PLUG control board with only one cable. <br> | This joystick module can be easily connect to EASY PLUG control board with only one cable. <br> | ||
<span style=color:red> '''Special Note:''' <br> | |||
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface. <br> If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module. </span><br> | |||
<br> | <br> | ||
==Specifications== | ==Specifications== | ||
* Supply Voltage: 3.3V to 5V | * Supply Voltage: 3.3V to 5V | ||
Line 15: | Line 19: | ||
* Dimensions: 45mm*28mm*33mm | * Dimensions: 45mm*28mm*33mm | ||
* Weight: 12.5g | * Weight: 12.5g | ||
[[image:0245图片1.png|thumb| | [[image:0245图片1.png|thumb|300px|right]] | ||
<br> | <br> | ||
Line 54: | Line 58: | ||
<br> | <br> | ||
==Resources == | ==Resources == | ||
https://fs.keyestudio.com/KS0245 | |||
https:// | |||
<br> | <br> | ||
==Buy from == | ==Buy from == | ||
*[https://www.keyestudio.com/keyestudio-easy-plug-ps2-joystick-module-for-arduino-steam-p0060-p0060.html '''Official Website''' ] | *[https://www.keyestudio.com/keyestudio-easy-plug-ps2-joystick-module-for-arduino-steam-p0060-p0060.html '''Official Website''' ] |
Latest revision as of 08:38, 8 January 2021
Introduction
Lots of robot projects need joystick. This module provides an affordable solution.
By simply connecting 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 EASY PLUG control board with only one cable.
Special Note:
The sensor/module is equipped with the RJ11 6P6C interface, compatible with our keyestudio EASY plug Control Board with RJ11 6P6C interface.
If you have the control board of other brands, it is also equipped with the RJ11 6P6C interface but has different internal line sequence, can’t be used compatibly with our sensor/module.
Specifications
- Supply Voltage: 3.3V to 5V
- Interface: Digital
Technical Details
- Dimensions: 45mm*28mm*33mm
- Weight: 12.5g
Connect It Up
Connect the EASY Plug Joystick module to control board using an RJ11 cable. Then connect the control board to your PC with a USB cable.
Note: X-axis is connected to A6, Y-axis is connected to A7, Z-axis is default by D2
Upload the Code
What You Should See
Done uploading the code, open the serial monitor and set the baud rate to 9600. If push the Joystick button towards different direction, you should get the different value.
Controlling LED Light
What You Should See
Upload the code successfully, push the Joystick X-axis to downward, the LED light connected to D5 will become off.
If push the Joystick Y-axis to leftward, the LED light connected to D6 will be turned off. Z-axis will control the LED light connected to D7.
Resources
https://fs.keyestudio.com/KS0245