3 Simple Ways to
Share What You Make

With Instructables you can share what you make with the world — and tap into an ever-growing community of creative experts.

PhotosPhotos

Share one or more photos of a project, recipe, or whatever you've made, quickly and easily.

Step by StepStep-By-Step

Share your step-by-step photos with text instructions of what you made so others can do it too!

VideoVideo

Share your how-to video. You'll need your embed code from a video site such as YouTube.

USB SNES Controller

USB SNES Controller
First instructable. Let me know what it needs and fixes.

I did not make the circuit or program. I am just making a guide that shows step by step assembly of how to make the USB SNES controller. The original page is here:
www.raphnet.net/electronique/snes_nes_usb/index_en.php

This guide will convert a regular snes controller into a usb gamepad. It is tested working on XP, Vista, 7, and PS3. It should work on mac and linux but I have not tested them. The device is recognized as a standard HID device.

-You do not need to program anything for this guide. The program is already compiled and ready to be flashed to your chip.
-You do need basic soldering skills.
-Basic schematic reading skills helps, but I will try to explain every step.

 
Remove these adsRemove these ads by Signing Up
 

Step 1Parts Needed

Parts Needed
«
  • atmega8.jpg
  • usb avr programmer.png
  • Nin_02.jpg
  • pcb.jpg
  • breadboard.jpg
  • crystal.jpg
Parts List:
----------------------------------------
-Atmega8 DIP microcontroller
-AVR programmer (usb, parallell or serial. I use usb.)
-12MHz Crystal osscilator
-[2] 3.6 volt zener diode
-1.5K Resistor (anywhere from 1.3K to 1.7K should work)
-[2] 68ohm resistor (anywhere from 60 to 75 should work)
-USB male cable
-SNES controller (first party works better. wires colors match guide.)
-Small wire.
-PCB - www.radioshack.com/product/index.jsp - $2
-Breadboard. This makes it much easier to test before putting into a controller.
             www.radioshack.com/product/index.jsp - $9

