View Single Post
  #2   Spotlight this post!  
Unread 03-02-2011, 09:38
tonystark_23's Avatar
tonystark_23 tonystark_23 is offline
Registered User
FRC #2975
 
Join Date: Dec 2010
Location: Baton Rouge, LA
Posts: 32
tonystark_23 is an unknown quantity at this point
Re: Pistons only halfway up

Hi, I am not an expert on the situation, but i have mentored a team that did multi position pneumatic cylinders. (pistons). Bimba sells pistons with magnetic switches attached to the outside. The way this works is that the "plunger" in the cylinder has a magnetic tip. The magnetic switches on the outside of the cylinder detect when the plunger passes and return a value 0 or 1. You can use this value to write code that turns on the solenoid and then turns it off when it reaches the appropriate switch position.