Joystick
Hey,
I was wondering where to get a joystick that could intefere with my BS2.
Like to control the Boe-Bot.
Any Ideas? Would I have to strip a USB cable to get the wires or can you buy 1 that dosn't have the USB connecter at the end and you can just plug the wires right in to your circuit?
Thanks for any help!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
I was wondering where to get a joystick that could intefere with my BS2.
Like to control the Boe-Bot.
Any Ideas? Would I have to strip a USB cable to get the wires or can you buy 1 that dosn't have the USB connecter at the end and you can just plug the wires right in to your circuit?
Thanks for any help!
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
Comments
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
- Stephen
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
Look at my PropJoy board, you could easily adapt it to a Stamp.
You can plug 2 Atari joysticks into it. PropJoy contains 2 shift registers. The status of each "button" is contained in the bits that you shift out of it. I say buttons, because inside an Atari joystick, there are 4 buttons for up,down,left and right. plus the fire button. There are 4 data lines, plus VDD and VSS.
The "Latch" line will capture a snapshot of the current joystick status, this is common for both joysticks
the "clock" line is strobed to shift the data out
Player1 data and player2 data is the output through which you read the shifted out data.
if only 1 joystick is used, only Latch,Clock and Player1 need be connected (plus of course VDD and VSS)
Instead of the SpinStudio connector, wires can be soldered in place for connection to your BS2 or any other MicroController.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Brian
uController.com - home of SpinStudio - the modular Development system for the Propeller
PropNIC - Add ethernet ability to your Propeller! PropJoy - Plug in a joystick and play some games!
SD card Adapter - mass storage for the masses Audio/Video adapter add composite video and sound to your Proto Board
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Dan Taylor
http://forums.parallax.com/showthread.php?p=602989