Tools:
-----------------------------------------
-Wire Stripper
-Wire Cutter
-Soldering Iron
-Solder
-Needle nose pliers (makes it alot easier to place and move wires on breadboard)
-Dremmel or cutting tool. (chip will not fit into unmodified controller.

« Previous StepDownload PDFView All StepsNext Step »
25 comments
Feb 5, 2012. 6:23 AMwebfp46 says:
Can you also post the C source code. I actually want to know what I am programming. Or is there some way to backcompile the .hex file?

Thanks
Jul 26, 2011. 10:28 AMBaniski says:
I bought the usb programmer, and made the connections, I downloaded the. .. .hex but what program I use to upload the .hex file to the ATMEGA8?

thanks
Aug 7, 2011. 10:13 PMkrauser35 says:
The programmer should have a driver disk. The suitable software for programming must be inside that disk.

However I used ISPprog v1.6.7 from :
http://www.zhifengsoft.com

It seems the latest version is 1.72 :
http://www.zhifengsoft.com/files/progisp172.rar
Jul 31, 2011. 11:03 PMblackowaya says:
Long time passed, but I'm here to show how i made my adaptor.

I used an ATTINY25. All componentes are inside the DB25 shell. After a lot of optimization (and reseach X_x), i managed how to implement  a calibration routine for the internal oscilator.

Here is the firmware's url.
http://www.4shared.com/file/C3m1jXsi/SNES25v2.html

Thank you Andreq, your information was a huge help.

Apr 16, 2011. 10:48 AMyahithappens1234 says:
ummmm can you just make me one? i hate electronics and working with robotics, its too confusing, i could provide a controller and money!
Apr 18, 2011. 9:58 PMkrauser35 says:
Its OK with me but I know that shipping cost will kill you!
I is really simple and a good experience, you can do it, trust and believe in yourself! This is the cheapest way. I strongly recommend you to do it by yourself then share your experience with us.
There are two other ways :
1. You can ask someone whose job is electronic at your local place, do it for you.
2. Another way is buying one of these from amazon :
a. NES Retro Classic Controller USB
http://www.amazon.com/Retro-Classic-Controller-Nintendo-Entertainment-System/dp/B00281PFQI
b. NES Controller to Pc USB Adapter
http://www.amazon.com/NES-Controller-USB-Adapter-Smart-Pad/dp/B000YDOK2W
c. Retrolink Nintendo NES USB Adapter for PC
http://www.amazon.com/Retrolink-Nintendo-NES-USB-Adapter-Mac/dp/B000PDOTXG

Good Luck!
Mar 10, 2011. 3:39 AMkrauser35 says:
Works great, thanks!
Mar 6, 2011. 11:48 PMkrauser35 says:
What about C1? Did you forget it?
C1: 10uf capacitor. Install it near the ATmega8

http://www.upload-jpg.com/images.php/2e254839/01.PNG

Or it is just an unnecessary component, just like J1, J2, D1, R4?. But it doesn't seem to be unnecessary like these ones. Please explain about it. Thanks


Sep 6, 2010. 7:38 PMertxz18 says:
Could you please include maybe some links or information as to how you acquired all the parts needed :D THANKS!
Jun 14, 2010. 11:30 PMLordGormyr says:
was wondering can this be done with a gamecube controller
Jun 28, 2010. 11:02 PMPie Ninja says:
Do you know whether it's possible to have more than 2 ports on the GCN/N64 to USB adapter? Like, wire 4 controller ports to the one board?
Apr 28, 2010. 5:46 AMtechnoguy94 says:
So its used as an actual USB game controller, instead of just another emulated keyboard?
Mar 23, 2010. 3:41 PMXGundam05 says:
This circuit will work in Linux. I modded a PC a while back to be a dedicated SNES emulator with 4 controller ports. Runs 8.04? Ubuntu using Flux Box.
Jan 6, 2010. 11:08 AMandreq says:
I did the same thing some times ago, but I used an ATtiny45 (DIP).

The schematic and source code can be found here :
hobbyelektronik.org/w/index.php


I did some modification to the source code to include automatic internal OSC calibration. I'll try to find it somewhere on my hard drive.

If my memory is good, it might even fit inside an ATtine25 (that's what I had around...)

Anyway, great job, but you should show us how the finished PCB looked like and use less "marketing" pictures :)

Jan 6, 2010. 4:07 PMandreq says:
This is the main reason why I used the ATtiny... you also have less component!

The only problem I had was with the USB data voltage.

I tryed the zener diode method without success.

On the V-USB website (the actual USB "firmware" that is used by this code) you can see other method.

For my circuit I used a 3mm red led on the 5v line... it reduced the voltage close to the 3.6v required by the data line. I also removed the zener.

I think 2 "normal" (not led...) diode on the 5v is also possible.
Jan 6, 2010. 12:11 PMandreq says:
Here is the full sources.

Include schematic, code and compiled HEX.

www.filemonster.net/en/file/15003/Snes-Attiny-zip.html

It should fit inside an ATtiny25, it compile to 1984 bytes (kinda... funny)

Mar 13, 2011. 8:14 PMblackowaya says:
Hi!

I'm afraid the link to the firmware made by andreq is dead.

I'm trying to make this adaptor, using an ATTINY25, i tried to add internal OSCCAL and optimize the code from hobbyelektronik but my firmware compile to 2138 bytes (it's too fat).

If someone have the source code of the firmware of andreq, please post it. Thank you in advance.
Mar 13, 2011. 9:46 PMandreq says:
Lucky enought, I found it inside an old backup folder :

http://www.2shared.com/file/1I9Vq85d/Snes-Attiny.html

You might have to look at the code. I've seen I commented out the autocalibration part (to save space). Also, I changed the usb vendor name to Andre in the usb-config. You could just change that to anything small (<=5 letters) if you care. Make sure to set the lenght accordingly.

You might need to play with the OSCALL value which is read from eeprom 0x00. It should be between 125 and 128.

Have fun! There's nothing like the real feeling of a Snes game-pad when playing classic games.
Mar 14, 2011. 6:36 PMblackowaya says:
WOW, thanks a lot andreq ¡n_n¡.

I'll be testing it tonight. Yeah, nothing better to use the original SNES pads to play classic games. I'm a SNES fan and i think is the best pad in terms of weight, confort, response and button layout. I'll be posting photos when finish the project.
Mar 13, 2011. 9:30 PMandreq says:
I'll try to find that file on my computer again and upload it somwhere else. If your in a hurry, the easiest part to "cut" is the USB device name. It take lots of space.

Pro

Get More Out of Instructables

Already have an Account?

close

All Steps Viewing
View all steps of an Instructable on the same page when you're a Pro Member.

Upgrade to Pro today!
0
Followers
1
Author:timeblade0