Thread: Air Compressor
View Single Post
  #3   Spotlight this post!  
Unread 10-04-2011, 21:58
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: Air Compressor

I'm not sure what you're talking about, but it isn't a solenoid.

In FRC, the word "solenoid" usually refers to a pneumatic solenoid valve. It takes an electrical signal, either from a Spike relay module or from the cRIO's solenoid breakout, and controls the flow of pressurized air to a pneumatic cylinder. They are most often used simply to extend or retract the cylinder.

Gyros are sensors; the ones from the Kit of Parts connect to an analog breakout on the cRIO. Accelerometers are also sensors; some are analog similar to the gyro, and others use a structured digital communication protocol like IIC or SPI. The air compressor is turned on and off using a Spike relay module, under the control of a pressure switch which is connected to a Digital Input.

In order to properly explain how to program something, I need to know what that something is. Tell me what kind of mechanism you want to control, and I can tell you an appropriate way to control it.
Reply With Quote