Gamoover

[move]Bienvenue sur Gamoover, portail francophone de l'arcade.

M2Pac : Comment convertir un Daytona USA "correctement"

Démarré par BigPanik, Samedi 05 Septembre 2015, 00:51:20 AM

BigPanik

Le bouton 5 est appuyé quand la boite de vitesse est au neutre. Ca pose pb pour assigner les contrôles dans m2emu. Du coup j'avais fait un hex sans la gestion du neutre.

Le tx de la drive board n'est pas utilisé. Juste le tx arduino vers le rx drive board.
Mets une masse commune entre l'arduino et la deive board.
Et le plus important, sur le rx de la drive board en plus des 8 pins de l'arduino un 9eme pin doit etre à +5v.

Bien s'assurer d'être sur le com5 également.

SDF

Salut et merci de me repondre, par contre,  ((:((??
Citation de: BigPanik le Mercredi 25 Avril 2018, 16:47:55 PM
Le bouton 5 est appuyé quand la boite de vitesse est au neutre. Ca pose pb pour assigner les contrôles dans m2emu. Du coup j'avais fait un hex sans la gestion du neutre.

Je l'ai vu passer, mais j'en fais quoi, je le charge en lieu et place du fichier de sailorsat dans l'arduino?

Citation de: BigPanik le Mercredi 25 Avril 2018, 16:47:55 PM
Le tx de la drive board n'est pas utilisé. Juste le tx arduino vers le rx drive board.

Comme toi (connecteur i/o #1 16pins), j'ai cablé touts les fils tx de ma borne sur les pins 22 a 29 de l'arduino, selon le schema fourni par sailorsat (connecteur i/o 4bits #1 16pins et connecteur i/o 4bits #2 18 pins) j'ai fait un mix de ton schema et du sien pour retrouver les petits.
A part ca, comme tx et rx il n'y a que ceux du module ttl de l'arduino?
Je m'excuse j'ai pas tout compris, ca avais pourtant l'air clair sur ton schema, dsl

Citation de: BigPanik le Mercredi 25 Avril 2018, 16:47:55 PM
Mets une masse commune entre l'arduino et la deive board.
Et le plus important, sur le rx de la drive board en plus des 8 pins de l'arduino un 9eme pin doit etre à
+5V

Toutes mes masses sont reliées entre elles (arduino et connecteurs borne)
Je ne trouve pas ce pin qui doit etre relié au +5V sur mon connecteur i/o

Et pour le com5 tu parles du module ttl je suppose, car dès que j'avais installé les drivers, ton log m2dump m'indiquais qu'il ne le trouvais pas en com5 et je l'avais donc remis. Maintenant il communique bien.

Merci BP

SDF

J'ai reussi a charger ton fichier ino sans neutre mais rien ne fonctionnait, j'avais bien le joystick reconnu mais aucune reaction quand je tournais ou appuyais sur un bouton, du coup j'ai pris le ino de sailorsat et j'ai comparé avec le tien, alors j'ai changé un 1 en 0 sur la partie gear neutral et du coup ca va mieu, j'ai plus ce bouton enfoncé en permanence.

Pour le tx et rx j'ai bien relu tout le topic et j'ai fait mon boulet, la reponse a deja ete donnee plusieurs fois donc pardon ::)

A suivre

kidicarus

J'ai enfin trouvé un peu de temps pour me lancer dans la restauration de mon daytona!

L'idée est d'y placer 2 m2pac (merci BigPanik !). Ces derniers sont cablés, mais avant d'intégrer le tout dans mes cabs, j'aimerais savoir comment je peux connaitre l"état de fonctionnement de mes drive board.

Je vois des choses s'indiquer sur les afficheurs de ces dernières, mais qu'elles valeur /chiffres/ lettres je suis censé y lire?

Merci !  ;)

Je cherche une playchoice 10 et une pcb super system nintendo un playfield skateball ; evel knievel

gareth_iowc

#228
Hey all i'm english i hope that's not a problem? :)

i really love this awesome project and i have always loved Daytona.

So i can't afford a full cabinet neither do i have space as i live in a rented house...

As i still really like the idea i decided to buy myself the whole wheel assembly and motor etc along with the drive board.

I've been following BigPanik's awesome instructions but i'm stuck with the drive board as i have no diagram for it or pinouts.

Does anyone have the pinouts for the drive board?

I have no access to a working cabinet to try and workout the connections for myself.

any help would be amazing

[/url]



BigPanik

Hello,
Use this wiring diagram:


CN6=5V
CN7=100V
CN8=19V

The 11 pins connector is not used.
The 10 pins connector is used. And the pin 10 need +5V.

gareth_iowc


BigPanik

100V AC for the motor
19V AC for the clutch
5V DC power supply for the board

gareth_iowc

#232
CN1 -

1
2
3
4
5
6
7
8
9
10 - 5v+

CN2 -

1 - 12?

CN5 -

1 - Pink    - Steering pot
2 - Blue    - Steering pot
3 - Brown - Steering pot
4
5
6
7
8
9
10
11
12

CN6 -

1 - +5v
2 - +5v
3 - +5v
4
5
6 - ground
7 - ground
8 - ground

CN7 -

1 - 100Vac
2
3 - 100Vac

CN8 -

1 - 19Vac
2 - 19Vac
3
4
5

CN9 -

1 - ?
2 - ?

CN11 -

1 - Blue Clutch
2 - Black Clutch
3
4 - Pink Motor
5
6 - Brown Motor
7 - Violet Motor


just been mapping out the pins, does this look ok?

what pins are 22-29 on the arduino connecting to on the FFB?

i bought this 100vac step down as we are 230vac here in the uk  - https://www.ebay.co.uk/itm/70W-AC-Voltage-Converter-70-Watt-220V-230V-240V-Step-Down-Japan-100V-110V-120V/183366793979?ssPageName=STRK%3AMEBIDX%3AIT&_trksid=p2057872.m2749.l2649

when i put the volt mete on it's out putting 110v.

will it be ok to input 110vac?





BigPanik

CN1 -

1 pin 22
2 pin 23
3 pin 24
4 pin 25
5 pin 26
6 pin 27
7 pin 28
8 pin 29
9
10 - 5v+

CN2 -

1
2
3
4
5
6
7
8
9
10
11

CN5 -

1 - Pink    - Steering pot
2 - Blue    - Steering pot
3 - Brown - Steering pot
4
5
6
7
8
9
10
11
12

CN6 -

1 - +5v
2 - +5v
3 - +5v
4
5
6 - ground
7 - ground
8 - ground

CN7 -

1 - 100Vac
2
3 - 100Vac

CN8 -

1 - 19Vac
2 - 19Vac
3
4
5

CN9 -

1
2

CN11 -

1 - Blue Clutch
2 - Black Clutch
3
4 - Pink Motor
5
6 - Brown Motor
7 - Violet Motor

gareth_iowc

thank you very much for all your help so far BigPanik



does m2dump take the lamp information directly from the rom running on the pc or is it extracting the information from the drive board?

does both the usb to serial and the arduino both need to be on com5?

i don't appear to get any lamp data at the moment

BigPanik

#235
m2dump get lamp data directly from the game. Do you apply the Sailorsat fix Daytona.lua? This fix is need to get the lamp status.

Com5 is only for the usb/serial communication. Integrated arduino usb port act as a joystick (input usb device).

gareth_iowc

Ah ok sorry no I haven't as I didn't know about it. Where can I find that please

:)

BigPanik

To get working lamps, you will need to use this lua script alongside m2em (for daytona usa saturn ads version)
https://github.com/SailorSat/daytona-utils/blob/master/src/scripts/daytonas.lua

gareth_iowc

thank you.

so i added the lua script into the script folder in the model 2 emulator folder and it still didn't work.... then i realised i some how had model 2 1.1 not 1.1a. now i've updated i can see the lamp number changing and the X appearing under each lamp.

what is the expected behaviour of the uln2003a?

i am just getting 4 static red lights and no output when bulbs are connected.

The little jumper is still on the board as i'm not sure what that does.

i have the ground from my lamps going to the ground of the 12v transformer and i have the +12v going to the vcc on the uln2003a. The ground from the uln2003a is going to the ground on the arduino but i also tried it on the ground of the transformer.

UnoJoyModel2FFBVRSansNeutre.ino is what i've written to the arduino in normal mode is this correct?

annoyingly i have a Chinese copy mega so have ordered a new genuine one so i can get DFU.



gareth_iowc

Is the uln2003a switching the positive or the ground to the bulbs?

:)