Posted by Reg on January 19, 2002 at 16:43:49:
Hi,
Here is the prototype that I have used to interface
a NES Zapper Lightgun to my PC.
The goal of this electronic circuit is to boost
the signal of the gun (2 PNP transistor 2N3906),
filter the signal (CMOS 4093 ) and
trigger Switch 4 of the Joystick A port (CMOS 4066).
The gun trigger switch is connected to the Switch 1 of
Joystick A.
I have not tried to make a base to hold the gun.
Ideally the gun can be attached to a base and to
detect if the gun is moved from left to right or moved
up or down, you must use 100 kiloOhm pots.
Note: Mame simulate a video card that have a 60hz
refresh rate, so to increase the gun precision,
the monitor must also have a refresh rate of 60hz.
For those having a TV in their cabinet, the TV already
have a refresh rate of 60hz.
The next step is to make a base for the gun and to modify Mame
drivers to accept Joystick Switch 4 and to modify the emulated light
gun to accept the NES Zapper one.
I think that this circuit can be easily modified to interface most
lightgun to a PC. (usually a light gun need power , have a trigger and have an output).
Switch 4 is trigged when the gun see a white spot
(as small a a dime at four feet) on the TV / monitor.
Switch 1 is already implemented in Mame.
Here is the URL:
http://server36.hypermart.net/regisma/NES_Zapper_Lightgun_PC_Interface.GIF
Do not hesitate to contact me for more info...
thanks
Reg
regismalt@netscape.net