Main > Lightguns

Gun4IR DYI with Guncon-2 - How to integrate buttons/controls?

(1/2) > >>

Roland_001:
I've been looking for a solution for use of a lightgun on my Mame/Mister FPGA arcade, with 15Hz CRT, and it looks like the Gun4IR project is the best option currently.

I've purchased the DIY kit from RPGElectronics, and have watched the few videos I can find on youtube about how to put everything together.  They seem to focus mainly on the IR/mouse control wiring, for which they seem very helpful.

However, I'm unclear on how to integrate the control buttons that come standard with the Guncon-2 (4 way D-pad on the back, reload button on the butt of the gun, and the various push buttons on the frame).  Pre-mod, these controls integrate into the original Guncon PCB, which I assume gets tossed during the conversion process, and replaced with the Gun4IR Adruino and associated software.

If so, how do people still use the push buttons on their gun?  Do these somehow integrate into the Adruino?  Do they still retain the original Guncon PCB for directional keys, and just re-route the aim-control tasks to the Gun4IR side hardware?  Or am I totally missing the point and need to be asking a different question?  I appreciate any/all info (Apologies if this has been asked, I've been searching for an answer for a few days without luck).

-Rolyen

Ugo:
I think you can discard the Guncon-2 PCB entirely. Gun4IR allows you to connect buttons straight into the Arduino.
Someone should correct me if I'm wrong.

Roland_001:
Thank you, that does make sense.  Wondering if anyone knows a good resource on how to wire controls to the Arduino.  I tried reading through several pages of the main Gun4IR thread, but it didn't seem to contain any technicals.

PL1:

--- Quote from: Roland_001 on March 14, 2023, 03:53:35 pm ---Wondering if anyone knows a good resource on how to wire controls to the Arduino.

--- End quote ---
Are you asking for a pinout?
- Pretty sure that JayBee includes the pinouts in the package he sends to personal license donors or has them on his Discord server.

Are you asking a general question about how to connect buttons and a D-pad to an Arduino?

Are you asking  whether to solder straight pins, right-angle pins, or wires to the Arduino for this application?


--- Quote from: Roland_001 on March 14, 2023, 03:53:35 pm ---I tried reading through several pages of the main Gun4IR thread, but it didn't seem to contain any technicals.

--- End quote ---
This post has a picture showing the motherboard connections for wires going to the Arduino, but it lacks clear details that I assume will be in the User Guide or on JayBee's Discord.   :dunno

--- Quote from: JayBee on January 16, 2020, 11:02:32 am ---I attached a pic of the motherboard of the GCon2, after being stripped of all unsused components and with the Arduino wires soldered. I lost my paper where I wrote down which point is what, but pretty much the connector on the right contains the gun handle buttons (trigger, reload, d pad) and the common ground, while the other buttons can be taken from other points on the motherboard.

--- End quote ---



Scott

Roland_001:
Thank you.  I purchased the DIY kit from rpegelectronics.com (they seem to b the U.S. distributor for the GUn4IR products?).    I'll check my DIY kit box when I get home, but as I recall, it included a pretty basic card showing a few pinouts (I believe mainly for the camera, rumble and solenoid).  I checked my purchase email from the purchase, and it did not include any additional guides or information.

As much as I'd like to support JayBee's project, I would presume that dropping $150 on a DYI kit would include basic information to..DYI.  Hopefully it doesn't require an additional "donation" to get more information.

Navigation

[0] Message Index

[#] Next page

Go to full version