Shop OBEX P1 Docs P2 Docs Learn Events
HID Joystick Interface — Parallax Forums

HID Joystick Interface

Jimmy_RuJimmy_Ru Posts: 8
edited 2010-02-07 01:30 in Propeller 1
Hello Good Folks,

I am noob to hardware interfaces and embedded programming.
I would like to connect my Oldschool Logitech Wingman Extreme joystick to my prop to move servos.
Old school as in a a 15pin serial cable (with a USB A converter cable).

Can anyone point to material here or online on interfacing this to a prop?
I know the usb to serial connection hack;
however I would like to decipher the pins on the serial cable as fast as possible and have not found any info on a 15pin. Is there a standard format for the pin assignments that I should know of?

Thanks For Reading

James Rubino
ttp://www.linkedin.com/in/jimmyru

Pic Attached

Comments

  • tonyp12tonyp12 Posts: 1,951
    edited 2010-02-07 01:10
  • Jimmy_RuJimmy_Ru Posts: 8
    edited 2010-02-07 01:25
    Almost solved.
    For ease and reliability; is it better to interface from the USB convert cable or use the analog signals?
  • Mike GreenMike Green Posts: 23,101
    edited 2010-02-07 01:30
    You may notice that the Wikipedia article shows that this joystick provides several variable resistances. You need some kind of analog to digital conversion (ADC). You could use any of several 4 channel ADCs available (like the ADC0834) or you could use the Sigma-Delta ADC described in the Prop application note (AN001) or you could use the RCTIME routine in the BS2 Function object and use it like the RCTIME statement as described in the BASIC Stamp Syntax and Reference Manual.
Sign In or Register to comment.