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

  

Author Topic: SAMCO DIY Arduino Powered IR Light Gun  (Read 26691 times)

0 Members and 1 Guest are viewing this topic.

samco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:June 30, 2020, 10:37:07 pm
  • SAMCO Light Gun Creater
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #80 on: March 19, 2020, 12:56:28 am »
Hi Guys, it's been a while but I finally got around to updated my PCB boards to work with the ItsyBitsy 32u4 and probably more exciting than that I've also now got a new GunCon2 compatible board. Anyway here's a link to my new vid if you want to check them out.

Cheers Sam(co)


pepeporras

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:June 03, 2020, 12:05:22 pm
  • I want to build my own arcade controls!
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #81 on: March 21, 2020, 12:28:28 am »
Hi Samco, i have connected two guncon2 on my PC, no sensor bar, really lightgun 

« Last Edit: March 21, 2020, 04:15:51 pm by pepeporras »

pepeporras

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:June 03, 2020, 12:05:22 pm
  • I want to build my own arcade controls!
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #82 on: March 21, 2020, 08:54:11 am »
How to insert YouTube videos?

nipsmg

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1581
  • Last login:Yesterday at 08:14:13 pm
  • ROONEY!! ERRGH!!
    • Arcadia
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #83 on: March 21, 2020, 10:12:41 am »
Hi Samco, i have connected two guncon2 on my PC, no sensor bar, really lightgun  ;)

[youtube]http://www.youtube.com/watch?v=IxpMHORxmcQ[/youtube]

put the url without any tags.. no URL tag, no youtube tag, just the bare url. see:


Foxhole

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 251
  • Last login:Yesterday at 10:35:38 pm
  • I want to build my own arcade controls!
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #84 on: March 21, 2020, 12:31:28 pm »
Hi Samco, i have connected two guncon2 on my PC, no sensor bar, really lightgun  ;)

[youtube]http://www.youtube.com/watch?v=IxpMHORxmcQ[/youtube]
Pepe, how are you using those guns on the pc? Ems topgun driver?

pepeporras

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:June 03, 2020, 12:05:22 pm
  • I want to build my own arcade controls!
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #85 on: March 21, 2020, 04:17:26 pm »
Hi Samco, i have connected two guncon2 on my PC, no sensor bar, really lightgun  ;)

[youtube]http://www.youtube.com/watch?v=IxpMHORxmcQ[/youtube]

put the url without any tags.. no URL tag, no youtube tag, just the bare url. see:


Thanks bro  :notworthy:

pepeporras

  • Trade Count: (0)
  • Jr. Member
  • **
  • Offline Offline
  • Posts: 5
  • Last login:June 03, 2020, 12:05:22 pm
  • I want to build my own arcade controls!
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #86 on: March 21, 2020, 04:28:34 pm »

Pepe, how are you using those guns on the pc? Ems topgun driver?

hello, yes, for the guncon2 use that driver but only with that driver it does not work well, I have created a code to flash the screen when shooting and another to delay the shot so that it enters the flash so that it detects the position well.

I am not going to talk about this here anymore, that this topic is from Samco, if someone wants to know more about this, speak to me privately or I will open a new topic if someone wants.

By the way Samco, your system is wonderful, as soon as the alarm passes, I will buy a couple of PCBs from their ebay store to test my LCD.

good job :applaud:

lightgungamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:July 01, 2020, 11:46:11 am
  • I love playing Light Gun Games
    • LightgunGame.com
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #87 on: March 21, 2020, 05:06:32 pm »

Pepe, how are you using those guns on the pc? Ems topgun driver?

hello, yes, for the guncon2 use that driver but only with that driver it does not work well, I have created a code to flash the screen when shooting and another to delay the shot so that it enters the flash so that it detects the position well.

I am not going to talk about this here anymore, that this topic is from Samco, if someone wants to know more about this, speak to me privately or I will open a new topic if someone wants.

By the way Samco, your system is wonderful, as soon as the alarm passes, I will buy a couple of PCBs from their ebay store to test my LCD.

good job :applaud:
Hey, Id love to know more about this. How are you making it work?

It would be great if you wanted to start a thread or pm me if you dont want to.
Thanks.


Sent from my iPhone using Tapatalk
https://LightGunGamer.com - every Lightgun game and how to play them

Foxhole

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 251
  • Last login:Yesterday at 10:35:38 pm
  • I want to build my own arcade controls!
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #88 on: March 21, 2020, 06:02:14 pm »

Pepe, how are you using those guns on the pc? Ems topgun driver?

I am not going to talk about this here anymore, that this topic is from Samco, if someone wants to know more about this, speak to me privately or I will open a new topic if someone wants.
True, sorry, samco, sent you a pm, pepe.

samco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:June 30, 2020, 10:37:07 pm
  • SAMCO Light Gun Creater
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #89 on: March 24, 2020, 11:45:10 pm »
Thanks Pepe! Your setup looks sweet, nice work!

Yeah, wont be able to send out any PCBs for a while all inessential businesses have been suspended here in NZ for at least a month so had to shut down my eBay listing for now.

Stay safe out the peps, at least we now have more time for projects :)

samco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:June 30, 2020, 10:37:07 pm
  • SAMCO Light Gun Creater
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #90 on: May 01, 2020, 12:27:40 am »
Hi Guys,

Just a quick update, I've started selling my PCB's again...

https://www.ebay.com.au/usr/samcocontrollers

... and have made a 4 LED sketch (just encase you missed it) :)


lightgungamer

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 46
  • Last login:July 01, 2020, 11:46:11 am
  • I love playing Light Gun Games
    • LightgunGame.com
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #91 on: May 01, 2020, 03:21:29 am »
Hey samco, this looks great.

