www.joy-it.net
Pascalstr. 8 47506 Neukirchen-Vluyn
WIRELESS GAMEPAD
SBC-WLGamepad
1. GENERAL INFORMATION
Dear customer,
thank you very much for choosing our product.
In the following, we will introduce you to what to observe while starting
up and using this product.
Should you encounter any unexpected problems during use, please do
not hesitate to contact us.
www.joy-it.net
Pascalstr. 8 47506 Neukirchen-Vluyn
2. USAGE WITH THE ARDUINO
1. Connection
2. Code example
In the following, you will find a code example to test your gamepad.
We use the following library, which you can download here. More
information about this library can be found here, this library was released
under the GNU General Public License.
Now download the library and place it in your Arduino library folder. If it
is unknown, open your Arduino IDE and select
file → preferences
.
The
Sketchbook location
field contains this address of your IDE. From
there, select the
libraries
folder. In this folder deposit the extracted
library and restart your Arduino IDE.
Now you can start the code example from the IDE by clicking on
file → Examples → PS2X_lib → Examples → PS2X_Example
. Now click on
Upload
aer you have connected your Arduino and put batteries in the
gamepad. Also, open the Serial Monitor to see the output of the program.
You can open the Serial Monitor in
Tools → Serial Monitor
.
Arduino Gamepad
3.3 V
5
(Power)
GND
4
(GND)
Pin 10
6
(Attention)
Pin 11
2
(Command)
Pin 12
1
(Data)
Pin 13
7
(Clock)