![]() |
Re: Using Switches on the Operator Interface
Well, I plan on having a driver and a switch-pushing person. But the system is very intuitive I think
Switch 1 - Conveyor belt on/off Switch 2 - Conveyor belt forward/backward. If Switch 1 is open, Switch 2 does nothing and conveyor belt does not move. Switch 3 and 4 - create a 0-3 number for setting autonomous mode. Set before match. |
Re: Using Switches on the Operator Interface
Quote:
Here are some pictures of the switches I'm refering to: ![]() |
Re: Using Switches on the Operator Interface
If I use a three way switch, I even have one right now, how would I wire it?
|
Re: Using Switches on the Operator Interface
Quote:
Example: Code:
/-\ |
Re: Using Switches on the Operator Interface
Awesome. Thanks, I'll try that.
|
Re: Using Switches on the Operator Interface
Oh, and if I have multiple switches that I want to wire to the same port, how do I do that? I know it is theoretically possible to wire up to eight switches each to ports 3 and 4, but how would I do that? Each port only has 2 or 3 ground pins. Can I wire the ground to several switches to the same pin? If so, is this advisable?
|
Re: Using Switches on the Operator Interface
Cronos,
You can have a common groung that attaches (daisey chain) to each switch and returns to only one pin in the connector for that port. There is very little current in this circuitry. And now for something completely different...If you have the need to select just one of a multiple of chioces, you can use a rotary switch to selectively short out resistors in a string. Wire the string as you would a pot and return it to an analog input. We have used this method in the past for a autonomous mode selector that could be set for one of eleven different auto modes. |
Re: Using Switches on the Operator Interface
Quote:
|
Re: Using Switches on the Operator Interface
Quote:
|
Re: Using Switches on the Operator Interface
Quote:
|
Re: Using Switches on the Operator Interface
How would I go about wiring a light to the OI so that it turns on when a certain condition is met?
|
Re: Using Switches on the Operator Interface
Well, that I can answer. The operator interface receives feedback from the robot controller, and this input can be used to determine which lights on the operator interface to light up. If you look on the operator interface, the entire third column of lights - the robot feedback section - can light up upon command from your operator interface. To do this, you must change some variables when whatever condition you want is met in the code. For the name of the variables, look at the default code, the IFI programming manual, or the OI reference guide. I don't remember the names right now.
To wire something like a light bulb for external display, I don't really think you can. The operator interface only accepts input through all of its ports, except for the radio output. There is one good alternative to something like a light bulb, though. You can use the dashboard port to connect the OI to your computer, and you can light up something on your computer screen. |
Re: Using Switches on the Operator Interface
Quote:
sorry, you're wrong. pins 5, 8, 9, and 15 on ports 1 & 3 are LED outputs. They are the same as the PWM and Relay lights on the OI. all this can be found in the oi ref guide. |
Re: Using Switches on the Operator Interface
Well, yes, I meant specifically an electronic part that isn't usually there, such as a lightbulb. You can wire external LEDs. I don't know whether you could use the LED outputs to wire your own lights. Tell me if you think it's possible, it would be cool to do that.
|
Re: Using Switches on the Operator Interface
nope, not possible. not enough power comes out of the joystick port for anything but an LED. we had the same idea a few days ago, and it didn't work.
|
| All times are GMT -5. The time now is 20:29. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi