PlayStation 2(PS2) Guitar: Difference between revisions

From Visuino
Jump to navigation Jump to search
Created page with "Image:TArduinoPS2Guitar.png == Summary == Interfaces a PlayStation 2 Guitar controller with digital outputs for frets, strum bar, and other controls. == Description == The **PS2 Guitar** component allows connecting a PS2 guitar controller via SPI. It provides digital outputs for fret buttons, strum bar directions, and additional controls like the whammy bar and start/power button. You can configure the SPI speed using the **SPISpeed** property. <b>Diagram:</b>..."
 
(No difference)

Latest revision as of 09:09, 25 August 2025

Summary

Interfaces a PlayStation 2 Guitar controller with digital outputs for frets, strum bar, and other controls.

Description

The **PS2 Guitar** component allows connecting a PS2 guitar controller via SPI. It provides digital outputs for fret buttons, strum bar directions, and additional controls like the whammy bar and start/power button. You can configure the SPI speed using the **SPISpeed** property.

Diagram:

Categories

Properties

  • Enabled – Turns the module on or off.
  • SPISpeed – Sets SPI communication speed (default 25000).

Pins

Input Pins

  • Clock – SPI clock input.

Output Pins

  • Fret Buttons – Digital outputs: Green, Red, Yellow, Blue.
  • Strum Bar – Digital outputs: Up, Down, Left, Right.

Other Pins

  • Error – Digital pin indicating an error.
  • Interface – SPI interface pin.
  • Chip Select – SPI chip select pin.
  • Start / Power Button – Digital output pin.
  • Whammy Bar – Digital output pin.