NES Controller Interface with debug button press display
I remember reading some post a while back about people want to interface an NES controller with a basic stamp. I did some research on the net and thought that it might be something that I would be able to do. Well here is the program that I came up with. It is based on the IrRemoteButtonDisplay in the IR Remote AppKit. It may not be the best way to do it but I was just happy that I got it work. If you wanted to it would be very easy to modify it to control a boe-bot. I hope it works for anyone who tries it. Any suggestions or corrections are encouraged. The connection to the NES controller is included in the program description.
Alan
Updated program file
Post Edited (Oper8r Al) : 4/2/2007 4:06:25 AM GMT
Alan
Updated program file
Post Edited (Oper8r Al) : 4/2/2007 4:06:25 AM GMT
Comments
I don't have a SNES controller but from what I can tell the only difference is you need to get sixteen bits of data from that controller compared to the eight bits the NES controller sends. Here is a link for the web page I used. http://pinouts.ru/Game/snescontroller_pinout.shtml. Hope this helps.
Alan
Actually the resistor should have been on the latch and clock line but I wrote it backwards in the program description. I will try to fix it.
Fixed the description in the original program and changed the first post.
Post Edited (Oper8r Al) : 4/2/2007 4:07:29 AM GMT
Can I use this script for my boe-bot?
I personally, didn't have enough experience to do something like this myself...
Al
Post Edited (Oper8r Al) : 4/30/2007 4:52:09 AM GMT
P.E. - You may want to replace the 4000 series chip in the controller with a new one, if you already havent, it may be cooked due to probably getting hooked up in reverse bias (backward power). For alot of chips even 2 seconds in reverse bias usually spells d-o-n-e.
Keep at it, the microcontroller is the way to go, you'll find out that writing some code to mimic the IC chips functions is quite alot easier and faster than the ol school approach of a few IC chips and a ratnest of jumper wires to make 2 leds double blink like cop cars, lol
And moving over to the Propeller chip will be pretty easy. At a basic level, it can interface with a mouse, keyboard, and draw graphics to a TV or VGA·computer monitor.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Definetly a E3 (Electronics Engineer Extrodinare!)
"I laugh in the face of imposible,... not because i know it all, ... but because I don't know well enough!"
Post Edited (RinksCustoms) : 7/6/2007 5:35:49 AM GMT