Shop OBEX P1 Docs P2 Docs Learn Events
Joysticks — Parallax Forums

Joysticks

ArchiverArchiver Posts: 46,084
edited 2004-07-19 19:35 in General Discussion
On 19 Jan 01 at 20:12, Jeff Mitchell wrote:

> ...I remember a while back, someone posted a list of processor
> times for the various commands. Does anyone have a URL or know
> where I can find that info?
>

Jeff-

The answer to many of life's questions (including this one) are on
the Good Doctor Tracy Allens's website:

http://www.emesystems.com/BS2speed.htm

Steve

Comments

  • ArchiverArchiver Posts: 46,084
    edited 2001-01-20 00:12
    ·My project checks the values·of a joystick and outputs (serout) to serial motor controllers.I am using a potentiometric joystick that has an open center, with each corner having it's own value. This application also checks 1 pot for each motor. My question is: in order to save processing time, can I give each leg of the joystick a different R value and only use 1 RCTIME circuit to determine the joystick location?

    ·In the same train of thought, If I am using pulsout to control a hobby servo, can I substitute a "gosub and return" routine in place of the 20 ms pause between pulsouts? (assuming the gosub command requires roughly the same amount of time to execute)

    ·I remember a while back, someone posted a list of processor times for the various commands. Does anyone have a URL or know where I can find that info?

    Thanks in advance,

    Jeff
  • ArchiverArchiver Posts: 46,084
    edited 2001-01-20 03:02
    >
    > Jeff-
    >
    > The answer to many of life's questions (including this one) are on
    > the Good Doctor Tracy Allens's website:
    >
    > http://www.emesystems.com/BS2speed.htm
    >
    > Steve

    ... and once the newest stamp with it's great new instructions is
    released, I'm sure Tracy will be back at it again... Thanks Tracy.
  • ArchiverArchiver Posts: 46,084
    edited 2003-02-11 01:06
    hi guys!

    i believe that this not the right group to put this message, but,
    since i intend to use it in my stamp project, here goes:

    Anyone of you knows where i can buy joysticks (but only the stick
    with 2 buttons?) ? i haved tried all, with no success.

    any help?

    thanks!
  • ArchiverArchiver Posts: 46,084
    edited 2003-02-11 01:34
    how about:
    http://www.compgeeks.com/details.asp?invtid=SV-200
    http://www.compgeeks.com/details.asp?invtid=SV-206
    only $1.60 per.
    ross

    --- "Jo Do <jmsdweb@y...>"
    <jmsdweb@y...> wrote:
    > hi guys!
    >
    > i believe that this not the right group to put this
    > message, but,
    > since i intend to use it in my stamp project, here
    > goes:
    >
    > Anyone of you knows where i can buy joysticks (but
    > only the stick
    > with 2 buttons?) ? i haved tried all, with no
    > success.
    >
    > any help?
    >
    > thanks!
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed.
    > Text in the Subject and Body of the message will be
    > ignored.
    >
    >
    > Your use of Yahoo! Groups is subject to
    > http://docs.yahoo.com/info/terms/
    >
    >


    __________________________________________________
    Do you Yahoo!?
    Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
    http://mailplus.yahoo.com
  • ArchiverArchiver Posts: 46,084
    edited 2003-02-11 02:22
    At 01:06 AM 2/11/03 +0000, Jo Do <jmsdweb@y...> wrote:
    >hi guys!
    >
    >Anyone of you knows where i can buy joysticks (but only the stick
    >with 2 buttons?) ? i haved tried all, with no success.

    Happ controls. These are the people who make parts for the arcade game
    industry: super tough and reasonable prices. <http://www.happcontrols.com/>

    dwayne

    --
    Dwayne Reid <dwayner@p...>
    Trinity Electronics Systems Ltd Edmonton, AB, CANADA
    (780) 489-3199 voice (780) 487-6397 fax

    Celebrating 18 years of Engineering Innovation (1984 - 2002)
    .-. .-. .-. .-. .-. .-. .-. .-. .-. .-
    `-' `-' `-' `-' `-' `-' `-' `-' `-'
    Do NOT send unsolicited commercial email to this email address.
    This message neither grants consent to receive unsolicited
    commercial email nor is intended to solicit commercial email.
  • ArchiverArchiver Posts: 46,084
    edited 2003-02-11 02:26
    At 01:06 AM 2/11/03 +0000, Jo Do <jmsdweb@y...> wrote:
    >hi guys!
    >
    >Anyone of you knows where i can buy joysticks (but only the stick
    >with 2 buttons?) ? i haved tried all, with no success.

    Happ controls. These are the people who make parts for the arcade game
    industry: super tough and reasonable prices. <http://www.happcontrols.com/>

    Couple of direct links:
    Joysticks page: <http://www.happcontrols.com/joysticks/joysticks_amusement.htm>
    2 buttons plus trigger control:
    <http://www.happcontrols.com/joysticks/50997000.htm>

    dwayne

    --
    Dwayne Reid <dwayner@p...>
    Trinity Electronics Systems Ltd Edmonton, AB, CANADA
    (780) 489-3199 voice (780) 487-6397 fax

    Celebrating 18 years of Engineering Innovation (1984 - 2002)
    .-. .-. .-. .-. .-. .-. .-. .-. .-. .-
    `-' `-' `-' `-' `-' `-' `-' `-' `-'
    Do NOT send unsolicited commercial email to this email address.
    This message neither grants consent to receive unsolicited
    commercial email nor is intended to solicit commercial email.
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-16 19:32
    any place to search for schematics on wiring a 9 pin joystick from the 80's to a Basic
    stamp ll ?
    rouww
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-16 22:34
    Well,

    These old Joysticks will probably have two 100 kOhm logarithmic potmeters
    inside. For input into the BS2 you can use the RCTIME command.

    To find out which pin in the connector goes to which potmeter you may have
    to open the joystick and measure the connections.

    Regards,

    Klaus
    Original Message
    From: "fur_princess" <fur_princess@y...>
    To: <basicstamps@yahoogroups.com>
    Sent: Friday, July 16, 2004 8:32 PM
    Subject: [noparse][[/noparse]basicstamps] joysticks


    > any place to search for schematics on wiring a 9 pin joystick from the
    80's to a Basic
    > stamp ll ?
    > rouww
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and
    Body of the message will be ignored.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >
    >
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-17 00:10
    --- In basicstamps@yahoogroups.com, "fur_princess"
    <fur_princess@y...> wrote:
    > any place to search for schematics on wiring a 9 pin joystick from
    the 80's to a Basic
    > stamp ll ?
    > rouww

    You could Google for "atari joystick pinout". I found several hits
    doing that, but if memory serves, they were simply a common line
    that connected alternately to one of four outer contacts. Two could
    conduct if you moved it in a diagonal direction.

    Chris Savage
    Knight Designs
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-17 14:14
    --- In basicstamps@yahoogroups.com, "fur_princess" <fur_princess@y...>
    wrote:
    > any place to search for schematics on wiring a 9 pin joystick from
    the 80's to a Basic
    > stamp ll ?
    > rouww

    What type of joystick? An Atari joystick simply has 4 microswitches
    that are open or closed. Other types of joysticks had 2 potentiometers
    (1 for the X axis and 1 for the Y axis).
  • ArchiverArchiver Posts: 46,084
    edited 2004-07-19 19:35
    Okay, I used to use these extensively on the C64, so I've done a little
    bit with them.

    Basically these are designed with five digital switches and two 8-bit
    ADC's. The 5 switches are for the joystick part of it, the two adc's are
    for the "paddle" part of it. I actually built a sort of an analog joystick
    (star wars style) for the C64 / atari some time in the mid 80's. It worked
    okay.

    The joystick is an 8-position joystick, so when you're going left, you're
    turning on one 'switch', when you're going up, you're turning on another,
    when you're going up/left, you're turning on both. All you'd need to do to
    read this joystick would be look at the switch states. I think it's just a
    matter of grounding the common ground to the pin, which on the BS2 would
    just be a matter of building a voltage divider between ground and the
    open/closed pin.

    Reading the 'paddle' (ADC) part of it might be more tricky, you'd probably
    have to use RCtime.

    Good luck. Shouldn't be hard.

    On Fri, 16 Jul 2004, Chris Savage wrote:

    > --- In basicstamps@yahoogroups.com, "fur_princess"
    > <fur_princess@y...> wrote:
    > > any place to search for schematics on wiring a 9 pin joystick from
    > the 80's to a Basic
    > > stamp ll ?
    > > rouww
    >
    > You could Google for "atari joystick pinout". I found several hits
    > doing that, but if memory serves, they were simply a common line
    > that connected alternately to one of four outer contacts. Two could
    > conduct if you moved it in a diagonal direction.
    >
    > Chris Savage
    > Knight Designs
    >
    >
    >
    >
    > To UNSUBSCRIBE, just send mail to:
    > basicstamps-unsubscribe@yahoogroups.com
    > from the same email address that you subscribed. Text in the Subject and Body of the message will be ignored.
    >
    > Yahoo! Groups Links
    >
    >
    >
    >
    >
    >

    Sean T. Lamont, Director Of Engineering
    Innovative Communications Technologies, Inc. http://www.ict.net
    email: lamont@a... / sean@i...
    "Do not fear mistakes, There Are None" - Miles Davis
Sign In or Register to comment.