Thread: Air Compressor
View Single Post
  #2   Spotlight this post!  
Unread 10-04-2011, 21:17
ATannahill ATannahill is offline
Registered User
AKA: Alex Tannahill
no team
 
Join Date: Feb 2008
Rookie Year: 2008
Location: Southfield, Michigan
Posts: 3,258
ATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond reputeATannahill has a reputation beyond repute
Re: Air Compressor

I can help you with theory but I will not be a big help with code.

For your robot, it is usually best to run a solenoild off the relay board in port 8 of the cRio. This board has two pins on each port. They are usually off (both set to ground). When it is switched on, one (I don't know which) is set to 12/24 volts and the other is ground. Therefore the circuit is completed and the solenoid is triggered. This might be as you understand it, I am just trying to clarify.

Gyros and accelerometers are not controlled by a relay. They should be hooked to the analogue input board in slot 1 or 2 of your cRio.
__________________

- Arizona North

Last edited by ATannahill : 10-04-2011 at 21:20.
Reply With Quote