View Full Version : Chatter Something about a shift serializer?

SONIC the Hedgehog
02-27-2012, 02:17 AM
I remember talking about controllers, specifically an NES controller, and then something was said about a data serializer to shift data or something so less pins would be used. Could someone please elaborate and maybe send me off to where I could find one. I don't particularly want to hurt or gut any NES controllers.

Duane Degn
02-27-2012, 02:21 AM
I thought Sariel provided a nice schematic (http://forums.parallax.com/showthread.php?138078-homemade-controller-for-a-top-secret-project-under-development.&p=1076259&viewfull=1#post1076259)in your other thread.

He also linked to an object.

Are you looking for other alternatives?

SONIC the Hedgehog
02-27-2012, 02:25 AM
Oh your right he did....
My heads been spinning and I've been doing so much lately, plus I thought I'd get back into DirectX and C++ programming, so I forgot about this. But yes, I was actually checking the OBEX as you replied.

SONIC the Hedgehog
02-27-2012, 02:54 AM
Well I just checked the OBEX, and didn't find anything on sega genesis, nor Saturn, nor dreamcast. Ive go my work cut out for me!

Duane Degn
02-27-2012, 05:30 AM
sega genesis, nor Saturn, nor dreamcast

So do you want to make your own controller that emulates one of these other controllers you listed?

I doubt there's much to go on when it comes to making a specific controller. There's lots of code for reading the data coming out of a game controller but not much that I know of for emulating one. Usually it's easier and cheaper to buy a controller than to make your own.

I like to use Wii Nunchucks in my projects. I cringe thinking about trying to make my own. I think I could figure out how to read a joystick, buttons and accerlerometer but trying to get all the electronics it to fit nicely in a little handheld enclosure would be hard. It would also cost me several times more to make one than to buy one ready made.

Often when someone makes their own controller it's to add features ready made controllers don't have. Here's a great example of a custom controller project (http://forums.parallax.com/showthread.php?133249-XBEE-Robot-Controller-32-Channel).

SONIC the Hedgehog
02-27-2012, 11:12 AM
Not exactly, a better way to put it is no drivers for any of the controllers listed.

02-29-2012, 03:50 PM
Not exactly, a better way to put it is no drivers for any of the controllers listed.

Unfortunately, then it seems you are probably going to have to reverse engineer the controllers. I'm sure that worst case scenario taking one apart, looking at the circuitry and finding your data lines, clock and latch lines(if present), and taking a voltage measurement from the power lines coming out of the system in question. From there, I imagine it would be trial and error finding the right baud rate(if needed), and output data structure when you hit whatever button. Using the PST as a debug window should be enough to get a basic idea of the workings, once you solve the connection issue... and that would not be too difficult either. You could probably go a google search for "Dreamcast controller pinout" and come up with at least a connection diagram. I did a little digging, and found this gem for you.



I know that OldBitCollector has done a great project called the "Funtendo" that you can hook up an old school Nintendo controller, N64 controller, and a Wii classic controller up to a computer through a propeller, and use them with emulators. I'm sure his code would give you a giant chunk of what you need. Here is a quick link for ya.


Good luck to ya!

SONIC the Hedgehog
02-29-2012, 04:01 PM
Yeah I was amazed at his funtendo project, he helped me out a lot, but I've been taking them apart since who knows when, but thatnks a bunch for the link!