Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up --- Bug Reports --- Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

Poll

-- deleted poll --

-- deleted poll --
0 (0%)
-- deleted poll --
0 (0%)

Total Members Voted: 0

  

Author Topic: GUN4IR - The Ultimate 4 Points Lightgun System  (Read 189035 times)

0 Members and 1 Guest are viewing this topic.

woordmand

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:Today at 09:54:50 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #920 on: November 13, 2021, 03:26:39 am »
I found the smallest second-hand IR sensing part, and the test was successful. The assembly has been completed.

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 448
  • Last login:December 01, 2021, 01:27:36 am
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #921 on: November 13, 2021, 05:31:21 am »
Hi,
I am about to start to mod 2 toy guns. I wonder if a rumble motor will fit in and I I did not find the dimensions so far. Could someone give me the dimensions of a PS4 rumble motor? Also is there a way to power it with the arduino or is it compulsary to have 2 USB cables (one for the arduino, one for the motor power supply)?

Thanks,
For PS4 rumble you can power it from the main USB cable, no issues  ;D

Podbod

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:December 06, 2021, 03:06:28 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #922 on: November 16, 2021, 02:43:22 am »
Update on mine. I've hooked up the rumble, trigger, slide and camera. All tested and working. Just need to sort out the side button (just behind the camera) and then I can reassemble. (plus some cable management)

I'll defo get a wide angle lens. It's just a tiny bit far to far back I feel.
Will any phone intended one work? I assume I'll just grab the cheapest from amazon.

Pod

Podbod

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:December 06, 2021, 03:06:28 pm

codeena

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 214
  • Last login:Yesterday at 10:33:22 pm
  • This site is cool
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #924 on: November 16, 2021, 12:45:30 pm »
The original internal structure shall be basically removed to make room for the installation of new parts. Glue may also be required to secure the microswitch. This is a necessary step for refitting a toy gun. If you also need to install an electromagnet, you need to consider its volume. At present, I use the original special model of the game gun. Its volume and weight need to be considered. In addition, the price is a little high.


Hi, may I ask where you get your rubber damperers for the recoil? Thanks

woordmand

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:Today at 09:54:50 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #925 on: November 17, 2021, 04:35:08 am »
Ordinary rubber is OK. The hardness of waste automobile tires is more appropriate

holmes

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:November 19, 2021, 02:14:22 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #926 on: November 19, 2021, 02:14:04 am »

For PS4 rumble you can power it from the main USB cable, no issues  ;D
[/quote]
Can I just cut a USB cable, split the power wires and resolder the data wires? Will it cause trouble with the data? Or is it safer to use a USB splitter data+power cable?

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 448
  • Last login:December 01, 2021, 01:27:36 am
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #927 on: November 19, 2021, 05:54:42 am »

For PS4 rumble you can power it from the main USB cable, no issues  ;D
Can I just cut a USB cable, split the power wires and resolder the data wires? Will it cause trouble with the data? Or is it safer to use a USB splitter data+power cable?
[/quote]
No no you don't need to split it, just use the board "raw" and gnd pins  ;)

Podbod

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:December 06, 2021, 03:06:28 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #928 on: November 19, 2021, 11:24:46 am »
Man, why did nobody say that mounting the x360 rumble in the handle of the topshot elite was so hard! I've melted all of the plastic and made it as flat as possible and there still not enough room! :D
Going to have to melt out a recess in the 2mm thick wall and hope I dont burn through the whole handle.
Did Arcade Pirate use a rumble motor that was 80% in size? :D

Pod

Podbod

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:December 06, 2021, 03:06:28 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #929 on: November 19, 2021, 03:26:30 pm »
Phew, all assembled. Next step, working out mame hooker and getting the gun swapped from com6 to com1

Podbod

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:December 06, 2021, 03:06:28 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #930 on: November 19, 2021, 06:28:09 pm »
OK I got stuck. 2 things I couldnt figure out and 1 that I find confusing

Jaybee - I set Trigger, A and B to be Mouse Left, Mouse Right, "Keyboard B" respectively. But in mame the inputs are registered as Gun3 B0,  Gun3 B0, "keyboard B". If I change the A button to be "Keyboard A" then in mame it registers as Gun3 B2!
Any idea whats going on? (Edit - I've now noticed that after uploading the settings and hitting reload - that the A button is reverting to Middle mouse, so that looks like its just failing to upload correctly?)

Howard_Casto - I cant seem to get mamehooker to recognise MameUI.exe. Is that not supported or am I doing something wrong? If I change the exe to be mame64.exe it works fine

Anyone who can help - In Op wolf I've used the following ini settings for mamehooker to control the rumble motor
MameStart=cmo 1 baud=9600_parity=N_data=8_stop=1,cmw 1 S1
MameStop=cmc 1
[Output]
Player1_Recoil_Piston=cmw 1 F1.0.0|cmw 1 F1.1.255

That seems to work fine if I'm tapping the trigger but if I hold the button and run out of bullets the motor stops as expected while I'm auto-reloading but wont come back on for another X (can be a whole clip in rare circumstances) bullets or so. It is random tho. Sometimes it does work correctly. Releasing and pressing the trigger seems to 100% restart the motor. I can see in mamehookers debug window that the piston value is changing correctly.

Cheers for any help guys

Pod
« Last Edit: November 19, 2021, 06:42:02 pm by Podbod »

Podbod

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 94
  • Last login:December 06, 2021, 03:06:28 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #931 on: November 20, 2021, 03:35:43 am »
Jaybee, one more thing. For Terminator 2 I use Hooker to set an on time of 35 with a 0ms pause time. This is roughly the speed of the pulse that it sends out from the game. So I use "cmw 1 f1.2.1" to send each pulse to the gun. That works but 35ms is right on the limit of getting the rumble to do a full rotation so sometimes it feels weak. Ideally I'd like to up that to a 45ms on time but then I run into the problem that all the pulses end up getting queued and the gun rumbles on after I let go of the trigger for a while.

Could we potentially get a feature to set a maximum pulse queue to prevent that? (apologies if that already exists and I missed it)

Cheers

woordmand

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:Today at 09:54:50 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #932 on: November 24, 2021, 01:54:07 am »
Every time I shoot, I can only trigger the electromagnet once. How can I trigger it continuously and automatically.

GRA71

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:December 06, 2021, 01:28:35 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #933 on: December 06, 2021, 01:25:33 pm »
Hello,

Does anyone know how to calculate resistors to install a 5V solenoid instead of 12V. In 12V, you need a resistance of 1Kohm and 100Kohms.
It is to save space.
Thank you