The NEW Build Your Own Arcade Controls
Software Support => Automated Projects => Topic started by: Connorsdad on April 02, 2013, 06:28:16 pm
-
So I got my motor and pololu controller wired up and it didn't go bang yay :))
Now I have to learn how to send commands to it. How do you guys make it turn automatically via hyperspin or by clicking the mouse when trialling the limit switch?
-
You need to setup the switches as per 5.1 of the manual and you can then test the functionality from within the command centre (from the status tab).
I'm using MALA so can't help with Hyperspin, but the following thread contains info and further links for Hyperspin
http://forum.arcadecontrols.com/index.php?topic=122052.0 (http://forum.arcadecontrols.com/index.php?topic=122052.0)
-
You need to setup the switches as per 5.1 of the manual and you can then test the functionality from within the command centre (from the status tab).
I'm using MALA so can't help with Hyperspin, but the following thread contains info and further links for Hyperspin
http://forum.arcadecontrols.com/index.php?topic=122052.0 (http://forum.arcadecontrols.com/index.php?topic=122052.0)
I already have the switches set up to be able to control them via the command centre, I was wondering how you control the motor via keyboard/mouse. Say right mouse button to go forward and left for reverse or a key combo for forward/reverse.
Seen AHK and .bat mentioned but I have no idea how to make/implement these.
-
Just read a little about AHK so will install later and try this.
http://www.pololu.com/docs/0J45/5.b.1
:)
-
This thread has what you are looking for.
http://forum.arcadecontrols.com/index.php?topic=128951.0 (http://forum.arcadecontrols.com/index.php?topic=128951.0)
Essentially copy the code below into a text file and once saved rename the extension of the file from txt to ahk
m:: run smccmd --speed -3200,,Hide
n:: run smccmd --speed 3200,,Hide
return
You may want to vary the speed depending on your motor and the keys to rotate which are 'm' and 'n' for the code above.
You need to install AHK. Once you have AHK installed you double click the ahk file to have it running in the bacground or put it in your startup folder so it runs on startup. AHK scripts normally just sit hidden in the background. Mine show up in the system tray (windows xp).
I just tried the code above and worked fine.
-
Brilliant :)
Thanks, will try this later today.
-
IIRC, DNADan is has the only build I've seen use Hyperspin and rotate automatically based on the game selected.
http://forum.arcadecontrols.com/index.php/topic,110471.0.html (http://forum.arcadecontrols.com/index.php/topic,110471.0.html)
Not sure what methods he used, as I just looked at the pretty pictures.