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 88309 times)

0 Members and 3 Guests are viewing this topic.

TimeCrisis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 134
  • Last login:April 02, 2021, 09:49:00 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #680 on: January 19, 2021, 07:36:41 pm »
can someone not sell a completed gun, I'm not much of a DIY'er.

Pegafun

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:Yesterday at 12:41:59 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #681 on: January 21, 2021, 04:24:24 am »
Cannot find the Discord server of the project (I am quite noob with Discord). @JayBee can you share a direct link? Thank you in advance.
« Last Edit: January 21, 2021, 06:16:25 am by Pegafun »

Foxhole

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 270
  • Last login:Today at 06:09:48 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #682 on: January 21, 2021, 04:45:25 pm »
Cannot find the Discord server of the project (I am quite noob with Discord). @JayBee can you share a direct link? Thank you in advance.
https://discord.com/invite/HJyfYja

Pegafun

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:Yesterday at 12:41:59 pm

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:Yesterday at 07:48:22 pm
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #684 on: February 08, 2021, 09:39:17 am »
*2021/02/07 - GUI 1.26beta - FW2.62

In this update I mainly modified the way the offscreen reload and screen content mode work.

Previously, you could only switch between full screen or 4:3, but now you can switch between fullscreen and a user defined aspect ratio. You can change this aspect ratio either from the GUI (to save in eeprom) or from a serial command (for per game setup). Everything on that new mode is written in the guide and the GUI.

Now when offscreen is in "Disabled", you can't fire offscreen (other buttons still work offscreen of course), and a 4th mode "Normal Shot" was added if you want to be able to shot offscreen without reloading.

User Guide:
- Corrected and modified various data
- Added all the previously undocumented serial commands, now you can modify most of the gun aspects through serial

GUI:
- updated to support the new modes

Firmware:
- updated to support the new modes
- fixed the gamepad buttons issue
- removed the gamepad mode dpad to save space (dpad now works as normal buttons, allowing to use it for something else)
- fixed an issue when changing modes through combo would keep some buttons hold
- better combo button switching, now just pushing the mode+button combo should always switch to the correct mode, no need to do them in a specific order
- slightly increased the mode button and trigger button debounce (20ms)

ebvetle

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:April 05, 2021, 02:02:13 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #685 on: February 25, 2021, 11:00:04 am »
First of all, hello to everybody.
I'd like to thank all of the passionate people here trying to revive all those childhood memories.
I'm about to drop a few bucks, but I'd like to know if the games are two player compatible.
I'm seeing that it emulates a mouse, but connecting two mice doesn't allow me to play.
How this can be solved?
Thank you again for this impressive work.
Cheers.

exodus123456

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:March 20, 2021, 01:28:52 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #686 on: February 25, 2021, 04:53:10 pm »
It depends on what you want to use, if it's MAME, you just need to activate multi mice support.

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:Yesterday at 07:48:22 pm
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #687 on: February 25, 2021, 08:24:56 pm »
First of all, hello to everybody.
I'd like to thank all of the passionate people here trying to revive all those childhood memories.
I'm about to drop a few bucks, but I'd like to know if the games are two player compatible.
I'm seeing that it emulates a mouse, but connecting two mice doesn't allow me to play.
How this can be solved?
Thank you again for this impressive work.
Cheers.
There are 2 modes that you can easily switch between with the gun, the first is of course mice, which is supported by many emulators and games with raw mouse input (sometime through the Demulshooter app), and the second mode is joystick, which is basically using a controller X and Y axis and buttons instead of the mouse and keyboard  ;D

ebvetle

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:April 05, 2021, 02:02:13 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #688 on: February 26, 2021, 02:09:43 pm »
First of all, hello to everybody.
I'd like to thank all of the passionate people here trying to revive all those childhood memories.
I'm about to drop a few bucks, but I'd like to know if the games are two player compatible.
I'm seeing that it emulates a mouse, but connecting two mice doesn't allow me to play.
How this can be solved?
Thank you again for this impressive work.
Cheers.
There are 2 modes that you can easily switch between with the gun, the first is of course mice, which is supported by many emulators and games with raw mouse input (sometime through the Demulshooter app), and the second mode is joystick, which is basically using a controller X and Y axis and buttons instead of the mouse and keyboard  ;D

Thank you for the info.
I'm reading about RawInput and Demulshooter.
I guess I'll order a DFRobot camera soon.
Cheers!



EDIT: Have anybody tried to cram the Gun4IR inside a Gun-con 2 controller? (NPC-106).
I'm considering purchasing this instead the original GunCon because the D-Pad, which brings another question
Is the D-Pad really that needed for lightgun games?
Is there any list which contains mandatory D-Pad for lightgun games? That way I can avoid making the nunchuck mod.
Thank you.
« Last Edit: February 28, 2021, 03:05:18 pm by ebvetle »

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:Yesterday at 07:48:22 pm
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #689 on: March 01, 2021, 02:26:35 am »

Thank you for the info.
I'm reading about RawInput and Demulshooter.
I guess I'll order a DFRobot camera soon.
Cheers!



EDIT: Have anybody tried to cram the Gun4IR inside a Gun-con 2 controller? (NPC-106).
I'm considering purchasing this instead the original GunCon because the D-Pad, which brings another question
Is the D-Pad really that needed for lightgun games?
Is there any list which contains mandatory D-Pad for lightgun games? That way I can avoid making the nunchuck mod.
Thank you.
Yes I did a gcon2 mod, it's not super easy to mod, but not the worse either. I even managed to fit all feedbacks in it, like a mini solenoid, rumble motor and rgb led for notifications  :lol
You can find more info on it in my discord server if you want (the link in the first post).

To be honest a dpad on a gun is quite useless for in-game stuff, and is required only on some rare ps2 games, and maybe wii games but those aren't really lightgun games.
I mostly use my dpad to scroll in menus from my sofa without having to go back to my pc.

ebvetle

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 3
  • Last login:April 05, 2021, 02:02:13 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #690 on: March 01, 2021, 02:51:50 am »

Thank you for the info.
I'm reading about RawInput and Demulshooter.
I guess I'll order a DFRobot camera soon.
Cheers!



EDIT: Have anybody tried to cram the Gun4IR inside a Gun-con 2 controller? (NPC-106).
I'm considering purchasing this instead the original GunCon because the D-Pad, which brings another question
Is the D-Pad really that needed for lightgun games?
Is there any list which contains mandatory D-Pad for lightgun games? That way I can avoid making the nunchuck mod.
Thank you.
Yes I did a gcon2 mod, it's not super easy to mod, but not the worse either. I even managed to fit all feedbacks in it, like a mini solenoid, rumble motor and rgb led for notifications  :lol
You can find more info on it in my discord server if you want (the link in the first post).

To be honest a dpad on a gun is quite useless for in-game stuff, and is required only on some rare ps2 games, and maybe wii games but those aren't really lightgun games.
I mostly use my dpad to scroll in menus from my sofa without having to go back to my pc.
Thanks for your reply.
If D-Pad in game is not usually needed, I think I'll get the original PSX Gun-Gon, as I like it more and the trigger microswitch mod looks more sturdy than the one on the Gun-con 2.
I'll check the discord.
Cheers!

MartyKong

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 129
  • Last login:April 03, 2021, 11:18:56 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #691 on: March 14, 2021, 07:21:56 pm »
Just curious with all the Aim-Trak users out there ....  Has anyone used their Aim-Trak gun shells to upgrade to Gun4IR? Apologize if this has been discussed before :dunno

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:Yesterday at 07:48:22 pm
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #692 on: March 15, 2021, 01:27:00 am »
Just curious with all the Aim-Trak users out there ....  Has anyone used their Aim-Trak gun shells to upgrade to Gun4IR? Apologize if this has been discussed before :dunno
I'm not sure anyone did that yet, although some people considered the option before using other gun shells.
But it should work just fine I believe!   ;D

itsj4y

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:April 10, 2021, 11:52:14 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #693 on: March 18, 2021, 07:31:01 pm »
any one else having problems with the arduino disconnecting from the computer or the ir camera not reading when using the solenoid recoil?

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 656
  • Last login:April 08, 2021, 01:25:56 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #694 on: March 19, 2021, 07:50:34 am »
any one else having problems with the arduino disconnecting from the computer or the ir camera not reading when using the solenoid recoil?

Bad wiring, crosstalk, or cold solder joint are the common reasons for that. Bad or missing diode would also turn into resets.

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 656
  • Last login:April 08, 2021, 01:25:56 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #695 on: March 19, 2021, 11:17:20 am »
Also, did u use the GUI to further check what is happening when, if it's just the cam giving up or if the entire Arduino restarts?

itsj4y

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:April 10, 2021, 11:52:14 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #696 on: March 19, 2021, 02:08:26 pm »
im thinking its crosstalk. i uploaded another sketch that has serial debugging and when firing it says the camera is unavailable then hangs. ive even completely separated the recoil circuit from the rest of the gun and it still hangs

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 656
  • Last login:April 08, 2021, 01:25:56 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #697 on: March 19, 2021, 02:45:49 pm »
What do you see in the GUI? Does the camera test fail randomly?

itsj4y

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:April 10, 2021, 11:52:14 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #698 on: March 19, 2021, 04:14:11 pm »
What do you see in the GUI? Does the camera test fail randomly?

i dont have the GUI

itsj4y

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 4
  • Last login:April 10, 2021, 11:52:14 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #699 on: March 19, 2021, 08:52:27 pm »
Got it fixed. It was crosstalk. I used a shielded usb cable for the camera connection and no more hanging

Endprodukt

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 656
  • Last login:April 08, 2021, 01:25:56 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #700 on: March 20, 2021, 03:23:30 am »
What do you see in the GUI? Does the camera test fail randomly?

i dont have the GUI

Then get it. It has awesome calibration features.

bandicoot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:April 08, 2021, 10:41:17 am
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #701 on: March 20, 2021, 06:50:10 am »
can we use the IR camera from AIMTRACK?

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:Yesterday at 07:48:22 pm
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #702 on: March 20, 2021, 06:58:09 am »
can we use the IR camera from AIMTRACK?
I don't know honestly, they is no doc on which model they are using.
I guess if someone is willing to do close up pics of it, we might be able to figure it out.

bandicoot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:April 08, 2021, 10:41:17 am
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #703 on: March 20, 2021, 07:14:37 am »
oki i will try to make it work   ;)

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:Yesterday at 07:48:22 pm
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #704 on: March 20, 2021, 08:47:53 am »
oki i will try to make it work   ;)
If you can give me the pinout you see on the cam, I might be able to help you to try making it work  ;)

m3th0d84

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:April 02, 2021, 09:38:01 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #705 on: April 02, 2021, 09:38:47 pm »
Can a previously modified Gcon2 with a Samco board work with your system?

Thanks

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:Yesterday at 07:48:22 pm
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #706 on: April 02, 2021, 09:52:19 pm »
Can a previously modified Gcon2 with a Samco board work with your system?

Thanks
It can't be done directly as it's not the same pinout. But you can still use it if you manually reroute to the correct pins.

bandicoot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:April 08, 2021, 10:41:17 am
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #707 on: April 03, 2021, 11:42:37 am »
i try al lot of thing to make AIMTRAK IR module to work but with no luck on the pcb it's seem it need an oscillator we can see Y1 but finally prefer to do with SEN0158 and with the JOLT GUN case , i made a small PCB breadboard for the RECOIL every thing seems good , but i haven't got my PCB from CHINA for IR module. :)

