![]() |
Question Concerning Operator Interface Inputs
So, I don't know to much about custom inputs to the OI, and I thought I would ask you guys before I did something terribly wrong. I want to know how (if its even possible) I would have a rotational sensor, encoder, or gyro, be an input for the OI, there were a few ideas I had this for. just wondering if it was possible given our OI or if I was wasting my time.
Thanks David Courtney edit: I realize this is in the programming section, not the control/OI section, thats because the question was mainly from a programming standpoint, ie what special programming would be required. |
Re: Question Concerning Operator Interface Inputs
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?
|
Re: Question Concerning Operator Interface Inputs
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. |
Re: Question Concerning Operator Interface Inputs
Quote:
Quote:
|
| All times are GMT -5. The time now is 01:21. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi