1. Hello Guest! Looking for Mods or help with Modding Mega Mix+ or Arcade Future Tone? There's a Discord for that: https://discord.gg/cvBVGDZ.
    Dismiss Notice

Hacking Project Diva control panel for PS4

Discussion in 'Tutorial Area - By users for users!' started by ゴジラ, Jan 29, 2020.

  1. ゴジラ

    ゴジラ Big Debut

    Joined:
    Jan 14, 2020
    Messages:
    17
    Likes Received:
    13
    Trophy Points:
    40
    Gender:
    Male
    Occupation:
    Arcade, video games, laserdiscs, old technologies
    Location:
    France
    Home Page:
    http://www.arcade-team.com/
    #1 ゴジラ, Jan 29, 2020
    Last edited: Jan 29, 2020
    Here is a detailed procedure in english for "hacking" the original control panel from the Project Diva arcade cabinet, for using it with the PS4 version of Project Diva.

    I followed everything from the author of the hack : http://ryun.halfmoon.jp/touchslider/

    All credits goes to Ryuhalfmoon. He also helped me during the process, gaving me all necessary explanations.

    The procedure includes 3 major parts :

    - Sourcing the control panel

    - Hacking a PS4 dualshock

    - Build and program a FPGA circuit board, to enable communication between the dualshock and the touchslider.

    So here we go. I will separate the process in different posts, because a one shot post would be too heavy with more than 20 pictures.



     
    Yu Shu lien likes this.
  2. ゴジラ

    ゴジラ Big Debut

    Joined:
    Jan 14, 2020
    Messages:
    17
    Likes Received:
    13
    Trophy Points:
    40
    Gender:
    Male
    Occupation:
    Arcade, video games, laserdiscs, old technologies
    Location:
    France
    Home Page:
    http://www.arcade-team.com/
    SOURCING THE CONTROL PANEL


    This part is difficult, it's a matter of patience. Looking after ebay and auctions in Japan almost everyday for 2 months, I finally found one control panel as spare part on yahoo auctions website, middle of december 2019.

    All included (price, proxy fee, shipping cost and custom fees), I paid a total of 200$.

    Be careful with ebay sellers : prices are high, and in reality they don't have the control panel in stock. Once you purchase one, they don't communicate at all until they find a control panel in Japan. If it takes too long or if you send an email, they cancel your order, claiming "Product has a malfunction".

    So, after a few days of waiting, my control panel arrived.

    [​IMG]
    This thing is quite heavy, almost 10 kg. It's made, for the major part, of steel.
     
    Yu Shu lien likes this.
  3. ゴジラ

    ゴジラ Big Debut

    Joined:
    Jan 14, 2020
    Messages:
    17
    Likes Received:
    13
    Trophy Points:
    40
    Gender:
    Male
    Occupation:
    Arcade, video games, laserdiscs, old technologies
    Location:
    France
    Home Page:
    http://www.arcade-team.com/
    #3 ゴジラ, Jan 29, 2020
    Last edited: Jan 30, 2020
    HACKING PS4 DUALSHOCK


    You'll need a dualschock with the following revision :

    - JDM-001

    - Or JDM-030.

    I chose the JDM-001 because the hack procedure for this PCB is more detailed on ryuhalfmoon's blog.

    This revision is difficult to source these days, I was able to buy one on a netherland spare parts website

    [​IMG]
    Here are the solder points :

    [​IMG]


    [​IMG]

    [​IMG]
    Don't pay attention at the "Reset" signal, it won't be used.

    The CHG, SDA and SCL signals are for the PS4 touchpad. Soldering these signals directly on the dualshock pcb is tricky, so I found an alternative with an adaptator :

    [​IMG]
    This adaptator will be hooked to the dualshock PCB using a ribbon cable, in the touchpad socket.

    [​IMG]

    [​IMG]
    The next step is to build an logic inverter circuit for L1, R1, L2, R2, etc...Here's the circuit diagram :

    [​IMG]

    Left side shows a 34 pins IDE connector. This circuit is also used to drive others signals such as Gnd and a 5V signal to power the dualshock 4, in case you remove the battery. CHG signal is hooked to VDD signal from dualshock 4 through a 100 kohm resistor, in order to place CHG signal in a precise logical state.

    Parts :

    ## 1 x 74HC4066
    ## 1 x 74HC04
    ## 1 x 100 kohms resistor
    ## 2 x 8 kohms resistors
    ## 6 x 10 kohms resistors
    ## 2 x 0,1 µF ceramic capacitors
    ## 1 x breadboard
    ## 2 x rectifier diodes (something that can flow 1A)
    ## 1 x 34 pins IDE ribbon cable

    Building process :

    [​IMG]

    I used a breadboard with all horizontal points connected.

    [​IMG]

    [​IMG]

    In fact, it's not really necessary to connect some buttons : L2, R2, L3 and R3. Also, if you don't remove analog sticks, don't connect LX, LY, RX and LY signals.
     
    Yu Shu lien likes this.
  4. ゴジラ

    ゴジラ Big Debut

    Joined:
    Jan 14, 2020
    Messages:
    17
    Likes Received:
    13
    Trophy Points:
    40
    Gender:
    Male
    Occupation:
    Arcade, video games, laserdiscs, old technologies
    Location:
    France
    Home Page:
    http://www.arcade-team.com/
    #4 ゴジラ, Jan 29, 2020
    Last edited: Jan 29, 2020
    FPGA



    This part is a bit tricky if you are not used to electronics, and time consuming. The FPGA program is available on Ryuhalfmoon's blog.


    Here's the circuit diagram :

    [​IMG]


    Parts needed :

    1 x MARZ MFPGA-SPAR3E Control board (including 10uF LM317T)
    4 x NPN transistors. For LED control. C1815 or whatever.
    1 x 50MHz oscillator that operates at 3.3V
    1 x MAX3232 chip
    5 x 0.1uF capacitors for MAX3232 charge pump
    4 x 10KΩ 4 resistors. For limiting Tr base current.
    2 x 8KΩ 2 ressitors. For fixing analog sticks. Optionnal as if you don't use analog signals.
    1 x Power connector. Example : MATE-N-LOK 4pin
    1 x 34pin ribbon connector
    1 x 40pin pin socket
    1 x 34pin pin socket
    1 x 34pin pin header box
    1 x 40pin pin header
    1 x 34pin pin header
    1 x 6pin pin header
    1 x 8pin pin header
    1 x 4pin pin header
    1 x 16pin pin header
    1 x 10pin pin header
    1x breadboard

    Building process :

    [​IMG]

    [​IMG] [​IMG]

    [​IMG]
     
    Yu Shu lien likes this.
  5. ゴジラ

    ゴジラ Big Debut

    Joined:
    Jan 14, 2020
    Messages:
    17
    Likes Received:
    13
    Trophy Points:
    40
    Gender:
    Male
    Occupation:
    Arcade, video games, laserdiscs, old technologies
    Location:
    France
    Home Page:
    http://www.arcade-team.com/
    CONNECT EVERYTHING TOGETHER




    Last part is to connect all parts with each other.

    Parts needed :

    1 x JST YLR-16V. Button connector
    1 x JST YLR-08V. LED control connector
    14 x JST BYM-01T-P0.5A. Contact pins for YL connector
    1 x JST SMP-05V-BC. Slider control system connector
    1 x JST SMP-03V-BC. Headphone connector (optionnal)
    6 x JST BHF-001T-0.8BS. Contact pins for SMP connector
    2 x 8qi connector male. For PS4 button control panel side
    2 x 8qi connector female. For PS4 button section FPGA side
    2 x 2qi connector female. Opposite to SMP 05
    2 x 4qi connector female. Opposite side of YL16
    2 x 3qi connector female. Opposite side of YL08
    1 x D-Sub15 male.
    1 x 3.5mm stereo mini plug. Optionnal, for stereo jack connection.

    For the D-Sub15 part, Ryuhalfmoon build a mini control panel which he installed onf the diva control panel. I decided instad to use a Neogeo CD pad ; since it uses a female D-sub15, it was easy to use this pad following the standard neogeo control pad pinout.

    Making things easier, I done this scheme :

    [​IMG]

    Building process :

    [​IMG]

    [​IMG]
     
    Yu Shu lien likes this.
  6. ゴジラ

    ゴジラ Big Debut

    Joined:
    Jan 14, 2020
    Messages:
    17
    Likes Received:
    13
    Trophy Points:
    40
    Gender:
    Male
    Occupation:
    Arcade, video games, laserdiscs, old technologies
    Location:
    France
    Home Page:
    http://www.arcade-team.com/
    Putting things together

    [​IMG]

    I'm using a PC PSU to power everything. Before you start your PS4, the touchslider will give a red color, meaning it did'nt find the dualshock yet. Tue dualshock is plugged to the PS4 with a standard micro usb cable.

    [​IMG]

    Once you start your PS4, touchslider displayes a white color, meaning everything is ok and ready to use.

    [​IMG]

    Cleaning things up :

    [​IMG]

    Time to play :

    [​IMG]
    And a demo (Ruyhalfmoon playing, I don't have his skills^^') :

     
    Shiggitay and Yu Shu lien like this.
  7. Yu Shu lien

    Yu Shu lien Big Debut

    Joined:
    Aug 25, 2019
    Messages:
    16
    Likes Received:
    16
    Trophy Points:
    55
    Oh my god !! Fantastic work, and amazing tutorial.

    Doesn't seem easy work without advanced knowledge of electronics.
     
    ゴジラ likes this.
  8. ゴジラ

    ゴジラ Big Debut

    Joined:
    Jan 14, 2020
    Messages:
    17
    Likes Received:
    13
    Trophy Points:
    40
    Gender:
    Male
    Occupation:
    Arcade, video games, laserdiscs, old technologies
    Location:
    France
    Home Page:
    http://www.arcade-team.com/
    Thanks man :).

    Well, i'm used to soldering, schemes....and i used google for fpga thing and everything else. And the original author took the time to explain a lot of things to me.

    So yes, a bit of electronic skills is necessary^^'.
     
  9. apothicca

    apothicca Welcome to DIVA!

    Joined:
    Feb 16, 2020
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    30
    Question on sourcing: What did you search for on yahoo auctions?
     
  10. Doctopus

    Doctopus Project Alpaca "BDFL"

    Joined:
    Dec 22, 2017
    Messages:
    232
    Likes Received:
    125
    Trophy Points:
    275
    Location:
    Planet Earth
    "diva コンパネ" seems to be a good starting point. Also I suppose you can also search "diva" with category of
    Code:
    Toys & Games > Games > Arcade Games > Cabinets & Control Panels
    Looks like nobody is selling them now and idk whether the RIDICULOUS PS4/Switch controller street price will have any impact on future price or not.
     
  11. ゴジラ

    ゴジラ Big Debut

    Joined:
    Jan 14, 2020
    Messages:
    17
    Likes Received:
    13
    Trophy Points:
    40
    Gender:
    Male
    Occupation:
    Arcade, video games, laserdiscs, old technologies
    Location:
    France
    Home Page:
    http://www.arcade-team.com/
    I simply put "project diva" in the search bar. In english.
     
  12. Shiggitay

    Shiggitay Newbie Player

    Joined:
    Aug 6, 2019
    Messages:
    35
    Likes Received:
    13
    Trophy Points:
    70
    Location:
    Boston, MA
    How hard would it be to get this working with the AFT dump on PC? that's what I'd want. lol.
     
  13. Doctopus

    Doctopus Project Alpaca "BDFL"

    Joined:
    Dec 22, 2017
    Messages:
    232
    Likes Received:
    125
    Trophy Points:
    275
    Location:
    Planet Earth
    Just plug it in and it works

    (For buttons you need a fightstick board or similar. Keyboard controller should work too)
     
  14. Shiggitay

    Shiggitay Newbie Player

    Joined:
    Aug 6, 2019
    Messages:
    35
    Likes Received:
    13
    Trophy Points:
    70
    Location:
    Boston, MA
    That's not quite "plug it in and it works" though... Which is it?
     
  15. ゴジラ

    ゴジラ Big Debut

    Joined:
    Jan 14, 2020
    Messages:
    17
    Likes Received:
    13
    Trophy Points:
    40
    Gender:
    Male
    Occupation:
    Arcade, video games, laserdiscs, old technologies
    Location:
    France
    Home Page:
    http://www.arcade-team.com/
    N10248 made a tutorial scheme for using the controller with a pc :

    https://n10248.info/projectdiva/pdaft_wiring.jpg

    You need a brook fighting board, or a xbox 360 hacked controller.

    You also need a RS232 serial port, or a usb to RS232 converter for newer PCs. Look carefully to purchase a win10 compatible one.

    By the way, many thanks to N10248 for this work.

    I forgot on the 1st post, a huge credit goes to N10248 for the ps4 hack, he helped me on this in addition of the PC version, and he gave me the link to ryuhalfmoon's blog.
     
    Shiggitay likes this.
  16. Shiggitay

    Shiggitay Newbie Player

    Joined:
    Aug 6, 2019
    Messages:
    35
    Likes Received:
    13
    Trophy Points:
    70
    Location:
    Boston, MA
    Hmmm would you theoretically assemble one for PC use if someone sent you all the necessary parts? xD
     
    ゴジラ likes this.
  17. Doctopus

    Doctopus Project Alpaca "BDFL"

    Joined:
    Dec 22, 2017
    Messages:
    232
    Likes Received:
    125
    Trophy Points:
    275
    Location:
    Planet Earth
    PC use is a lot simpler. You just need a USB to RS232 converter for the slider, whatever fightstick board for buttons, and a 12V power supply for powering the slider. No more FPGA IO conversion boards.
     
  18. Caserol23

    Caserol23 Welcome to DIVA!

    Joined:
    Dec 27, 2021
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    35
    Gender:
    Male
    Wow, this is too awesome work ❤️
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice