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

0 Members and 2 Guests are viewing this topic.

sonik

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 64
  • Last login:August 07, 2022, 07:49:16 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #960 on: February 24, 2022, 03:20:23 pm »
Has anyone used these IR leds.....if so, how are you powering them? I am pretty sure they require more power draw than a USB port typically puts out.

https://www.aliexpress.com/item/32869020004.html?spm=a2g0o.productlist.0.0.776e4e66KafRvT&algo_pvid=a744b281-a57a-46cf-803c-377b81a58b44&algo_exp_id=a744b281-a57a-46cf-803c-377b81a58b44-0&pdp_ext_f=%7B%22sku_id%22%3A%2266709189116%22%7D&pdp_pi=-1%3B9.86%3B-1%3B-1%40salePrice%3BUSD%3Bsearch-mainSearch

Thanks

I've bought some of those LEDs but I have not used them yet. Try asking in the discord server.

shinichi

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:March 13, 2022, 05:15:15 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #961 on: March 08, 2022, 01:28:59 am »
Hello everyone

i have this problem when i start the JB_GUN4IR_GUI.exe

I have already flashed the arduino, but when I try to configure it, this window appears with this error and the gun is not detected. I built the camera with a wiimote



this is the error message

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.


************** Exception Text **************
System.InvalidOperationException: The port is closed.
   at System.IO.Ports.SerialPort.Write(String text)
   at System.IO.Ports.SerialPort.WriteLine(String text)
   at JB_GUN4IR_GUI.MainGUI.getEepData(SerialPort _serialPort, Int32 addr, Int32& eepData)
   at JB_GUN4IR_GUI.MainGUI.detectArd(Boolean clear, Boolean nbr, String[,] boardList, String name, String board, Boolean isSerial)
   at JB_GUN4IR_GUI.MainGUI.detectGuns()
   at JB_GUN4IR_GUI.MainGUI.detectBut_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
JB_GUN4IR_GUI
    Assembly Version: 1.22.0.0
    Win32 Version: 1.22.0.0
    CodeBase: file:///C:/Users/Shin/Documents/proyectos/JB%20GUN4%20IRmanual%20de%20usuario%20v%201.2%20Ingles%20y%20Espa%C3%B1ol/JB_GUN4IR_GUI_1.26_FW_2.64/JB_GUN4IR_GUI.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

--------------------------------------------------------------------------------

Thank you very much to those who want to help me with this error



will1384

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:April 29, 2022, 02:23:25 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #962 on: March 14, 2022, 04:06:50 pm »
I started off with a SAMCO modified GUNCON 2 gun, but decided to go with GUN4IR, I used a jewelers saw to cut the pin headers that I had used to connect the Adafruit ItsyBitsy to the SAMCO board, I then used a de-soldering gun to remove the pin headers from both the Adafruit ItsyBitsy and the SAMCO board, I found some nice ribbon wire with a bunch of different colors and cut it to about three inches in length or about 76mm, I made up a "cheat sheet" that showed me the pin-out of the SAMCO board and the GUN4IR Pro Micro, then I just wired the GUN4IR Pro Micro to the SAMCO board using the ribbon wire, I then hot glued all the wire in place to keep them from breaking off at the solder joint, it works well, something to remember, the SAMCO (reload) is the GUN4IR (pedal) and the GUN4IR (calibration) is the SAMCO (pedal), kinda confusing, I added a small momentary contact button to the GUNCON 2 to act has the GUN4IR (calibration), the small button is wired to the SAMCO (pedal) pads, BTW I found a nice 3D printed part to connect a cheap phone fisheye lens to the IR sensor, it was made for the GUNCON45 but seems to work just fine on the GUNCON2, the file is over at:

https://arcadeforever.forumfree.it/?t=78234617&st=255


vk123

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:April 06, 2022, 05:50:48 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #963 on: April 04, 2022, 10:02:49 am »
Hi,

I am unable to donate with the link given , it says donation isn't supported from my country (india).

Could you help me out with this please.


jimbone007

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 8
  • Last login:August 08, 2022, 12:10:36 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #964 on: April 10, 2022, 02:10:31 pm »
Are there any tutorials for setting up gun4ir with most emulators/roms in launchbox? Im having a hell of a time getting these guns to work and its becoming very time consuming. Also do I need to have buttons on my guns? Can I map the buttons to my keyboard until I get my actual arcade set up built? a couple games I'm trying require in game calibration of guncons (ps2) and tell you to hit a to finish but I can't figure out how to map a to my keyboard.

krayon

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:May 27, 2022, 12:22:23 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #965 on: May 27, 2022, 09:47:13 am »
@JayBee,

Great project - especially for those in Countries that don't allow even imitation guns to be sent in the mail like Australia :censored: I've been wanting guns for years and this may indeed be an option.

Just FYI, given that your firmware is based on https://github.com/samuelballantyne , in some countries you are likely legally required to provide the source code and/or have a license with the original author in order to distribute. Having said that, I'm not a Lawyer :P

nightkiller05

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 47
  • Last login:June 01, 2022, 11:17:20 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #966 on: May 30, 2022, 11:03:15 am »
Hi guys, ¿is this project private? I mean, do I need to donate in order to access to the manual and/or firmware? I don't see any of these in the first post

mosios

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:July 30, 2022, 08:42:11 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #967 on: June 02, 2022, 10:55:45 am »
Hello everyone

i have this problem when i start the JB_GUN4IR_GUI.exe

I have already flashed the arduino, but when I try to configure it, this window appears with this error and the gun is not detected. I built the camera with a wiimote



this is the error message

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.


************** Exception Text **************
System.InvalidOperationException: The port is closed.
   at System.IO.Ports.SerialPort.Write(String text)
   at System.IO.Ports.SerialPort.WriteLine(String text)
   at JB_GUN4IR_GUI.MainGUI.getEepData(SerialPort _serialPort, Int32 addr, Int32& eepData)
   at JB_GUN4IR_GUI.MainGUI.detectArd(Boolean clear, Boolean nbr, String[,] boardList, String name, String board, Boolean isSerial)
   at JB_GUN4IR_GUI.MainGUI.detectGuns()
   at JB_GUN4IR_GUI.MainGUI.detectBut_Click(Object sender, EventArgs e)
   at System.Windows.Forms.Control.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnClick(EventArgs e)
   at System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ButtonBase.WndProc(Message& m)
   at System.Windows.Forms.Button.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
JB_GUN4IR_GUI
    Assembly Version: 1.22.0.0
    Win32 Version: 1.22.0.0
    CodeBase: file:///C:/Users/Shin/Documents/proyectos/JB%20GUN4%20IRmanual%20de%20usuario%20v%201.2%20Ingles%20y%20Espa%C3%B1ol/JB_GUN4IR_GUI_1.26_FW_2.64/JB_GUN4IR_GUI.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4488.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4470.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Configuration
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Xml
    Assembly Version: 4.0.0.0
    Win32 Version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

--------------------------------------------------------------------------------

Thank you very much to those who want to help me with this error

Are you using the Wiimote IR camera or DFrobot SEN0158? If it is the former, then it could be your connections on the IR camera is wrong.

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 458
  • Last login:August 03, 2022, 06:45:04 am
  • I it ain't good, I'll make it good.
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #968 on: June 03, 2022, 07:02:27 am »
@JayBee,

Great project - especially for those in Countries that don't allow even imitation guns to be sent in the mail like Australia :censored: I've been wanting guns for years and this may indeed be an option.

Just FYI, given that your firmware is based on https://github.com/samuelballantyne , in some countries you are likely legally required to provide the source code and/or have a license with the original author in order to distribute. Having said that, I'm not a Lawyer :P
The project is in no way based on samco system.
If I was using his source code, 4 points like I do wouldn't be even be possible.
Sam did an awesome job with his original project, but making a working 4 leds system like mine was a novelty at the time.
But good attempt to try getting my source code.
« Last Edit: June 03, 2022, 10:18:39 am by JayBee »

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 458
  • Last login:August 03, 2022, 06:45:04 am
  • I it ain't good, I'll make it good.
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #969 on: June 03, 2022, 07:22:20 am »
Are you using the Wiimote IR camera or DFrobot SEN0158? If it is the former, then it could be your connections on the IR camera is wrong.
Indeed it sounds like a communication problem with the cam.

saint

  • turned to the Dark Side
  • Supreme Chancellor
  • Trade Count: (+6)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 6128
  • Last login:July 25, 2022, 09:31:34 am
  • I only work in cyberspace...
    • Build Your Own Arcade Controls
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #970 on: June 03, 2022, 07:57:42 pm »
--- John St.Clair
     Build Your Own Arcade Controls FAQ
     http://www.arcadecontrols.com/
     Project Arcade 2!
     http://www.projectarcade2.com/
     saint@arcadecontrols.com

apalomares

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:June 16, 2022, 08:56:13 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #971 on: June 16, 2022, 08:50:35 pm »
I've got a spare DFRobot SEN0158 camera if anyone needs one. £25 + UK postage. Just message if you'd like it.

Hi.

Would you still have the ir camera?

mptrs

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:June 20, 2022, 07:58:10 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #972 on: June 20, 2022, 07:57:53 am »
Looks like all the IR sensors are sold out until end of July?

If anyone is looking for an Innovation Super Jolt Gun, I have 2 for sale. Still sealed guns, let me know if you are interested.

Sold from Europe, but I should be able to send them anywhere  ;D

Ugo

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 7
  • Last login:July 25, 2022, 09:24:15 pm
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #973 on: June 20, 2022, 12:44:36 pm »
Yea sucks. There's a Worldwide shortage in a lot of parts.
Question: How do you feel about Gyroscope-Aiming?
Gyroscope-Aiming is a lightgun that detects the movements of your hands to properly place the cursor on the screen. No IR LEDs or Sensors needed.

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 458
  • Last login:August 03, 2022, 06:45:04 am
  • I it ain't good, I'll make it good.
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #974 on: June 26, 2022, 08:47:11 am »
Yea sucks. There's a Worldwide shortage in a lot of parts.
Question: How do you feel about Gyroscope-Aiming?
Gyroscope-Aiming is a lightgun that detects the movements of your hands to properly place the cursor on the screen. No IR LEDs or Sensors needed.
Gyro aiming have awful drift and literally stops being accurate few seconds of playing after calibration, even on recent hardware.
Just check the gyro on recent gaming consoles, they need to be recentered all the time.
The reason why we use IR is because it's the only tech that allow to have precise and stable points of reference.

BlueGhost

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 45
  • Last login:Today at 10:49:30 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #975 on: July 02, 2022, 04:02:58 pm »
Will Gun4IR work on a secondary monitors? Or does it need to be used with the primary monitor?

I'm building a virtual pinball machine, and think the backglass monitor would work good for shooting games.  But the VP software requires the playfield to be the primary monitor.

TimeCrisis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:July 26, 2022, 10:40:19 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #976 on: July 08, 2022, 08:01:06 pm »
to further my dual monitor 4:3 and 1.78 setup

is there a possibility to have 2 instances of the software working with 2 sets of LED's, they are both always watching, this way i wont have to switch anything?

the only other solution would be 2 PC's, 2 monitors, 2 guns etc sitting next to each other.

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 458
  • Last login:August 03, 2022, 06:45:04 am
  • I it ain't good, I'll make it good.
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #977 on: July 14, 2022, 04:16:09 am »
to further my dual monitor 4:3 and 1.78 setup

is there a possibility to have 2 instances of the software working with 2 sets of LED's, they are both always watching, this way i wont have to switch anything?

the only other solution would be 2 PC's, 2 monitors, 2 guns etc sitting next to each other.
You do understand that if the gun camera sees the other monitor leds, it won't work, right?

TimeCrisis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:July 26, 2022, 10:40:19 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #978 on: July 17, 2022, 09:35:31 pm »
may i ask when you will be selling new ones, your website is out of stock.

will you sell one without solenoid/rumble at a reduced cost.

may i ask why guncon2 is more expensive than guncon 1.

filthy1982

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 1
  • Last login:July 23, 2022, 05:42:26 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #979 on: July 22, 2022, 03:05:10 am »
Hi I purchased a license for the gui a year or so ago and I can't find the email anymore here is the email I used if you could resent it that would be great, neilbrooke1982@hotmail.co.uk

GUN4IR®
The Ultimate 4 Points Lightgun System

Copyright © and trademark ® Jean-Baptiste Bongrand 2019-2021, All Rights Reserved.
This system, including hardware and software, is Copyrighted© by Jean-Baptiste Bongrand.
Any unauthorised / commcerial use of the system or any part of it is strictly prohibited.
By requesting a license, you are agreeing with those terms.



But why yet another IR points system??
Because it's not a standard IR system! The main goal of this system is to have a more affordable and highly customizable system, that keeps the experience as close as possible as the arcade experience.
It has many advantages over other modern lightgun solutions:


  Perfect line of sight accuracy! Thanks to the 4 leds of this system and a tons of advanced math that does auto calibration in realtime, you get a perfect line of sight accuracy all the time!
  Ultra low latency! This system use a fast IR camera, and the firmware is heavily optimized, reducing the total processing latency to around 4ms. Lowest latency of all modern IR systems!
  No calibration everytime you play! You have to do the calibration only once to setup your camera and led points. After that, it will work with perfect accuracy no matter the angle/distance from the screen!
  No need for special software! Everything is handled by the arduino, making it plug and play with any system that supports a mouse/keyboard or a controller. No extra software needed (the GUI is optional).
  No extra processing! There is no processing needed on your gaming platform, no cpu overhead, nothing added to the game screen. You can use your games as usual!
  USB and Bluetooth HID compatible! Since it's using standard HID mouse, gamepad and bluetooth, it's compatible with everything that supports a usb/bt mouse & gamepad!
  Reduced minimum distance! This system allow you to play closer to the screen than most other modern system, and even more if you add a fully supported wide lens to the camera!
  Full offscreen tracking/reload! It keeps you tracked even outside of the screen, and support various offscreen option like offscreen reload.
  Support any screen size/type or aspect ratio! You can use this system pretty much on any screen, it will work.
  Various feedbacks support! You can add a solenoid, rumble motor and RGB led to your gun, and fully control how they behave and react to your games!
  Nunchuck support! You can plug a nunchuck controller if you need more button!
  DIY hardware! You can build your own custom gun from you favorite gun shells!
  Many other options! The gun is fully customizable, making it the most versatile and complete solution on the market.


If you wish to support my system and help with the development, you can donate here:

Since both the firmware and this GUI requires a lot of time and money to make, the GUI licenses, along with personal support will be provided to 15$ donator tier only.

I am using those donations only for this system expenses.
The firmware on its own stays free if you prefer of course.
Don't forget to also attach your name, username (forum or discord, both work) and email address to the donation (it will stay private), so that I can create a proper personal licence file for you  ;)
Warning: your personal license, as the name imply, is personal. Don't share it with anyone, or else you might get banned from using the software and next firmware update.
I check all license requests manually so it might take up to 24 hours for me to generate the license, please be patient.

This project is closed source, and is the property of Jean-Baptiste Bongrand.
Selling and distribution of this system or part of it without the consent of the author is forbidden.



You will receive the files needed including the complete user guide to build and use this system in your email box after the donation.

Everything can also be also accessed from my discord server (recommended if you want to stay up to date and want help):
JB Discord Server


A little preview of the gun system GUI;



Some videos to show the system:

2 cool videos made by Foxhole on Point Blank and Sports Shooting USA, this guy has skills 8)



2 other nice videos by hyo2012 that show my system really well;  ;D



A review video of the system by Ben:


Updates history:

*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)

*2021/01/30 - GUI 1.25beta - FW2.58

User Guide:
- Updated and added various info, including the DIY camera and the Wii Nunchuck connection

GUI:
- updated to support the new boards
- made the "Test Screen" button enabled no matter if a gun is detected or not, allowing to test with any mouse device, and also having a guide for Leds placement
- various bug fixes and cleanup

Firmware:
- updated to support the Micro full pinout
- various bug fixes and cleanup

*2020/12/30 - GUI 1.21beta - FW2.55 - Goodbye 2020 update

Global:
- Brand new name for the system! Less generic than JB4PLG ;)

GUI:
- brand new interactive calibration process with more info and options, now fully done in app, making it more reliable and convenient!
- added fullauto trigger timing change option
- various bug fixes and cleanup

Firmware:
- fullauto trigger timing added
- temporary (not saved in eeprom) calibration serial command ('C')
- added debounce for trigger and mode buttons
- various bug fixes and cleanup

*2020/12/14
- User Manual v1.0 uploaded
- Main Post cleaning
- Uploaded Gun updates (that was uploaded on discord first

*2020/11/24 - GUI 1.17beta - FW 2.52
Firmware
- fixed axis flip with bluetooth
- fixed an incompatibility with linux mouse management

GUI:
- stability fixes

*2020/11/18 - GUI 1.16beta
GUI:
- improved the flashing error detection
- added a version write/read on the arduino, so that you will know what version is currently flashed on it. It's a test feature.
- fixed a bug that prevented to make the blue led blink

*2020/10/29 - GUI 1.12beta - FW 2.48
Firmware
- big serial commands change, to make them more unified and versatile (see the usage section changes)
- various leds detection updates and optimizations, to make it more stable and failproof
- new fullauto mode added, "always on", for games that always use fullauto but don't have outputs

GUI:
- new manual calibration mode from the GUI, you can now refine the calibration very easily
- matched the serial command changes

*2020/10/24 - GUI 1.0beta - FW 2.39
http://forum.arcadecontrols.com/index.php/topic,161189.msg1726424.html#msg1726424

*2020/10/08 - GUI 0.991beta - FW 2.33
http://forum.arcadecontrols.com/index.php/topic,161189.msg1725318.html#msg1725318

*2020/10/05 - GUI v0.97beta - Firmware 2.30 Anniversary edition
Firmware - for the 1 year anniversary of this firmware, I wanted to do a big update on it, so here are the updates so far (more incoming);
- Rewrote all libraries and code to take less space and have less global latency (down to ~4ms total processing time)
- Fixed various bugs that was causing issues to the calibration and the accuracy
- Improved a lot the global precision, especially on the sides of the screen or when moving around
- Added a "sync mode" that waits for the position to be calculated before activating the pressed buttons, instead of pressing them right away. It allows to get perfect accuracy on fast motion with a very small latency tradeoff. I recommend to leave it on.
- Changed the calibration to 5 steps (instead of the usual 3). Since the calibration has to be done only once, I decided to change it to make it way more accurate and failproof. Note that each step will only be validated if the camera sees the necessary IR points (4 for center, 3 for each side).
- Prepared the firmware for the next updates.
GUI:
- small fixes and modifications to support the new firmware.

*2020/09/28 - GUI v0.96beta
- While working on the next big update, I wanted to release a small update mainly to add direct support for the Sparkfun pro micro boards. So now no more empty sketch flashing needed!
- added the official Sparkfun drivers to the package, for those who are using Windows 7.
- added an icon to the GUI exe.

*2020/08/21 - GUI v0.94beta - Firmware 2.26
- firmware: fixed a bug that prevented the sensitivity profiles to load correctly
- GUI: removed the custom max sensitivity level, as it's not working correctly

*2020/05-08 - 2.25
http://forum.arcadecontrols.com/index.php/topic,161189.msg1721170.html#msg1721170

*2020/04/30 - 2.22
- big update of the detection and tracking, it now works better, faster and more precise than ever
- various update to make it compatible with the GUI

*2020/04/30 - 2.16
http://forum.arcadecontrols.com/index.php/topic,161189.msg1713662.html#msg1713662

* 2020/04/13 - 2.07
http://forum.arcadecontrols.com/index.php/topic,161189.msg1712259.html#msg1712259

* 2020/04/11 - 2.06
http://forum.arcadecontrols.com/index.php/topic,161189.msg1712063.html#msg1712063

* 2020/04/09 - 2.05 - unified firmware
http://forum.arcadecontrols.com/index.php/topic,161189.msg1711912.html#msg1711912

* 2020/02/29 - 1.93
- reworked the aiming and detection, to make it faster and better
- fixed some bugs

* 2020/02/29 - 1.91
- rewrote the 3 points aiming calculation, it's way more precise now
- changed the test tool to better see the led recognition.

* 2020/02/28 - 1.87
- 2 points detection is now inactive if too close from the screen, to avoid misdetection

* 2020/02/28 - 1.86
- fixed calibration issues
- fixed aiming issues
- fixed the flash/clear tool

* 2020/02/28 - 1.85 major update, please read the changelog carefully before updating!

- rewrote the whole flashing and config tool, now a lot more user friendly!
- made a double timing test to be able to flash any arduino. No need to modify the bat file anymore.
- various optimizations
- IR points detection bug corrected, it should be a bit more stable now
- reworked the buttons management
- merged normal and test firmware, now the test tool should trigger the test mode (replug the arduino once to reboot in normal mode)

- added RGB LED support for the 7 button + LED firmware! If your gun uses more than 7 buttons or if you don't want LED support please use the 11 buttons firmware
- added temperature sensor support! connect a tmp36 sensor to pin A0
- added rumble and LED feedbacks when changing modes
- added various LED feedbacks
- added EEPROM save and load gun data

- updated the game screen ratio modes for better usage and compatibility, now there are only 2; fullscreen and 4:3
- updated the test tool, now the one pde tool supports both normal and full screen, and has more options (don't use the old tools)

* 2020/02/18 - 1.76
- reworked the buttons management again and fixed the remaining issues (with the calibration for instance)
- fixed the bug with the feedback when offscreen reload is disabled, now it should trigger the solenoid (the way it works remain unchanged when offscreen reload is enabled)
- modified the flashing batch file to be more compatible (detects bootloader whatever the model, and waits for 6 seconds now)
- rewrote part of the guide, added installation instructions

* 2020/02/16 - 1.75
- fixed the combo buttons functions (joystick mode, offscreen shot...)
- reworked the buttons management to decrease risks of bugs and future-proof it
- did a lot of small optimization to increase the execution speed.
- changed the zip file, firmware name and flash bat again, now you can know which firmware you have, and choose between normal and test firmware. Please don't mix with the previous files.

* 2020/02/15 - 1.70
- restored the cursor accuracy without increasing the load, it should eliminate most wobbles
- put everything in only one zip and renamed the batches file for more clarity.
- added diagrams for the gun feedbacks

* 2020/02/12 - 1.68
- Improved 2 points detection, optimized other functions
- updated the .pde sketch for IR testing

* 2020/02/12 - 1.66
- fixed bugs and 2 points detection

* 2020/02/11 - IR cam testing tool
- added test app

* 2020/02/09 - 1.55 beta
- Rewrote aiming calculation
- Added a better tilt/twist detection, it increases the maximum tilt to 89 degrees on each side.
- Added a function to disable the press of secondary button when shooting offscreen.

* 2020/01/19 - 1.35
- improved the led and twist detection

* 2020/01/18 - 1.3
- cleaned code, added manual screen calibration.

* 2019/10/26 - 1.2
- first public version



Special credits:
PL1 for his Pro Micro diagram
Foxhole for his support and careful testing
And everyone else in the forum for supporting this project and keeping the arcade love alive  :cheers:

wbassett

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 424
  • Last login:August 10, 2022, 06:43:45 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #980 on: July 25, 2022, 07:31:52 pm »
I've been out of the arcade scene for a few years and getting back into it.  I see lots has changed!

Question about these guns...  since everything is stored on the gun, can you unplug and swap guns without having to calibrate and set up?  I ask because I wouldn't mind different style guns for different games.

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 458
  • Last login:August 03, 2022, 06:45:04 am
  • I it ain't good, I'll make it good.
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #981 on: July 25, 2022, 08:20:24 pm »
may i ask when you will be selling new ones, your website is out of stock.

will you sell one without solenoid/rumble at a reduced cost.

may i ask why guncon2 is more expensive than guncon 1.
To answer your questions;
1. No ETA yet. I will announce when it's going back online.
2. No, only fully packed ones. Removing feedbacks wouldn't be worth it as it would still be expensive (still a lot of work). If you want cheap you can go diy.
3. The gcon2 is a lot more expensive to source and a lot more work to mod.

Hi I purchased a license for the gui a year or so ago and I can't find the email anymore here is the email I used if you could resent it that would be great
Sure, I will send you back. I'd recommend to not share your email publicly tho, to avoid spamming.

I've been out of the arcade scene for a few years and getting back into it.  I see lots has changed!

Question about these guns...  since everything is stored on the gun, can you unplug and swap guns without having to calibrate and set up?  I ask because I wouldn't mind different style guns for different games.

Indeed, you just need to calibrate each gun once and then you can plug them anyway you want.

TimeCrisis

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 147
  • Last login:July 26, 2022, 10:40:19 am
  • I want to build my own arcade controls!
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #982 on: July 26, 2022, 10:40:19 am »
will you ever go wireless, with no rumble/feedback.

do you think guncon 2 or 1 is better?

JayBee

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 458
  • Last login:August 03, 2022, 06:45:04 am
  • I it ain't good, I'll make it good.
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #983 on: July 26, 2022, 02:11:12 pm »
will you ever go wireless, with no rumble/feedback.

do you think guncon 2 or 1 is better?
That's planned yes, most likely with a custom 2.4GHz wireless to minimize latency. although I don't know if it will be possible to release for the diy version, but more for fhe future fully featured version.

It's honestly hard for me to choose between gc1 and 2, the gc2 has more button and feels great to hold, but it's harder to mod, and the gc1 has more space inside to mod bigger solenoid and switches.
If you don't care about feedbacks the gc2 is definitely the best tho.

wbassett

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 424
  • Last login:August 10, 2022, 06:43:45 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #984 on: July 31, 2022, 07:35:16 am »
Please excuse my dumb questions (lack of knowledge)...

How many buttons do most shooter games use/need?  I see some guns with a D Pad, what is that used for in the games?  I found some pretty cool looking Logic 3 P99 light guns and would like to do this mod on one.  Some have the D Pad, some don't. 

wbassett

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 424
  • Last login:August 10, 2022, 06:43:45 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #985 on: July 31, 2022, 09:07:21 am »
Anyone convert one of these... HORI BERETTA M92FS TARGET or the Thrustmaster Beretta 92FS?

wbassett

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 424
  • Last login:August 10, 2022, 06:43:45 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #986 on: July 31, 2022, 09:41:54 am »
Found the info I needed :)
« Last Edit: August 07, 2022, 02:18:53 am by wbassett »

wbassett

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 424
  • Last login:August 10, 2022, 06:43:45 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #987 on: July 31, 2022, 09:50:52 am »
Sorry about all the posts...
I just want to make sure I get all the right components.  Is this the right IR cam?

https://www.dfrobot.com/product-1088.html

wbassett

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 424
  • Last login:August 10, 2022, 06:43:45 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #988 on: July 31, 2022, 01:56:49 pm »
I DO have an EMS TopGun (think it is a II) and a Time Crisis Gun (think it is a 3 or 4... the one with that god awful side handle with the 'joystick'-  I hated it and will get rid of it if anyone is interested).

I also bought a couple other guns, and have a Sega shell to work with.  Which is the best to start with, then I can deal with doing customs?

wbassett

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 424
  • Last login:August 10, 2022, 06:43:45 pm
Re: GUN4IR - The Ultimate 4 Points Lightgun System
« Reply #989 on: August 04, 2022, 11:30:54 am »
Apologies about all the posts.

Just waiting now for the DIY kits at RPEG Electronics to come back in stock :)
« Last Edit: August 07, 2022, 02:20:42 am by wbassett »