|
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.
|