Page 1 sur 1

MS9-29 - Ajouter un switch fréq 15k / 24k ou 31k

Publié : 21 août 2024, 10:34
par robinmasters
Salut,
C'est une discussion qui tourne depuis quelques semaines vu le nombre de personnes qui ont fait modder leur ms9 en 31k.

Le but est de partager des infos sur la possibilité de pouvoir switcher manuellement avec un switch déporté ou automatiquement avec relai comme ça se fait sur la ms9 auto.

J'ai trouvé ce post où un anglais a créé un Relai qui fait un switch basé sur la réception d'une tension 12v.

https://forum.arcadecontrols.com/index. ... c=113698.0

Image
Image

Je lui ai demandé s'il en faisait toujours pour s'en inspirer.

Si vous avez une platine auto ce serait cool de partager ici la référence du relai et des photos recto verso de la platine pour identifier les composants à ajouter car il y en a.
La platine auto c'est à priori la même que la manuelle sauf que le relai remplace les connecteurs et qu'y a des composants en plus derrière.

Merci aux experts de confirmer ou pas. :-D

Pour info, un mod avait été fait à base d'arduino pour les ms2930.

Edit : ajout des photos envoyées par @Niiiko
Image
Image
Image

Re: MS9-29 - Ajouter un switch fréq 15k / 24k ou 31k

Publié : 22 août 2024, 11:13
par Niiiko
Ravis de voir ce projet, je te fais d'autres photos de la Ms9-29 auto bientôt, bon courage

Re: MS9-29 - Ajouter un switch fréq 15k / 24k ou 31k

Publié : 22 août 2024, 11:17
par robinmasters
Merci pour tes photos @Niiiko

Re: MS9-29 - Ajouter un switch fréq 15k / 24k ou 31k

Publié : 22 août 2024, 12:04
par Wiz
Hello,

Je manque de temps pour me relancer dessus en ce moment mais si ça peut servir, j'avais préparé quelque chose comme ça en arduino.

https://github.com/wizardwhosaysni/ms9-autoswitch
A relay-based arduino micro solution to add tri-sync autoswitch on the MS9-29 arcade monitor chassis

Hatsune Mike's original MS9 hack page :
http://mikejmoffitt.com/pages/ms9-hax/
Further discussions with theoretical possibility for tri-sync with a switchable resistor :
https://www.arcade-projects.com/threads ... ost-419710
Relay-driven manual resolution switching :
https://forum.arcadeotaku.com/viewtopic.php?t=6623
Arduino-driven resolution detection for auto-switching :
http://forum.arcadecontrols.com/index.p ... c=149090.0
FreqCount Library :
https://www.pjrc.com/teensy/td_libs_FreqCount.html
Theretrobristolian's wiki page :
https://wiki.arcadeotaku.com/w/User:The ... ian/MS9-29

Code : Tout sélectionner

#include <FreqCount.h>

#define FREQUENCY_15KHZ 60*262    // 15720Hz
#define FREQUENCY_24KHZ 60*416    // 24960Hz
#define FREQUENCY_31KHZ 60*525    // 31500Hz

#define THRESHOLD_1 (FREQUENCY_15KHZ+FREQUENCY_24KHZ)/2    // 20340Hz
#define THRESHOLD_2 (FREQUENCY_24KHZ+FREQUENCY_31KHZ)/2    // 28230Hz

#define PIN_CSYNC_INPUT    12     // Reserved by FreqCount lib
#define PIN_SWITCH_RELAYS  15
#define PIN_RESISTOR_RELAY 11

unsigned int currentFreq = FREQUENCY_15KHZ;
bool switchRelays = HIGH;
bool resistorRelay = HIGH;
bool updateOutputs = false;

void setup() {
  pinMode(PIN_SWITCH_RELAYS, OUTPUT);
  digitalWrite(PIN_SWITCH_RELAYS,switchRelays);
  pinMode(PIN_RESISTOR_RELAY, OUTPUT);
  digitalWrite(PIN_RESISTOR_RELAY,resistorRelay);
  Serial.begin(57600);
  FreqCount.begin(1000);
}

void loop() {
  if (FreqCount.available()) {
    unsigned int count = FreqCount.read();

    if(count<THRESHOLD_1){
      if(currentFreq!=FREQUENCY_15KHZ){
        currentFreq=FREQUENCY_15KHZ;
        switchRelays=HIGH;
        resistorRelay=HIGH;
        updateOutputs=true;
      }
    }else if(count<THRESHOLD_2){
      if(currentFreq!=FREQUENCY_24KHZ){
        currentFreq=FREQUENCY_24KHZ;
        switchRelays=LOW;
        resistorRelay=HIGH;
        updateOutputs=true;
      }
    }else{
      if(currentFreq!=FREQUENCY_31KHZ){
        currentFreq=FREQUENCY_31KHZ;
        switchRelays=LOW;
        resistorRelay=LOW;
        updateOutputs=true;
      }
    }

    if(updateOutputs){
      digitalWrite(PIN_SWITCH_RELAYS,switchRelays);
      digitalWrite(PIN_RESISTOR_RELAY,resistorRelay);
      updateOutputs = false;
    }
    
    Serial.print("Input=");
    Serial.print(count);
    Serial.print("Hz -> Setting=");
    Serial.print(currentFreq);
    Serial.print("Hz");
    Serial.println("");
  }
}
Image

Re: MS9-29 - Ajouter un switch fréq 15k / 24k ou 31k

Publié : 10 mai 2025, 12:07
par daklux
Bonjour à tous,

Je me permets de relancer le sujet.

J’envisage de faire le Mod 31k sur la MS9, mais j’ai une platine qui est manelle malheureusement. Y a t’il des gens qui ont installer des switch manuel pour passer du 15k au 24/31k ?
Si oui, avez-vous des références / schémas pour le matériel à installer ? Et est-ce que ça fonctionne bien ?
C’est pour faire tourner avec un RGB Jamma.

Merci.