RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    SAMCO Arduino Powered IR Light Gun

    Scheduled Pinned Locked Moved Ideas and Development
    light gunmamediyarduino
    52 Posts 9 Posters 14.2k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • samcoS
      samco @mrbee
      last edited by

      @mrbee happy new year mate. Ok, so it’s sounds like you setup is all good. Now I think it might during the calibration process. It should go something like this...

      Start by pushing the calibration button, this should move the curser to the top left hand corner of the screen, aim your light Gun at the curser and pull the trigger, the curser should then move to the bottom right hand corner of the screen, aim the lightgun at this curser and pull the trigger again. The curser should now track the position of the light gun.

      Hope this helps mate, let us know how ya go.

      M 1 Reply Last reply Reply Quote 0
      • M
        mrbee @samco
        last edited by

        @samco this was the problem all along!

        feel so stupid.
        my issue i have now is that it calibrates to the top left but rarely on the bottom right so have to adjust where i am standing etc a bit more i think.

        tested it out on model 2 emulator with virtua cop. set emulator res to 1280 and it works perfect (albeit with a bit dodgy bottom right calibration)

        anyways geek stuff aside. i hope the fires in aus arent causing problems or anything for any of your family and friends. i realised well shit.. here ive been banging on about lightgun calibration and aus is on fire!

        sending much love from here in wales!

        1 Reply Last reply Reply Quote 0
        • samcoS
          samco
          last edited by

          @mrbee all good mate. I know it's a lot to take in especially when your just keen to start light guning again :) Yeah, bottom parts of the screen are gonna be the first part to effected if you're too close to the screen, might just have to move back a bit can't be too close to the screen unfortunately.

          Also thanks man, been lucky enough that none of my family and friends have been too effected by the fires but a lot of people have so thanks for the support :)

          1 Reply Last reply Reply Quote 0
          • samcoS
            samco
            last edited by

            Hi Guys, just a quick update got some new boards out including one that works with GunCon2. Here's a quick vid if ya interested.

            Cheers Sam(co)

            1 Reply Last reply Reply Quote 1
            • samcoS
              samco
              last edited by

              Hi Guys, just another quick update. I've had a bit time on my hands lately (as have probably a lot of us) so I decided to put together my own version of a 4 LED light gun system. I decided to design it around 2 sensor bars one at the top of the screen and one at the bottom so you don't have to muck around with wiring up leds if you don't want to. Anyway, I've made a quick video so show you how it works so check it out if ya interested.

              1 Reply Last reply Reply Quote 1
              • samcoS
                samco
                last edited by

                Hey guys, just uploaded my GunCon2 build guide.

                1 Reply Last reply Reply Quote 0
                • R
                  ricebelly
                  last edited by

                  Hi @samco ,
                  I've soldered all the relevant bits to the Samco2 board on gcon2.
                  I've setup (under Win10) IDE software downloaded the latest source code and got the Samco_2.0_2IR_Test.ino successfully uploaded and tested the processing_sketch. The green/red dots and buttons work ok.
                  Q1) with the 2IR_test loaded, should i be able to calibrate the gun?
                  i.e. when i click on calibrate button (gcon2 reload button), it doesn't move the mouse to top left etc.

                  However, thinking i need to load the actual source code (Samco_2.0_2IR.ino) to get the actual calibration working... i attempted to load the Samco_2.0_2IR.ino code and get this error:

                  Annotation 2020-10-25 135953.jpg

                  What am I doing wrong?
                  NB. i'm usng the ItsyBitsy M4 Express card (on COM5) port.

                  1 Reply Last reply Reply Quote 0
                  • M
                    mrbee
                    last edited by

                    Hey @samco hope all is well!!

                    I am just thinking, there is a gun out there in production called the Sinden Lightgun, you have probably heard of it.
                    Anyways, physically it is the same i think, camera based etc. But it uses a white border as it calibration, do you think it is possible to make an arduino version with a camera and with border software? do you think this would be better than the i.r method?

                    1 Reply Last reply Reply Quote 0
                    • samcoS
                      samco
                      last edited by

                      Hi Guys, I know it's been a while but have finally updated my code to have saved calibration & increased accuracy. Get out the my new vid...

                      pinokioooP 1 Reply Last reply Reply Quote 1
                      • pinokioooP
                        pinokiooo @samco
                        last edited by

                        @samco friend, I’m looking at your videos about your samco project since 2016 videos.
                        This concept almost same with wiimote and dolphin bar right?
                        I has a big problem with wiimote and dolphin bar.
                        If I use 1 wiimote as a lightgun, it works properly.
                        But after I connected the 2nd wiimote the crosshair always merge beetwen player 1 and player 2.
                        I’m already change the dolphin bar mode (1-4)
                        What I want to ask is, is the wiimote not supported for 2nd players at retropie ? I’m affraid if I build the samco project I will experience the same things.

                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post

                        Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                        Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.