Shop OBEX P1 Docs P2 Docs Learn Events
Wireless Joystick — Parallax Forums

Wireless Joystick

xanaduxanadu Posts: 3,347
edited 2012-05-20 19:57 in Robotics
I'm on chapter 7 of the Prop Ed kit now :)

For my 'lab' I decided to hack a joystick and connect to its potentiometers directly with the Propeller. Unfortunately, this joystick has horrible potentiometers! So the project is stopping right here...

Joystick - MS Thrustmaster (yellow and black wire for x/P15;green and blue wire for y/P14)
Joystick Code - http://dl.dropbox.com/u/79058769/joystick%20v3.spin (if you have comments on this code, I'm all ears:)
Robot Code - http://dl.dropbox.com/u/79058769/littlebot.spin
Schematic - Page 126 Propeller Education Kit - http://www.parallax.com/go/pekit

IMG_0836.JPG


[video=youtube_share;3OJNeLq2NlI]
784 x 588 - 234K

Comments

  • Duane DegnDuane Degn Posts: 10,588
    edited 2012-05-20 15:20
    xanadu wrote: »
    Unfortunately, this joystick has horrible potentiometers!

    How big are the pots?

    I'm hoping to make a magnetic encoder board small enough to take the place of a pot in a servo; maybe the PCB will be small enough to take the place of your pots.

    Besides mounting the encoder PCBs you'd also need to mount a magnet to whatever is rotating.
  • xanaduxanadu Posts: 3,347
    edited 2012-05-20 19:57
    They're small, like the ones inside the continuous rotation servos. It should work, I've been following your post on it and also looking for something like that for a long time.
Sign In or Register to comment.