Recommended Joystick?


Guest Bob McCormick

Recommended Posts

Guest Bob McCormick

Does anyone have any recommendations on joysticks that work well with the Arcade MegaWing?  Also any suggestions on inexpensive places to buy the joysticks? 

Link to comment
Share on other sites

Hello Bob,

The best source of joysticks I've found is on Ebay. You can pick up a brand new Atari 2600 joystick for under $10 there and I'm targeting the designs to work with Atari 2600 joysticks.

The other option is to build your own high quality joystick. I found that Sparkfun has very good prices on this approach and the end result is much nicer.

This joystick is $15:

http://www.sparkfun.com/products/9182

Add some buttons for $1 and an enclosure from Radio Shack and you have a really nice joystick.

Jack.

Link to comment
Share on other sites

  • 2 weeks later...
  • 3 years later...

Hi,

I'm trying to use Arcade Megawing with zpuino. And I'm trying to use an original Quick Shot II plus joystick. It looks that there are no pull-up resistors in the joystick and there are no pull ups on the Megawing too. The INPUT_PULLUP parameter for pinMode () function is not supported. Any ideas to have pull-ups?

 

Regards,

Peter

Link to comment
Share on other sites

Hello Peter, 

 

You can add a pullup in the ucf file of any project. I'm looking at the ucf file for the Pacman project and it looks like there are pullups implemented this way on all of the joystick lines (line 62):

# Papilio Arcade MegaWing - Joystick ANET "I_JOYSTICK_A(0)"               LOC = "P5"  | IOSTANDARD = LVTTL | PULLUP ; # 	UpNET "I_JOYSTICK_A(2)"               LOC = "P11" | IOSTANDARD = LVTTL | PULLUP ; # 	Left	NET "I_JOYSTICK_A(3)"               LOC = "P15" | IOSTANDARD = LVTTL | PULLUP ; # 	Right	NET "I_JOYSTICK_A(1)"               LOC = "P10" | IOSTANDARD = LVTTL | PULLUP ; # 	Down 	NET "I_JOYSTICK_A(4)"               LOC = "P9" | IOSTANDARD = LVTTL | PULLUP ; # 	Fire NET "JOYSTICK_A_GND"              LOC = "P12"  | IOSTANDARD = LVTTL | PULLDOWN; # 	GND# Papilio Arcade MegaWing - Joystick BNET "I_JOYSTICK_B(0)"               LOC = "P34"  | IOSTANDARD = LVTTL | PULLUP ; #  UpNET "I_JOYSTICK_B(2)"               LOC = "P22" | IOSTANDARD = LVTTL | PULLUP ; # 	Left	NET "I_JOYSTICK_B(3)"               LOC = "P23" | IOSTANDARD = LVTTL | PULLUP ; # 	RightNET "I_JOYSTICK_B(1)"               LOC = "P25" | IOSTANDARD = LVTTL | PULLUP ; # 	DownNET "I_JOYSTICK_B(4)"               LOC = "P32" | IOSTANDARD = LVTTL | PULLUP ; # 	FireNET "JOYSTICK_B_GND"          	  LOC = "P18"  | IOSTANDARD = LVTTL | PULLDOWN; # 	GND

Hope that helps,

Jack.

Link to comment
Share on other sites

Ah, but the challenge is to do it with ZPUino... I would recommend checking out the latest version of DesignLab, which will let you synthesize your own ZPUino project easily. You can then add pullups to the zpuino pins you desire in the ucf file. (But be careful because the ucf file is shared by all DesignLab projects...)

 

EDITED:

Wait, before you add pullups in the ucf file... That could cause unexpected results in other DesignLab projects. The better way will be to add the pullup in the DesignLab schematic, that will be specific to your project. There are pullup and pulldown schematic symbols available, just filter for them.

 

There are tutorials for getting started with DesignLab at learn.gadgetfactory.net

 

Jack.

Link to comment
Share on other sites

Ok, I just made a DesignLab 1.0 release that has Hyperion 2.0 and a circuit for the Arcade MegaWing in the libraries.

 

To share your project you should just be able to add the following to your code:

#define circuit Arcade_MegaWing

This should associate your code with the Arcade MegaWing circuit. Please test the circuit with your code first, I included Pullup resistors and I hope I got it right but I didn't test it.

 

If that works you can just choose, "Tools/Archive Sketch" to create a zip of your project. Then just post that zip up to the DesignLab Projects Showcase. Your's will be the first project there! Ya!

 

Jack.

Link to comment
Share on other sites

  • 2 years later...

Archived

This topic is now archived and is closed to further replies.