Do the 4 leds help keep the system accurate if you change position relative to the screen like side to side or stand up etc?

Doing that would require you to recalibrate the aimtrak for example.
https://LightGunGamer.com - every Lightgun game and how to play them

samco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:June 30, 2020, 10:37:07 pm
  • SAMCO Light Gun Creater
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #92 on: May 01, 2020, 07:10:56 pm »
Hi Lightgungamer,

Yeah, currently definitely works better if you play from the position you calibrated so similar to Aimtrak. But I have an idea of how to add perspective correction that I'll start working on next week which could fix that. I'll let ya know how I go.

samco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:June 30, 2020, 10:37:07 pm
  • SAMCO Light Gun Creater
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #93 on: May 24, 2020, 01:54:31 am »
Hi Guys,

Just ironed out a few bugs in my 4 LED code and updated my GitHub. If anyone wants to try it out and let me know what they think Id appreciate it.

Cheers Sam(co)

samco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:June 30, 2020, 10:37:07 pm
  • SAMCO Light Gun Creater
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #94 on: June 18, 2020, 01:32:31 am »
Hey Guys, just uploaded my GunCon2 vid...


Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18411
  • Last login:Today at 04:08:04 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #95 on: June 18, 2020, 01:43:44 pm »
So do we have a running total for the parts list now?  Been thinking of building one since the sinden gun keeps getting delayed. 

samco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:June 30, 2020, 10:37:07 pm
  • SAMCO Light Gun Creater
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #96 on: June 18, 2020, 09:48:25 pm »
Hi Howard,

GunCon2's vary quite a bit but lets say $40US for the sake of argument. DF Robot IR Positioning Cameras are $23.55US + postage on there website, the cheapest ItsyBitsy you can get is $9.95US + postage and my PCB's are $10US + $3US postage. You might be able to save a little on potage by getting the Camera & ItsyBitsy board from a maker website so a safe estimate would be a little under $90US (+ postage) it you had to buy all the parts. Obviously you can save quite bit if you have an old GunCon2 floating around or can find one cheap :)

https://www.dfrobot.com/product-1088
https://www.adafruit.com/product/3677
https://www.ebay.com/itm/184265539060

Cheers Sam(co)

Howard_Casto

  • Idiot Police
  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 18411
  • Last login:Today at 04:08:04 am
  • Your Post's Soul is MINE!!! .......Again??
    • The Dragon King
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #97 on: June 19, 2020, 03:14:04 am »
Thanks for the reply.  I was actually thinking of making a custom 3d printed enclosure.  I'm not sure though.... that might not be worth the effort. 

samco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:June 30, 2020, 10:37:07 pm
  • SAMCO Light Gun Creater
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #98 on: June 20, 2020, 08:02:30 pm »
Yeah, that would be cool! But a lot of work :) If you're building your own Gun then you wouldn't need a PCB and could use any 32u4 board you like so the only so the only real cost would be the IR positioning camera. So be quite a bit cheaper but a lot more work. Cool idea though I'd love to know how ya go.

LightFun

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 10
  • Last login:June 27, 2020, 08:12:47 am
  • I want to build my own arcade controls!
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #99 on: June 21, 2020, 09:13:34 am »
Hey Guys, just uploaded my GunCon2 vid...


Noticed this pop up on my YouTube feed a few days ago. I look forward to watching, your first video was great.

hyo2012

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 47
  • Last login:Today at 12:56:56 am
  • I want to build my own arcade controls!
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #100 on: June 28, 2020, 05:05:07 am »
I succeeded in make Samco 4IR light gun.
Strange thing is I have to rotate IR Camera about 90 degree to work correctly.
And works properly, that was amazing.
Compared to Aimtrak lightgun I used, Samco 4IR light gun's working distance that monitor from light gun is decreased. So playing gun game is more fun :laugh:

I have a suggestion.
When I use light gun, other mouse is not movable. To use mouse, I have to push calibration button on light gun.
It is better I think, if light gun can't see IR light, stop working with out pushing calibration button.
And.. Is it possible add fuction 'offscreen trigger reload'?

Thank for your works. I ordered 3unit of guncon2 pcb from your ebay ;D
« Last Edit: June 28, 2020, 05:13:41 am by hyo2012 »

samco

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 33
  • Last login:June 30, 2020, 10:37:07 pm
  • SAMCO Light Gun Creater
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #101 on: June 30, 2020, 10:37:07 pm »
Thanks, for the feedback @hyo2012. I'm glad you like it :)

Yeah, apparently a bunch of the DF Robot camera had the labels stuck on the incorrectly it's a real common problem. Glad you worked it out.

I'm a bit busy with other stuff at the moment but I'll have a look into your suggestions when I get some spare time and let ya know how I go. Out of curiosity which game are you playing that you would like to add the offscreen trigger reload?

Cheers Sam(co)

hyo2012

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 47
  • Last login:Today at 12:56:56 am
  • I want to build my own arcade controls!
Re: SAMCO DIY Arduino Powered IR Light Gun
« Reply #102 on: July 01, 2020, 02:11:17 am »
Thanks, for the feedback @hyo2012. I'm glad you like it :)

Yeah, apparently a bunch of the DF Robot camera had the labels stuck on the incorrectly it's a real common problem. Glad you worked it out.

I'm a bit busy with other stuff at the moment but I'll have a look into your suggestions when I get some spare time and let ya know how I go. Out of curiosity which game are you playing that you would like to add the offscreen trigger reload?

Cheers Sam(co)

most of demul lightgun games - hotd 2, confidential mission, maze of kings... 

As I know, these sega arcade gun games are support offscreen reload on original arcade cabinet.