~~NOTOC~~ ====== Pmod JSTK2 ====== {{Digilent Infobox | Store Page = https://digilent.com/shop/pmod-jstk2-two-axis-joystick/ | Manual = [[reference-manual]] | Support = https://forum.digilent.com/forum/7-add-on-boards/ | Title = Pmod JSTK2 | Subtitle = 2-axis Joystick | Header = Features | Bullet = Factory calibrated Two-axis resistive joystick | Bullet = Center joystick button | Bullet = Trigger-style pushbutton | Bullet = 24-bit RGB LED | Bullet = 6-pin Pmod connector with SPI interface | Bullet = Follows the Digilent {{/reference/pmod/digilent-pmod-interface-specification.pdf |Pmod Interface Specification}} Type 2 | Header = Electrical | Bus = [[learn/fundamentals/communication-protocols/spi/start | SPI]] | Specification Version = 1.2.0 | Logic Level = 3.3V | Header = Physical | Width = 1.8 in (4.57 cm) | Length = 0.94 in (2.38 cm) | Header = Design Resources | Dual Joystick .STL = {{:reference:pmod:pmodjstk:dual_joystick.zip| }} | Single Joystick .STL = {{:reference:pmod:pmodjstk:single_joystick.zip| }} | 3D CAD Model = {{:reference:pmod:pmodjstk2:pmodjstk2.zip| }} | Header = Documentation | Primary IC = [[http://ww1.microchip.com/downloads/en/DeviceDoc/40001769B.pdf | PIC16F1618]] | Reference Manual = [[pmod/pmodjstk2/reference-manual]] | Schematic = {{:reference:pmod:pmodjstk2:pmodjstk2_sch.pdf| }} | Header = J1 Pinout | Full Row = {{ :reference:pmod:pmod-pinout-1x6.png?direct |}} | Pin 1 = CS | Pin 2 = MOSI | Pin 3 = MISO | Pin 4 = SCK | Pin 5 = GND | Pin 6 = VCC }} {{page>reference-manual}} \\ \\ ===== Example Projects ===== {{topic>pmodjstk2 +project}} ===Microprocessor=== * [[learn/software/tutorials/digilent-core-install/start | Installing the Digilent Core for Arduino]] * {{:reference:pmod:pmodjstk2:pmodjstk2_mpide.zip| MPIDE library and demo code}} * {{:reference:pmod:pmodjstk2:pmodjstk2_arduino.zip| Arduino IDE library and example code}} * [[http://www.instructables.com/id/How-to-use-the-PmodJSTK-with-the-WF32/| How to Use the PmodJSTK With the WF32]] - Community Project * [[http://www.instructables.com/id/Plug-and-Play-Pmods-Using-LabVIEW/step4/LabVIEW-Code/|Plug and Play Pmods Using LabVIEW]] - Community Project * [[https://www.hackster.io/mmigs/using-the-pmod-jstk2-with-arduino-uno-b4d60a|Using the Pmod JSTK2 with Arduino Uno]] - Application note ===Programmable Logic=== * [[http://www.instructables.com/id/The-Claw-Game-the-Acrylic-Structure/|How to Build Your Own Claw Game Structure]] - Community Project * [[http://www.instructables.com/id/How-to-Use-the-PmodJSTK-With-the-Basys3-FPGA/|How to Use a Joystick With an FPGA]] - Community Project * [[http://www.instructables.com/id/Building-Jousting-Robots/|Building Jousting Robots]] - Community Project * [[http://www.instructables.com/id/Using-the-PmodJSTK-to-Control-Stepper-Motors-on-th/|Using a Joystick to Control Stepper Motors with an FPGA]] - Community Project * [[learn/programmable-logic/tutorials/pmod-ips/start | Getting Started with Digilent Pmod IPs]] * Digilent Pmod IPs are only supported in Vivado and Xilinx SDK versions 2019.1 and earlier. ---- ===== Additional Resources ===== * {{:reference:pmod:pmodjstk2:dual_joystick.zip|3D print files for dual joystick}} * {{:reference:pmod:pmodjstk2:single_joystick.zip|3D print files for single joystick}} * Specification Version 1.2.0: {{reference/pmod/pmod-interface-specification-1_2_0.pdf |PDF}} ---- {{tag>pmod pmod-start pmod-spi pmodjstk2 2-axis joystick resource-center}}