View Single Post
  #4   Spotlight this post!  
Unread 24-01-2008, 11:01
Gary Dillard's Avatar Unsung FIRST Hero
Gary Dillard Gary Dillard is offline
Generator of Entropy
AKA: you know, the old bald guy
FRC #2973 (The Mad Rockers)
Team Role: Engineer
 
Join Date: Nov 2001
Rookie Year: 1998
Location: Huntsville, AL
Posts: 1,582
Gary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond reputeGary Dillard has a reputation beyond repute
Send a message via AIM to Gary Dillard
Re: Rigging The System...

You are correct - you will need to split a PWM cable to connect to the pressure switch. Cut off the male end of the cable and you will only need 2 of the wires (I think we used red and white, I'll have to look), secure them to the pressure switch using the 2 screws provided and then cover with electrical tape. Put the female end of the PWM cable into any one of the digital input ports - remember this is a switch much like a limit switch, which reads either open or closed. If you are using EasyC, there is a pressure switch command you can drag into the program, and you select whichever digital input port you used. (If you are using the default code I don't know which input it assumes, check the documentation).
__________________
Close enough to taste it, too far to reach it