Last updated: 15 October 2012 Prepared by Vanissa Law [[email protected]] Sensor: URL: 2-axis Joystick (#27800) http://www.parallax.com/tabid/768/ProductID/614/Default.aspx Cost per unit: $9.99 USD (approx. HKD78) General Information
The 2-Axis Joystick contains two independent potentiometers (one per axis) for reporting the joystick’s position, with wiring options for voltage or resistance outputs. The 2-Axis Joystick includes spring auto return to center and a comfortable cup-type knob.
For full specs refer to datasheet available here: http://www.parallax.com/Portals/0/Downloads/docs/prod/sens/27800-2-AxisJoyStick v1.0.pdf
Here’s a list of important features to note: Two independent 10K potentiometers with common ground Spring auto return to center Power: 0.01W Interface: Dual 10K potentiometers with common ground Operating temp range: +32 °F to +158 °F
Getting it to work!
Upper Left L/R+ connected to 5V Upper Right U/D+ connected to L/R connected to Lower Right U/D connected to GND connected to 5V A4 A1 GND
2. Open the joystick. 1. Open Arduino software. From the “File” pulldown menu choose Examples> Firmata> AllInputsFirmata. Then upload the code onto your Arduino. “maxuinoForLUME-2axisjoystick.maxpat” patch. Click the “print” message box on the grey panel. It will print all the available serial ports on your computer into the “umenu” underneath. Choose “usbmodem621” port to route serial data from Arduino into Max. 3. You should see the circle in the node object moves according to your