DIY Arduino Powered IR Light Gun

4,975

23

2

Introduction: DIY Arduino Powered IR Light Gun

About: Retro/Light Gun game enthusiast from NZ.

The SAMCO is a Namco GunCon with the insides replaced with an Arduino micro controller and DF Robot IR positioning camera and works as HID mouse on LCD (flat screen) TV/monitors.

Gun currently works with Mame in RetroPie (for Raspberry Pi), PSX Beetle (PC/Windows), Saturn Beetle (PC/Windows) and PCSX2 (PC/Windows).

Features:

Quick calibration

Pause/recalibration

Tilt correction

Supplies:

Adafruit ItsyBitsy M0 (or HID compatible board)

DF Robot IR positioning camera

x2 LED's

x2 100 ohm Resistors

Tall Switch (from Adafruit)

NEW PCB's AVAILABLE (Including GunCon 2) (optional)

Step 1: Schematic

This is the basic Schematic of the SAMCO Light Gun. Code will work with any HID compatible board but if you're using an Atmega 32u4 board you will have to change pins A4 & A5 to any other spare digital pins.

Step 2: SAMCO PCB Soldering Guide

This a basic soldering guide if you're using a SAMCO PCB board.

Step 3: Code

Link to the libraries & code https://github.com/samuelballantyne

Step 4: Test Your Gun Setup/Troubleshooting

Step 5: Introduction & RetroPie Setup

Step 6: PlayStation 1 + SEGA Saturn (RetroArch) Setup

Step 7: PlayStation 2 (PCSX2) Setup Guide

Step 8: Demo

Step 9: Future Development

Adding a 4 LED sketch to reduce working distance.

Step 10: New Range of PCBs

Step 11: GunCon2 Build Guide

Games Contest

Participated in the
Games Contest

Be the First to Share

    Recommendations

    • Mason Jar Speed Challenge

      Mason Jar Speed Challenge
    • Bikes Challenge

      Bikes Challenge
    • Remix Contest

      Remix Contest

    2 Discussions

    0
    tahubacem
    tahubacem

    9 months ago on Step 7

    is it work on FPS gaming like call of duty? since game like FPS cursor position is always in the center of display,cmiiw