Shop OBEX P1 Docs P2 Docs Learn Events
Input from a Joy Stick.... — Parallax Forums

Input from a Joy Stick....

JKL TechJKL Tech Posts: 13
edited 2006-02-14 21:14 in Robotics
We have figured out that joysticks use electromagnets and magnets to detect which way the stick is moved.
The X and Y Axis have a pointometer that can manually adjust the sensitivity.

When you connect a supply from about 6+ volts to the center pin, then the left pin to a DC m. amp meter, then
to ground, it can detect movements under the folowing conditions: WHEN MOVE LEFT; VOLTAGE/AMP INCREASES
WHEN MOVE RIGHT; VOLTAGE/AMP DECREASES.

Is there some way to detect these drops and rises in voltage/amperage using a Basic Stamp?
We tried a 1.0 uf compacitor, but it was no use. However, this information may be of some help:

Computer's joystick input directs it to compacitors on the mother board. When a program requests
joystick information, BIOS reads the charge in the compacitors, and returns it as a decimal

Signed: JKL Tech, Incorperated

P.S. Chceck the Scematic we are using and check for errors, or just make a new one.

Comments

  • Chris SavageChris Savage Parallax Engineering Posts: 14,406
    edited 2006-02-12 01:14
    You should list the specific joystick you are referring to, since I have never seen such a joystick and your post makes it appear that all joysticks work this way.· In fact most analog joysticks have X-Y·POTS in them.· Most digital joysticks simply have carbon pads or snap-contacts, like the old Atari Joysticks.· Many arcade joysticks (digital) use micro switches (Cherry).

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Chris Savage
    Parallax Tech Support
    csavage@parallax.com
  • JKL TechJKL Tech Posts: 13
    edited 2006-02-12 01:16
    We are using an Analog Flight Stick, made by CH Products (970 Park Ctr. Dr.
    VISTA, CA 92083)
  • Bruce BatesBruce Bates Posts: 3,045
    edited 2006-02-12 04:51
    JKL tech -

    It's possible that the joystick in question is using a Hall Effect principle. In the OEM Section on the CH Products web site, they do show various Hall effect joysticks for sale.

    I sure hope you're not hacking a $90.00 USB joystick for use with a Stamp. There are numerous other joysticks which will work equally well, at 20% of that price or less. They may not be as "pretty" however, and they'll NEVER work on USB.

    Regards,

    Bruce Bates

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    <!--StartFragment -->
  • JKL TechJKL Tech Posts: 13
    edited 2006-02-14 21:14
    "I sure hope you're not hacking a $90.00 USB joystick for use with a Stamp" - Bruce Bates

    No, infact. We are using one a friend scavenged out of a yard sale for $2.00. The things you can find there!
    We do not intened to operate it via Universal Serial Bus...Actually any communication type you can imagine.
    We have found that by connecting it to a relay we can have it control a lighbulb's on and off. Now we just need
    source code.
Sign In or Register to comment.