Thanks for your work without the 4 IR module , i can see my job is ok with the sun ligthing , camera test is moving :)

A small question JayBee you're French? ( it could help me if i really need a special  question , but my english is understandable :) )

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:Yesterday at 07:48:22 pm
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #708 on: April 03, 2021, 12:33:42 pm »
i try al lot of thing to make AIMTRAK IR module to work but with no luck on the pcb it's seem it need an oscillator we can see Y1 but finally prefer to do with SEN0158 and with the JOLT GUN case , i made a small PCB breadboard for the RECOIL every thing seems good , but i haven't got my PCB from CHINA for IR module. :)

Thanks for your work without the 4 IR module , i can see my job is ok with the sun ligthing , camera test is moving :)

A small question JayBee you're French? ( it could help me if i really need a special  question , but my english is understandable :) )
Yes I'm french  ;D

bandicoot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:April 08, 2021, 10:41:17 am
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #709 on: April 03, 2021, 12:55:34 pm »
French people and arcade system ... :applaud: :applaud: :applaud: every time I need the best solution for one of my cab it's french guy who made the best solution  :notworthy: :notworthy: :notworthy:
I'm french guy too lol but really it' seems to be true, FFB for Wheel arcade the best solution is french , and for GUNCAB it's seems your job is really good
« Last Edit: April 03, 2021, 12:57:50 pm by bandicoot »

bandicoot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:April 08, 2021, 10:41:17 am
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #710 on: April 04, 2021, 08:57:10 am »
Finally something is strange
I'm using a pro micro and the PIN 7 for solenoid RECOIL is always at 3.6V and my FFB is always actif but when i check other the pin 16 seems working for FFB 0v and got a pulse when i click on test RECOIL
Have you change the order of PIN for RECOIL ?

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:Yesterday at 07:48:22 pm
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #711 on: April 04, 2021, 09:17:20 am »
Finally something is strange
I'm using a pro micro and the PIN 7 for solenoid RECOIL is always at 3.6V and my FFB is always actif but when i check other the pin 16 seems working for FFB 0v and got a pulse when i click on test RECOIL
Have you change the order of PIN for RECOIL ?
That looks like you flashed the wrong firmware version :o
If you have a pro micro board you need to flash the Pro Micro firmware, not the Micro/beetle  ;)

bandicoot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:April 08, 2021, 10:41:17 am
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #712 on: April 04, 2021, 09:23:24 am »
 :applaud: :applaud:
I think it's automatic , you're right everything is nice now  :applaud:

tlanks

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 2
  • Last login:April 05, 2021, 02:40:04 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #713 on: April 04, 2021, 01:23:46 pm »
Is there any DIY sensor to replace DFRobot IR camera?  it is too big for me。

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:Yesterday at 07:48:22 pm
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #714 on: April 04, 2021, 01:42:55 pm »
:applaud: :applaud:
I think it's automatic , you're right everything is nice now  :applaud:
Yeah the detection should be automatic but sometime pro micro don't come with the correct factory firmware flashed on it  :P

Is there any DIY sensor to replace DFRobot IR camera?  it is too big for me。

Yes, the wiimote cam sensor can be used too if you had some components. More info about it in my pdf guide.

bandicoot

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:April 08, 2021, 10:41:17 am
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #715 on: April 08, 2021, 05:29:49 am »
After a long time to find the correct sensor place it's work very well on my ARCADE 25'' CRT  :applaud:
I want to try a lens for have better distance ( it's also great but ) have you got a link to a good model ?

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 386
  • Last login:Yesterday at 07:48:22 pm
  • If I can't buy it, I build it.
    • Github
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #716 on: April 08, 2021, 05:39:07 am »
After a long time to find the correct sensor place it's work very well on my ARCADE 25'' CRT  :applaud:
I want to try a lens for have better distance ( it's also great but ) have you got a link to a good model ?
This kit is very cheap and nice;
https://a.aliexpress.com/_mrcazR9