![]() |
How to work with pneumatics
Hey I'm starting to do pneumatics only I dont know how to start. How would you start to do something simple like turn the compressor on. We are using Windriver by the way. The compressor is connected to Digital sidecar relay 8 also.
|
Re: How to work with pneumatics
Have you looked at the compressor class?
|
Re: How to work with pneumatics
How do we use this compressor class?
|
Re: How to work with pneumatics
Code:
Compressor *compressor; |
Re: How to work with pneumatics
The short version is that there are classes (named objects) in the software packages we have been given. You just plug in the specifics (such as 'channel 8 of sidecar 0') and it works. I'm not a programmer, so I can't explain how it works. Magic, maybe. But it's pretty easy.
Turning the compressor on an off is only the start, of course. You turn it on while the pressure switch is "closed" and then turn it off when the switch is "open". The only other major thing you need to do is 'turn on this solenoid valve' when 'this' (usually a joystick button press) happens. You usually toggle the valve on or off depending on what condition it had last. |
Re: How to work with pneumatics
What? I just made a solenoid object and literally just turned on or off the solenoid that was controlling the compressor, it worked great.
|
Re: How to work with pneumatics
Quote:
|
Re: How to work with pneumatics
Quote:
|
Re: How to work with pneumatics
1 Attachment(s)
Never mind, got the compressor to start but now we need to get the compressor to stop. How do you make it stop at 60 psi?
|
Re: How to work with pneumatics
Quote:
To turn the compressor off when it reaches a different PSI, you either need a pressure switch that changes state at 60 PSI or you need a Pressure Transducer, which applies resistance depending on the pressure. |
Re: How to work with pneumatics
Quote:
Code:
RobotDemo(void):Also, why do you have 2 different robotDrives running with the same inputs? You can list 4 jaguars in the initializer of a single robotDrive and it will output to two motors per side. |
| All times are GMT -5. The time now is 12:21. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi