Compressor Startup

How do we get the compressor to start up? its all connected through a spike to the fourth relay output, the spike it getting power but it is not turning on. please help.

Do you have the pressure switch plugged in to the OI?

Also the bot should be tethered.

If using MPLAB the default IFI code assumes the pressure sensor is in Digital Input 18 and the compressor spike is on Relay 8.

If you’re using something else just let us know what it is.

You need to program it and install the pressure switch for it to work and be legal.

Program using this code and plugging the spike into relay port 8 and the pressure switch into Digital IO 18, or you can change it.


relay8_fwd != rc_dig_in18;
relay8_rev = 0;

Make sure you have the PWM cable fully inserted into the SPIKE as well.

No, but where gonna do that right now rq, The bot should be tethered? what do you mean?

First of all you need to program it as said above. Second of all you need to connect the red tether cable from the Robot Controller (RC) (from ‘tether’ connection) to the Operator Interface (OI) (to the ‘tether’ connection).
Now, when you switch the power on (the RC is connected to the circuit and gets power), it’ll start working. It will reach 115 PSI and the pressure switch will turn its boolean position. This will make the program to stop the compressor until the pressure gets under 95 PSI.
Be sure to connect the pressure switch with a PWM cable to a digital input on the RC.

The tether cable replaces the radio link, for testing purposes. It lets the OI talk directly to the RC. It’s a good idea to have the robot sitting on something besides it’s wheels when using the tether cable, too.

The switch should be connected to the black (ground) and white (signal) wires of the cable. Do not connect anything to the red (power) wire, and it would be best to put some electrical tape over the cut end of that wire to prevent it from accidentally contacting anything.