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 Try the site in https mode Site News

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

  

Author Topic: Happ Optical on PC's...looking at documentation, solutions, etc.  (Read 1216 times)

0 Members and 1 Guest are viewing this topic.

Numbski

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 296
  • Last login:November 03, 2020, 01:51:50 pm
    • Numbski
Happ Optical on PC's...looking at documentation, solutions, etc.
« on: December 12, 2006, 10:26:54 am »
Well, no one has made a peep about this since 2004, presumably because of cost and resolution restrictions (640x480 is the lowest it goes apparently):

http://www.r0r3.com/productsusbopticalgun.htm

I'm going to call them this morning and see if that price is still accurate or if the page is outdated...it is nearly 3 years old after all! :)

That said, given all of my work with the GunCon2 recently, I thought I might try my luck on the Happ Guns.  Here's the pdf Happ has on it:

http://www.happcontrols.com/images/pdf/opticalgun.pdf

It's a 4 conductor harness - +5v, Trigger Switch, Optic Signal, and Ground.

Now, I might be crazy, but doesn't that sound DEAD SIMPLE to interface with?  Wire it up to a serial port (USB if you want to get fancy about it), At very least the Trigger switch is a simple on/off on that pin.  The optic signal is the hardest, but somehow I'm not sure that's really so hard.  I wouldn't know for sure until I tried, but open socket and listen for what the gun sends, and decode it, similar to what I did for the GunCon2 (granted, others did it well before me, but didn't blog out every step...)

By chance does anyone have one of these guns handy and feel like experimenting a bit?  I might see if I can pick one up cheap from a local vendor, hopefully used.  I don't want to buy one full price just to tinker with.
Build a man a fire, keep him warm for the night.
Set a man on fire, keep him warm for the rest of his life.

CheffoJeffo

  • Cheffo's right! ---saint
  • Wiki Master
  • Trade Count: (+2)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 7784
  • Last login:July 14, 2025, 12:11:49 pm
  • Worthless button pusher!
Re: Happ Optical on PC's...looking at documentation, solutions, etc.
« Reply #1 on: December 12, 2006, 10:53:27 am »
It has been discussed since 2004, but you need to search from the main search page (i just noticed that I get different results from the Quick Search):

Search For r0r3

Cheers.

Working: Not Enough
Projects: Too Many
Progress: None

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: Happ Optical on PC's...looking at documentation, solutions, etc.
« Reply #2 on: December 12, 2006, 10:09:59 pm »
IIRC, the GunCon guns do the location calculating, right?  The arcade lightguns don't, they just send the pulse down the wire when they see the CRT tube rescanned.  All the calculating has to be done in the r0r3 (or the computer, or the arcade PCB).  I could go into more theoretical details on how the light gun works, but you probably already know most of it.  Do you need the formulas for calculating the location?
Robin
Knowledge is Power