JPDefault
Posts: 30
Joined: Mon Jul 30, 2012 8:12 am
Location: Wiltshire

Sega Megadrive controller on GPIO

Thu Mar 20, 2014 12:40 pm

Hello gents!

As per title, I'm trying to interface a Sega Megadrive controller to the Pi through the GPIO, in the simplest way (so that it will be compatible with Commodore/Atari controllers). I only need 2 buttons.
I could do something like this:
Image
...but I am afraid it would damage my Pi.
As far as I know, the multiplexer in the controller should work just fine with 3.3V, so would you experts reckon I could do the same, but with the 3.3V supply from pin 1 or 9?

Cheers!
JPD

JPDefault
Posts: 30
Joined: Mon Jul 30, 2012 8:12 am
Location: Wiltshire

Re: Sega Megadrive controller on GPIO

Fri Mar 21, 2014 9:02 pm

So, I went ahead and tried feeding the controller +3.3V instead of +5V. It worked just fine!
Well, except that I couldn't get the B button to work, but that was probably some dodgy contact in the cables I was using.
Anyone else trying to do the same? :)

fuyres
Posts: 1
Joined: Mon Apr 07, 2014 5:34 pm

Re: Sega Megadrive controller on GPIO

Mon Apr 07, 2014 5:51 pm

Select - signal from pi to gamepad
http://applause.elfmimi.jp/md6bpad-e.html
http://www.cs.cmu.edu/~chuck/infopg/segasix.txt
  • send "Select Low" read 1 row(data0-5)
    send "Select High" read 2 row
    send "Select Low" read 1 row
    send "Select High" read 2 row
    send "Select Low" read 3 row
    send "Select High" read xyz row
    send "Select Low" read 4 row and reset
    send "Select High" read 2 row

Return to “Interfacing (DSI, CSI, I2C, etc.)”