LoginSignup
0

More than 5 years have passed since last update.

Arduino UNO R3をPS3/PCコントローラー を DIYしよう!

Last updated at Posted at 2018-04-03

PS3 のジョイスティックを DIY してみました。(何故か、このサイトに投稿されていない)覚書

基本的には下記の説明通りです。

  • UnoJoyWin-21Feb2013.zip 最新のものをダウンロード
     https://code.google.com/archive/p/unojoy/downloads

  • UnoJoyWin\UnoJoyArduinoSample を、Arduino にインストール
    -- ピンの配置は、スケッチを見てください。

  • Windowsのドライバーをインストールします。
    \UnoJoyWin\UnoJoyDriverInstaller.bat

  • ファーム書き換えは、ファーム書き換えツールを入手後に実施してください。
    \UnoJoyWin\TurnIntoAJoystick.bat ----- ※

  • ファーム書き換えツールを入手します。
    http://www.microchip.com/developmenttools/ProductDetails.aspx?PartNO=FLIP

  • Arduino UNO R3のファームの変更
    1 Arduino UNO R3 の、RESET と GNDを接続(画像は下記)電源接続後に切断
    https://www.arduino.cc/en/uploads/Hacking/Uno-front-DFU-reset.png
    2 ファーム書き換え
    \UnoJoyWin\TurnIntoAJoystick.bat
    3 USBを抜き差しすると、USBジョイスティックとして認識されます。

  • USBジョイスティックから元に戻す。

上記手順で、バッチファイルを下記に変えてください。

TurnIntoAnArduino.bat

PS4 は、別途検証しているところです。

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0