|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Dirt Cheap edu Controller!
Hey guys!
So, I was digging around my sister's closet the other day, when I stumbled upon her sega genesis ( ) and it had both controllers with it. I unplugged a controller and noticed...It was a DB9 Serial connector!So, I rushed to my PC in search of the Genesis Controller pinouts, and lo-and-behold there they were. It was at this point I realized that the Genesis controller could wire into the eduBot!!! So, Here's how to do it: First, find an old serial cable you don't need. Cut off about 3-6" away from the Male connector. Strip out the individual cables. Here's a Diagram of the DB9 male connector: 1 2 3 4 5 __________ | o o o o o | \_o_o_o_o_/ 6 7 8 9 and this is the Genesis controller: 5 4 3 2 1 __________ | o o o o o | \_o_o_o_o_/ 9 8 7 6 Next, you need 6 3-hole connectors, like those on your switch input. We'll use digital inputs 3-8 for the controller. Here's What each Digital input will be: 3: UP 4: DOWN 5: LEFT 6: RIGHT 7: BUTTON1 8: BUTTON2 The first connection(dig_in3) will supply the + 5v power to the controller. So here's the connections: PIN 3 4 5 6 7 8 SIG 1 2 3 4 6 9 +5V 5 X X X X X BLK 8 8 8 8 8 8 So, Connect all the BLKs from the 3-slot connectors into pin 8 on the DB9 connector Plug the +5V pin on Input #3 into pin 5 on the DB9 connector Plug the SIGs into the pin number listed above for the appropriate button Now you're ready to roll! Plug your connectors into the right input pins, and connect your genesis to the male adapter, and you're done! In your program, make sure pins 3-8 are set for input. You can set up an 8 way directional pad by checking to see if 2 directional buttons are in: eg up + left = upleft Anyway, I'm still putting the finishing touches on mine! I'll be sure to post pics when I'm done!!! (PS: http://www.gamestop.com/product.asp?product%5Fid=900145 ) |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| C controller | Rorschach | Kit & Additional Hardware | 1 | 29-10-2003 19:21 |
| serious problem found - robot controller resets when jarred! | KenWittlief | Electrical | 23 | 19-03-2003 13:30 |
| Visibility of Robot Controller and Reset Button | Tracy | Rules/Strategy | 1 | 17-02-2003 07:36 |
| How do you connect the speed controller fans? | Iain | Electrical | 7 | 31-01-2003 07:05 |
| Possible Configuration to keep things cheap | archiver | 1999 | 8 | 23-06-2002 23:03 |