DIY Arduino Powered IR Light Gun

by samcogun in Circuits > Arduino

27301 Views, 37 Favorites, 0 Comments

DIY Arduino Powered IR Light Gun

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 32u4 (3V), Adafruit ItsyBitsy 32u4 (5V), Adafruit ItsyBitsy M0, Adafruit ItsyBitsy M4 or HID compatible board (Note: Only Adafruit boards are compatible with the PCB's)

DF Robot IR positioning camera

x2 LED's

x2 100 ohm Resistors

Tall Switch (from Adafruit)

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

Schematic

This is the basic Schematic of the SAMCO Light Gun. Code will work with any HID compatible board.

SAMCO PCB Soldering Guide

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

Code

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

Test Your Gun Setup/Troubleshooting

Introduction & RetroPie Setup

PlayStation 1 + SEGA Saturn (RetroArch) Setup

PlayStation 2 (PCSX2) Setup Guide

Demo

Future Development

Adding a 4 LED sketch to reduce working distance.

Future Development (cont.)

Updated to include saved calibration & increased accuracy.

New Range of PCBs

GunCon2 Build Guide