Go to Post ... you know you are a nerd when you want safety glasses for your birthday! :P - Ashley Christine [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 09-10-2009, 12:24
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Using Pneumatics with the CRIO?

Hi guys!

Team 1771 is making a t-shirt shooter robot with our spare CRIO, and using pneumatics.

I searched through the usfirst.org documents about pneumatics, but most of that was hardware for setting up the valves and tubes, etc, and the control stuff was for the IFI boards.

What I am really looking for is how I need to hook up all the stuff to the CRIO and the IO Board.

So far I have been able to set up a Spike to turn the compressor on and off, but that is it. I don't know how to hook up anything else, such as reading the pressure, and flipping the switches electronically.

Thanks!

PS- Didn't know if this should go under Pneumatics, FRC Control System, or Electronics. :/
Reply With Quote
  #2   Spotlight this post!  
Unread 09-10-2009, 13:31
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Using Pneumatics with the CRIO?

Open LabVIEW and look at the examples, specifically the 'Solenoid with Compressor' one. It shows the complete layout, including compressor, pressure switch and solenoid.
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
Reply With Quote
  #3   Spotlight this post!  
Unread 09-10-2009, 14:44
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Using Pneumatics with the CRIO?

Ah, I use Windriver C++, not LabView. >_<

My main question though is what wires are needed to be attached to the cRIO pneumatics bumper? And which go to the IO Board instead?

I know we hooked up the Spike to the IO Board to turn the compressor on and off.
We also have a little thingie (don't know the name. >_>) that measures the pressure digitally. Will this be attached to the Pneumatics Bumper?
Reply With Quote
  #4   Spotlight this post!  
Unread 09-10-2009, 14:56
Jon236's Avatar
Jon236 Jon236 is offline
Registered User
AKA: Jon Mittelman
FRC #2648 (Infinite Loop)
Team Role: Mentor
 
Join Date: Jan 2004
Rookie Year: 2000
Location: Windsor, Maine
Posts: 741
Jon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond reputeJon236 has a reputation beyond repute
Re: Using Pneumatics with the CRIO?

Open this schematic http://usfirst.org/uploadedFiles/Data_2009_A.pdf and you will get your answers!
__________________
Jon Mittelman

Senior Judge Advisor New England & Israel 2014-2015
Infinite Loop Mentor 2011-2015
TechnoTicks Mentor 2000-2011
Championship Chairman's Award 2009 Team236 TechnoTicks
Judge 2010-2015 Championships
Senior Judge Advisor New England District Championship 2014-2015
Judge Advisor Tel Aviv Regional 2007-2015
Judge Advisor Pine Tree Regional 2013
Maine Regional Planning Committee
New England District Planning Committee
Lead Inspector Microsoft Tel Aviv Regional 2006-2008
Judge & Lead Inspector GM/Technion Tel Aviv Regional 2006
Judge UTC Hartford Regional 2006
Reply With Quote
  #5   Spotlight this post!  
Unread 09-10-2009, 15:10
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Using Pneumatics with the CRIO?

AH, okay thanks.

I must have been looking in the wrong section.
Reply With Quote
  #6   Spotlight this post!  
Unread 09-10-2009, 16:36
Alan Anderson's Avatar
Alan Anderson Alan Anderson is offline
Software Architect
FRC #0045 (TechnoKats)
Team Role: Mentor
 
Join Date: Feb 2004
Rookie Year: 2004
Location: Kokomo, Indiana
Posts: 9,112
Alan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond reputeAlan Anderson has a reputation beyond repute
Re: Using Pneumatics with the CRIO?

Look at the WPIlib documentation for the Compressor class. It tells you what methods to call in order for the program to control the compressor properly. When you create your compressor object, you specify which relay output is connected to the Spike and which GPIO input is connected to the pressure switch. After the proper initialization, the relay is turned on automatically when the switch indicates low pressure.
Reply With Quote
  #7   Spotlight this post!  
Unread 09-10-2009, 18:55
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Using Pneumatics with the CRIO?

Okay, thanks.

I was looking at that, and have a few questions.

1) What is the GPIO?

2) I don't understand the difference between the Start() method and what I was previously doing. (I had it set so if the trigger is pulled, the Relay is set to be forward, powering the compressor) What does the Start() do? From what I saw in the code, it just sets enabled to be true, but it doesn't check the pressure constantly, does it?
Reply With Quote
  #8   Spotlight this post!  
Unread 09-10-2009, 21:30
Mark McLeod's Avatar
Mark McLeod Mark McLeod is offline
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,695
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Using Pneumatics with the CRIO?

GPIO = General Purpose Input/Output

That's just another name for the pins labeled "Digital I/O" on the Digital Sidecar.

Start() does indeed start a process that constantly checks the pressure switch digital input and turns the compressor spike on and off automatically.
You don't have to do the logic yourself (although you can if you really want to).
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle
Reply With Quote
  #9   Spotlight this post!  
Unread 09-10-2009, 22:09
nighterfighter nighterfighter is offline
1771 Alum, 1771 Mentor
AKA: Matt B
FRC #1771 (1771)
Team Role: Mentor
 
Join Date: Sep 2009
Rookie Year: 2007
Location: Suwanee/Kennesaw, GA
Posts: 835
nighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant futurenighterfighter has a brilliant future
Re: Using Pneumatics with the CRIO?

Okay, thanks!

That's always been one of my troubles in programming...I try to figure out everything, even if it is already written.

(One of my hardest things switching from C++ to Java in AP Comp Sci...everything is done for me! )

Thanks for the help guys, can't wait to get back to school and test it out.
Reply With Quote
  #10   Spotlight this post!  
Unread 18-10-2009, 22:59
RoboMaster's Avatar
RoboMaster RoboMaster is offline
Alum, former programmer&co-captain
FRC #2472 (The Centurions)
Team Role: Mentor
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Minnesota, Twin Cities
Posts: 268
RoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant futureRoboMaster has a brilliant future
Re: Using Pneumatics with the CRIO?

My team made a t-shirt launcher too! But we didn't incorporate the control system into it. We figured we'd fire it manually with a switch, give it its own air reservoir, and when we fire it we fill the reservoir back up with an air compressor with a large tank. It works pretty well, but we get a lot of "fluid loss" due to some small pipes here and there in our design. Therefore it doesn't shoot very far.

Here are the sites that we used extensively for inspiration, they are extremely helpful.
Burrito Blaster on Make:
Air Cannons on Crazy Builders.com

If you want to use a real sprinkler solenoid like in these examples, you can switch it using a spike and probably the solenoid breakout board. Make sure the voltages match up though. A spike will send out 12v of course, but I think the solenoid might only send out 9v. Whatever it is, make sure it fits within the range that will switch the sprinkler solenoid.
I would recommend using a sprinkler solenoid because they are bigger and therefore can let more air out faster. The FRC solenoids have small passageways and are not meant for fast air output.

Hope that helps!
__________________
My engineering blog: noeticbrainwaves.blogspot.com

I'm not slacking, my code's compiling
...and I'm using LabVIEW
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using the cRIO to control custom lights hal_2498 FRC Control System 14 10-04-2009 07:55
Using Sockets with the cRio in Wind River C222 C/C++ 15 17-02-2009 14:10
Using Standard Labview with cRIO writchie FRC Control System 2 23-01-2009 13:44
Students build SEGWAY in 3 months using Labview and the cRIO neutrino15 Programming 31 27-04-2008 22:08
What to do with pneumatics in the off-season Gary Bonner Pneumatics 8 30-04-2006 18:29


All times are GMT -5. The time now is 19:05.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi