|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
| Thread Tools | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Pneumatic Programming
I am the programmer of the Unionville High School Robotics Team, Team 849.....
My engeneering leader wants me to program the pneumatics with relays....the pneumatic will have to go up, down, and be stationary.....according to my knowledge, relays can only send a '1' and a '0'....given that the relay can only send two options and i need to to send three, I believe it is impossible to program the pneumatic....... Am I tooo dumb to find a solution to this? or is it really impossible? what should I do? should I use the speed controllers instead??? will Last edited by Will Chan : 11-02-2003 at 20:14. |
|
#2
|
||||
|
||||
|
This is true, a relay can either be 1 or 0, but you have 2 directions. relayX_fwd and relayX_rev (or something like that in the default code) So, you actually have 4 states. 00,01,10,11. Assuming you are connected to a double solenoid you are going to have to wire up like is shown in section 3.2.3 of the robot manual, p11. Therefore the relay in forward
will trip one of the double solenoids and the relay in reverse will trip the other. Alternately, you can connect the black wires from the double solenoids directly to ground on the terminal block. And connect the two red wires to the spike directly, one to M+, the other to M-, which avoids the use of diodes. The code is the same in either case. Just don't turn both forward and reverse on. |
|
#3
|
|||
|
|||
|
will chan
thx for the info
will |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming Compatition | Angela06 | Programming | 30 | 08-04-2005 23:12 |
| What is your most prefered programming language? | Hailfire | Programming | 156 | 19-01-2005 21:42 |
| Pneumatics electrical wiring and programming | archiver | 2001 | 1 | 23-06-2002 23:10 |
| Error found in programming for the pump and pressure switch | sjharobotics | Programming | 4 | 06-02-2002 17:46 |
| pbasic programming | punarhero | Programming | 4 | 21-01-2002 23:32 |