NES Zapper....
Vaati
Posts: 712
I want to use one of my NES zapper guns....· I read in the Propeller Cookbook that it uses pins 4 & 6, but which pin does what...?
Also, has anyone built some code for the zapper?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
Also, has anyone built some code for the zapper?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
Comments
there's a description of a standard NES controller pinout. It actually uses 3 pins, Clock, Latch and Data.
But concerning what data comes out of a Zapper..... hmm.. dunno
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio - the modular Development system for the Propeller
PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!
SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board
racketboy.com/forum/viewtopic.php?f=25&t=10645
says the pinout for the Zapper is different
here's an excerpt
Yet a different website explained how it works. When the trigger is pulled, the NES blanks the screen for a split second, except for a small square. If the Zapper is pointed at the square, it registers a "hit"
I imagine that pins 6 and 7 are used for this, 1 is the trigger, the other for the light sensor.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio - the modular Development system for the Propeller
PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!
SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board
Post Edited (parts-man73) : 7/8/2009 5:03:46 PM GMT
Glad to see someone jumping on this project!
The bad news is that I don't think any of the current NES interfaced hardware supports
the use of the two lines you need to communicate with the Zapper so you'll need to
create a new interface for the lines you need. No big deal.
Do you have the NES plug you need to do this project? I probably have a spare I could
mail your direction. We'll keep you from hacking the end off your Zapper this way.
OBC
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
New to the Propeller?
Visit the: The Propeller Pages @ Warranty Void.
One more thing--I took apart my NES, and the chips are thru-hole! It also looks like the pcb layout was drawn by hand (LOL)... Well, I was wondering whether it is possible to use the nintendo chips along with a propeller to make a nicely funtional NES...
What do you think...?
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!
maybe use CNT, eg wait for VSync, get CNT value, set screen to white, and wait for the light sensor to be set ( or clear depending on it's values ) then get CNT again, and then subtract your start CNT value, you then have an indication of how far into the screen your gun was pointing at. divide it by how ever many cycles for one scan line ( iirc NTSC is 62.5us, and PAL is 64us ) then the remainder value is the X position divided by another value ie ( pixel clock )
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
http://www.propgfx.co.uk/forum/·home of the PropGFX Lite
·
Good Work!!!!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Toys are microcontroled.
Robots are microcontroled.
I am microcontroled.
If it's not Parallax then don't even bother. :-)
·
Mini-Din/PS2 connectors are for sale! 5 for $1! PM me if you wish to make an order.
Cheap·shipping unless specified!··········150 left!!··
Thanks.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Quit buying all those fixed voltage regulators, and·get an Adjustable Power Supply·for your projects!· Includes an LED testing terminal!