Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 07:52 25 Nov 2024 Privacy Policy
Jump to

Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.

Forum Index : Microcontroller and PC projects : Maximite Joystick Standard

Author Message
Nick

Guru

Joined: 09/06/2011
Location: Australia
Posts: 512
Posted: 08:25pm 29 Jan 2012
Copy link to clipboard 
Print this post

Is/has there been a standard devised for a Maximite joystick?

 
crackerjack

Senior Member

Joined: 11/07/2011
Location: Australia
Posts: 164
Posted: 09:03pm 29 Jan 2012
Copy link to clipboard 
Print this post

There was mention previously of using the Wii Nunchuck. At about $3 delivered to Australia (eBay) and with a joystick, two buttons and three axis accelerometer via I2C using a handful of lines of code I can't imagine a better or simpler choice.
 
Geoffg

Guru

Joined: 06/06/2011
Location: Australia
Posts: 3194
Posted: 10:21pm 29 Jan 2012
Copy link to clipboard 
Print this post

That is a great suggestion. For $3 you could not even put two push buttons in a box.

It seems that you cannot buy the matching connector but, for $3 (well $3.85 actually), it is simpler to cut off the connector and solder the wires to an IDC plug. It requires just 4 wires (two for 3.3V and two for I2C).

Then all we need to do is write a subroutine that encapsulates the code to read the data and we are go for lift off. This doco ( http://www.robotshop.com/ca/content/PDF/inex-zx-nunchuck-dat asheet.pdf) explains the protocol.

I am off to buy one now.

Geoff
Geoff Graham - http://geoffg.net
 
Gadget
Regular Member

Joined: 22/06/2011
Location: Australia
Posts: 70
Posted: 11:18pm 29 Jan 2012
Copy link to clipboard 
Print this post

Nick,

Darthmite has used the following to interface "atari" style joysticks

pin 11 - Up
Pin 12 - Down
Pin 13 - Left
Pin 14 - Right
pin 15 - Fire

some discussions were made about this at the time he released the moonlander code

and I believe the same convention was used for the space invaders game

Regards

Terry
 
Nick

Guru

Joined: 09/06/2011
Location: Australia
Posts: 512
Posted: 11:32pm 29 Jan 2012
Copy link to clipboard 
Print this post

The Atari style connection is fine but I wonder, are Atari style joysticks still easily available?

Wii nunchuks seem to be more readily available at some of the discount/budget stores around here.

Which would be easier to read without much code? I know the atari style one's can be read with the PIN command.

We need a joystick that is easy and cheap to buy, easy and cheap to modify for the MM, and has a quick read time from BASIC with low lag/latency time.
 
Olimex
Senior Member

Joined: 02/10/2011
Location: Bulgaria
Posts: 226
Posted: 05:48am 30 Jan 2012
Copy link to clipboard 
Print this post

just to tell you that we have Wii to UEXT connector prototype
it's very easy to do it look Here we just add UEXT connector on it, now Don suggested us to add ICSP connector layout too so we can use ICSP connector as joystick connector
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 05:55am 30 Jan 2012
Copy link to clipboard 
Print this post

  Geoffg said  
Then all we need to do is write a subroutine that encapsulates the code to read the data and we are go for lift off.



Hi Geoff

Have you seen this
http://www.thebackshed.com/forum/forum_posts.asp?TID=4312&KW =wii


Jman
 
darthmite

Senior Member

Joined: 20/11/2011
Location: France
Posts: 240
Posted: 06:33am 30 Jan 2012
Copy link to clipboard 
Print this post

Hi ,

Nick is true ,

Atari joy connection was a standard long time ago , i used this because
my DIY UBW32 got allot usable IO.
But , where to find one , i made mine myself.Then about the
Wii nunchuk , i think it can be a good one with only 2 IO used on
the 20 IO available on the MM compared to the 7 IO i use for the 4 directions , 2 fires and one Pot.

Cheers.

Darth.
Edited by darthmite 2012-01-31
Theory is when we know everything but nothing work ...
Practice is when everything work but no one know why ;)
 
Olimex
Senior Member

Joined: 02/10/2011
Location: Bulgaria
Posts: 226
Posted: 10:01am 30 Jan 2012
Copy link to clipboard 
Print this post

here are two adapters one for UEXT one for ICSP



I will add functions for them in the firmware, what do you think for these:

Wii.aX Wii.aY Wii.aZ return the accelerometer X,Y,Z values
Wii.but returns number bit 0 = button1 and bit 1 = button2 status
Wii.x Wii.y return X,Y joystick values

 
Gadget
Regular Member

Joined: 22/06/2011
Location: Australia
Posts: 70
Posted: 02:13am 01 Feb 2012
Copy link to clipboard 
Print this post

Does anyone have details on the information that can be extracted from the WII Nunchuck? I see there is some code snippets to read nunchuck.

I am thinking of possibly emulating a Nunchuck with a picaxe which will be interfaced to an Atari style joystick (as I have a few laying around). So that any games could be written to use the WII Nunchuck but for the 'old school' experience using an adaptor, the old style joystick could also be used without modifying any code,

Any information that anyone has would be greatly appreciatd (I know I could connect a nunchuck but that means I have to buy one)

Terry
 
jman

Guru

Joined: 12/06/2011
Location: New Zealand
Posts: 711
Posted: 05:04am 01 Feb 2012
Copy link to clipboard 
Print this post

Hi

Try this
Wii Info


Regards

JohnEdited by jman 2012-02-02
 
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024