|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
||||
|
||||
|
Ok i must not be seing something right, i need to hook more then 2 switches to ports 3 and 4, so far thats all i can figure out how to do. Would i use the Y-cable (that is described in the oi ref guide on IFI) to make it possable to hook 4 switches to that port? or what? Help Please!!! thanks!
|
|
#2
|
|||||
|
|||||
|
Re: OI Port Y-Cable and switch hook up!?
Quote:
Code:
p3_sw_trig;//switch 1 p3_sw_top;//switch 2 p3_sw_aux1;//switch 3 p3_sw_aux2;//switch 4 |
|
#3
|
||||
|
||||
|
well the switches we have are on-off-on switches and we need 3 of them then an on-off-on momentary then just 2 on-off switches. And on the pinout sheet it shows that p3-aux 1 is relay fwd and p3-aux 2 is relay rev, so how can i connect all my switches to the ports when all there is is just 2 relay fwd and 2 relay rev to each port?
|
|
#4
|
|||||
|
|||||
|
Re: OI Port Y-Cable and switch hook up!?
Quote:
You can get 2 of the center-off switches hooked up to port 3, the other on off hooked up to port 4, and the two on-off switches onto the two pins left on port 4. Code:
Port 3 on-off-on | | | pin pin pin 2 4 7 trig top on-off-on | | | pin pin pin 10 12 14 aux1 aux2 Code:
Port 4 on-off-on | | | pin pin pin 2 4 7 trig top on-off | | pin pin 10 12 aux1 on-off | | pin pin 14 12 aux2 Last edited by DanDon : 13-02-2006 at 22:11. |
|
#5
|
||||
|
||||
|
Re: OI Port Y-Cable and switch hook up!?
well thats not exactly it, i have 4 on-off-on switches (one of them is a momentary switch) and 2 on-off switches. at the moment i have the 4 on-off-on switches hooked up as top-trig and aux 1&2 on p3 and p4, i have no idea where to put the 2 on-off switches
|
|
#6
|
|||||
|
|||||
|
Re: OI Port Y-Cable and switch hook up!?
Quote:
|
|
#7
|
||||
|
||||
|
Re: OI Port Y-Cable and switch hook up!?
yeah
|
|
#8
|
|||||
|
|||||
|
Re: OI Port Y-Cable and switch hook up!?
What about using something like a potentiometer and hooking it up to an analog input on one of the joystick ports? Maybe devide the pot's range into a three steps, one step for on in one direction, one for off, and one for on in the other direction?
Or if you're not using all the buttons on your drive joysticks, then use pins 5, 8, 9, and 15 on port 4 which correspong to port 1 trig, top, aux1, and aux2. |
|
#9
|
||||
|
||||
|
Re: OI Port Y-Cable and switch hook up!?
Just open the sticks and cut the wires to 2 buttons and splice it with my switches and just use the joystick as a host for it?
|
|
#10
|
|||||
|
|||||
|
Re: OI Port Y-Cable and switch hook up!?
Quote:
Code:
pin 5 - same as OI Port 1 Joystick Trigger Switch - p1_sw_trig pin 8 - same as OI Port 1 Joystick Thumb Switch - p1_sw_top pin 9 - same as OI Port 1 Aux Switch1 - p1_sw_aux1 pin 15 - same as OI Port 1 Aux Switch2 - p1_sw_aux2 |
|
#11
|
|||||
|
|||||
|
Re: OI Port Y-Cable and switch hook up!?
Quote:
Connect the switches and some resistors in the following magical arrangement on port 3: Code:
pin 1 ----+---- switch 1 ----+---- /\/\/\/ ----+---- /\/\/\/ ---- pin 11
| | 20 k | 33 k
+---- /\/\/\/ -----+---- switch 2 ---|
10 k
|
|
#12
|
||||
|
||||
|
Re: OI Port Y-Cable and switch hook up!?
I get it now, all i have to do is just wire p4 as i did to it b4 but with those ports as the positive connections on my switches and just solder the gnd to pin 4 or 12
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help: cannot get the picture in the labVIEW program .. (was: need help!! quickly!) | liad | LabView and Data Acquisition | 8 | 18-01-2006 12:20 |
| PRESSURE SWITCH | Mr. Steve | Pneumatics | 20 | 01-12-2005 10:20 |
| Pressure Switch wiring diagram | robotjoe | Electrical | 1 | 08-02-2005 14:01 |
| 2 questions about LAN (10/100) cable. | Elgin Clock | IT / Communications | 19 | 16-11-2004 12:04 |
| Digital Inputs interfering with each other | Bongle | Programming | 8 | 23-02-2004 11:18 |