After watching Midway's demonstration of the prototype Ready 2 Rumble controller, I was interested in trying to interface the Dreamcast to a BASIC stamp. Hopefully I can use it to figure out what the Dreamcast is sending the Dreameye to get it into streaming mode (would be nice for KOS). So far I have a basic circuit of two L.E.D.s for determining logic. All of my information about the hardware protocol comes from Marcus Comstedt's research: (link). The pinout for the controller port can be found here: (here).
To interface the Dreamcast to the board, I'm using the cable from the Dreameye since it has a connector on the end that I can plug wires into. If you open up your Dreamcast controller, you can disconnect the cable and use that too.
Pinout of the Dreameye cable:
Hold it so the arrow on the connector that goes to the camera is facing down and the connector holes are facing you. Pins 1 through 5 are in that order (1 - 5, left to right).
PBASIC sync code:
So far, the only code I have working is the sync code. If there's a better way to do this, please let me know. I know I do need to change it so it starts back at the starting over position if the levels are different.
Is there a better way to handle the polling? I wrote a second program that groups the bits into bytes, but it's telling me both pins are always high even though the above code works meaning that they aren't. Here is the code for that:
What I want to do with the code above is to group the bits, then send them to the PC. Afterwards, I can go through and create a graphical representation of the signal using hypens and underscores. So, the sync would look like this:
I appreciate any help anyone with BASIC stamp or Dreamcast hardware experience can offer.
To interface the Dreamcast to the board, I'm using the cable from the Dreameye since it has a connector on the end that I can plug wires into. If you open up your Dreamcast controller, you can disconnect the cable and use that too.
Pinout of the Dreameye cable:
Hold it so the arrow on the connector that goes to the camera is facing down and the connector holes are facing you. Pins 1 through 5 are in that order (1 - 5, left to right).
PBASIC sync code:
So far, the only code I have working is the sync code. If there's a better way to do this, please let me know. I know I do need to change it so it starts back at the starting over position if the levels are different.
If I get any further on the Dreameye stuff, I'll probably move that part of the project back to dcemulation since there's more work with KOS done there.