Here is the code with my modifications, you'll need to recompile it as the binary file is from the original fork. Like i said i have nearly no experience in C++ but im sure someone like yourself can incorporate it so that both controller types can be supported.petrockblog wrote:I like your project a lot!
Having a physical reset button is a nice feature.
Looking forward to see your adapted SNESDev sources
Thank you for that!tentontabby wrote: Here is the code with my modifications, you'll need to recompile it as the binary file is from the original fork. Like i said i have nearly no experience in C++ but im sure someone like yourself can incorporate it so that both controller types can be supported.
Hope it can be of some use.
This is entirely possible, i was just extending on the excellent work done by petrockblog http://petrockblog.wordpress.com/2012/0 ... pberry-pi/ if you got hold of a broken SNES you could do exactly the same thing you wouldn't even need to use my adapted code you can use the RetroPi-Setup scripts he has created directly. Even the wiring between the NES & SNES controllers is identical.Flipp wrote:Nice work!
Would like to build almost the same but with SNES Pads and the Choice between SNES, NES, Genesis/Megadrive, Mastersystem and MAME.
I can´t code anything, so i hope something like this is coming in the future!
The way i wired the power completely bypasses the micro USB-B power input on the board. I use a standard DC power supply that i found in the back of a parts box, it was a 12v power supply so i purchased a N67CA voltage regulator to get the voltage down to 5v and sent that to the 5v pin on the GPIO of the RPi. I then wired the power button in series to the input of the regulator so that when the button is off there is no voltage going to the regulator.tommyboyiceman wrote:ok, so I am a total newb when it comes to electronics, .net programming I can do. I am powering my Rasberry Pi with an old phone charger. I would love to hook it up to the power and reset buttons, but I have no idea what I am doing. Any help you guys could give me would be greatly appreciated.
That sounds like a much safer solution, i would ideally liked to have done that but i was trying to only use scrap and spares and the only micro USB cable we have is my wife's one for her eReader. Also doing the way you have makes sure the voltage is going through the RPi's voltage regulators.Segway wrote:Here's how I tackled the power issue: I spliced a microUSB to usb cable, took the VCC wire and cut it in half, each half of the VCC cable goes to one of the NES's power switch wires (brown and red). The regular USB portion of the cable sticks out from the AC adapter hole in the NES case so it can be pushed against but not get lost inside the case. To actually supply power, I'm using the barrel connector from a HP Touchpad so from the barrel connector to the pi I'm using a usb extender cable.
Thanks for the inspiration!tentontabby wrote:Im not sure if this would be of any interest to anyone on here but i have been looking through various posts on here over the past few weeks with my Pi in hand and decided to make the following.
I cant take much credit for anything other then gutting the broken NES and modifying the SNESDev drivers for the controllers, poorly soldering everything together and not blowing anything up.