|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Reading NES controller from digital inputs
I wrote some code to read the buttons of the NES controller and thought I would post it here if anyone was interested..
http://s25.photobucket.com/albums/c9...t=CIMG2062.jpg http://youtube.com/watch?v=DVwo3C_YW0U More information can be found here.. http://pinouts.ru/Game/snescontroller_pinout.shtml http://www.diylive.net/index.php/200...es-controller/ |
|
#2
|
||||
|
||||
|
Re: Reading NES controller from digital inputs
Cool! Now all you need to do is upgrade it to use a controller that has analog inputs.
![]() |
|
#3
|
|||
|
|||
|
Re: Reading NES controller from digital inputs
Next Step: Atari
|
|
#4
|
||||
|
||||
|
Re: Reading NES controller from digital inputs
It sucks that you cant reprogram the OI's processor.... this would prove impossible to do to on the OI the way its programmed with the 26.2ms update.
-q |
|
#5
|
||||
|
||||
|
Re: Reading NES controller from digital inputs
You could make a custom circuit to translate what is coming from the nes controller to the digital inputs on the OI.
|
|
#6
|
||||
|
||||
|
Re: Reading NES controller from digital inputs
Yeah all you would need is a simple microchip like a PIC16F or something
|
|
#7
|
||||
|
||||
|
Re: Reading NES controller from digital inputs
I am friends with someone who has programmed over the loop in the RC, it just sends a signal to the coprocessor ever 26.2 ms so that it thinks it is doing the right thing.
|
|
#8
|
||||
|
||||
|
Re: Reading NES controller from digital inputs
Can he control all the pwm's from the user processor?
|
|
#9
|
||||
|
||||
|
Re: Reading NES controller from digital inputs
It might keep the SPI happy... but does it would have to communicate full packets to the master micro so that the checksums and byte counts check.... what did he gain out of writing his own loop?
Also, is it legal to have custom circuits on the OI? I never went to the FIRST school of law. If it is legal.... I wish they had a higher current capability on the +5v supply though, don't suppose you could run much of anything anyhow, but a Nanowatt series microchip micro should be ok. -q |
|
#10
|
||||
|
||||
|
Re: Reading NES controller from digital inputs
Quote:
|
|
#11
|
||||
|
||||
|
Re: Reading NES controller from digital inputs
From what I know they had all functionality, I will talk to him and try to get more info on it.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Digital inputs in autonomous mode? | Calvin | Programming | 8 | 18-02-2006 13:16 |
| Digital Inputs interfering with each other | Bongle | Programming | 8 | 23-02-2004 11:18 |
| How to access other Digital inputs on OI? | DougHogg | Electrical | 2 | 12-03-2003 13:57 |
| Digital inputs, bandwith, errors? | Micah Brodsky | Programming | 7 | 20-01-2003 16:08 |
| Analog vs Digital inputs? | f22flyboy | Programming | 8 | 08-11-2002 22:18 |