View Single Post
  #4   Spotlight this post!  
Unread 16-01-2007, 14:34
d.courtney's Avatar
d.courtney d.courtney is offline
Registered User
AKA: David
FRC #0781 (Kinetic Knights)
Team Role: Alumni
 
Join Date: Jan 2005
Rookie Year: 2003
Location: Kincardine, Ontario
Posts: 196
d.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud ofd.courtney has much to be proud of
Re: Question Concerning Operator Interface Inputs

Quote:
Originally Posted by Alan Anderson View Post
The OI is designed to accept two kinds of inputs. One is a variable resistor from ~2K to ~100K ohms; that's what the joysticks are. The other is a contact closure to ground; that's what the buttons are. You can provide a voltage between 0 and +5 volts on the joystick input pin and have it work.

There is absolutely no programming involved in connecting things to the OI. It is what it is, and we can't change how it works.

For a rotation input, a simple potentiometer will work. If the control needs to spin continuously, use a pot without an end stop. There is some programming you can do here, to accommodate the sudden jump from one end of the scale as the potentiometer wraps around. If your rotation rate is slow enough, you might be able to get away with using a quadrature sensor and a pair of digital inputs, but I wouldn't count on it.
The pot switch I did think of and it likely would work, I was just wondering if there was anything out there that is infinite, and just returned a +/- degrees of rotations just add the value to an int, that way I could know say if the switch had been turned 720 degrees and have a different effect then if it was turned 360 degrees.

Quote:
Originally Posted by Rickertsen2 View Post
you could have a potentiometer and possibly a gyro if it has the proper output but an encoder would be difficult. What exactly are you trying to do?
Its purpose would be to aid the driver with controlling an attachment, if we end up going with one of our ideas we are considering.
__________________

Last edited by d.courtney : 16-01-2007 at 14:41.