Hello everyone, I stuffed an analog stick you can easily found on old PSX dual shock joypads on my MB. It works very well, except for a mechanical issue which cause the stick not to come in a precise central position, so I have values oscillating between 60~70 (CC). I thought this happens because of AIN driver sensitivity to slight changes in the wiper voltage. How To obtain a precise return of the stick to value 64? Maybe reducing AIN deadband (where do I need to modify the main.asm to reduce deadband?). Thanks in advance
Hello everyone, I stuffed an analog stick you can easily found on old PSX dual shock joypads on my MB. It works very well, except for a mechanical issue which cause the stick not to come in a precise central position, so I have values oscillating between 60~70 (CC). I thought this happens because of AIN driver sensitivity to slight changes in the wiper voltage. How To obtain a precise return of the stick to value 64? Maybe reducing AIN deadband (where do I need to modify the main.asm to reduce deadband?). Thanks in advance
Do u think that the analog joystick of an old psx works with a midibox SID too?
The MB sid control surface allows only encoders (DIN’s) as far as I know, but people have used joysticks from Elfa and from Alltronics so I suppose the answer is yes. The problem is that these sticks are not precise (Thorsten wrote high resolution 10 bits AIN drivers) so the central position is different each time the stick returns to the centre. Some code or change in main.asm is needed. Does anyone know a solution?
And do u think possible to use the button of psx controller?
And do u think possible to use the button of psx controller?
Well, Of Course!
By not using the connector and the protocol used by PSX, but directly connecting joystick and buttons to midibox.
M
Well, Of Course!
By not using the connector and the protocol used by PSX, but directly connecting joystick and buttons to midibox.
M
Just a little question:
i need DINX4 module for button…but for joystick? i need AIN module obligatorily?
Just a little question:
i need DINX4 module for button…but for joystick? i need AIN module obligatorily?
No, I think.. just search for SID and joystick. I think You’ll find needed code modifications from there.
Bye, Moebius
I don’t recommend the use of psx joystick buttons as they are of relative low quality (rubber switch) and difficult to install on a panel without precise drilling on the panel.
Hey moebius you showed up
could you tell me what do I need to modify on the main.asm file of midibox64 to reduce deadband of ain driver?
Damn! I got caught ;D
(Eh, sorry folks.. not been in a midiboxin’ mood lately)
Search main.asm for “deadband”, modify line:
movlw 0x07 ; set deadband to 7
to
movlw 0x15 ; set deadband to 15
See:
http://www.midibox.org/forum/index.php?topic=5272.msg32427#msg32427
Soo, this also drops the resolution to 6bits
Bye, Moebius
thanks moebius
still in debt for lcd troubles issue you helped me to solve time ago ![]()
No, I think.. just search for SID and joystick. I think You’ll find needed code modifications from there.
Bye, Moebius
Yeah!!! i remember this.
Look this link for help: http://www.midibox.org/forum/index.php?topic=4885.0Â Â —>a guy gave me the code but for mios 1.7 In mios 1.8 there is not the “main.hex” file. What file have i to modify?
If i understood everything, i have to connect joystick on the J5 of master Core Module, is it right?
leelinn
yes you can connect up 8 pots to J5 but you need to run the application in unmuxed mode (check main.asm file with mplabIDE)