This is a Arduino Tutorial for the Parallax joystick + Unity3D Connection.
Required items:
2x Parallax 2-Axis Joystick
1x Arduino ( we used a Arduino Uno )
1x Placement-board
12x Wires
1x any Computer
Steps:
-
put the Joysticks to the Placement-board. Link: http://imgur.com/XcCmni8
-
Then Connect the wires in the order that is shown on the photo. Link: http://imgur.com/sHoy2oU
-
Connect the Arduino to your Computer
-
boot the arduino programming software of your prefrence ( we used codebender )
-
Now download the github project and open the notepad called: " Codebender Code.txt"
-
Read the comments in the File, and Try to understand what is happening
-
Copy/Paste the code in your Arduino IDE
-
Boot Unity3D
-
Open the given Unity3D project within this github
-
Now Open: "SerialPortUnity.cs"
-
Read the comments within the script