View Single Post
  #3   Spotlight this post!  
Unread 05-02-2009, 14:00
intellec7's Avatar
intellec7 intellec7 is offline
108 programmer
AKA: Gustavo
FRC #0108 (SigmaC@ts)
Team Role: Programmer
 
Join Date: Sep 2005
Rookie Year: 2006
Location: Hollywood, Florida
Posts: 65
intellec7 is on a distinguished road
Send a message via AIM to intellec7 Send a message via MSN to intellec7
Re: How to program phneumatics?

Correct me if I'm wrong:

The pneumatic bumper has 8 outputs, so it can drive 4 solenoids. You basically have to program the pair of outputs connected to one solenoid to have opposite states. Say you have output 0 and 1 connected to a solenoid. Output 0 is connected to the solenoid and the solenoid is connected to the piston in such a way that when output 0 is on and 1 is off, the piston extends. In that case, when output 0 is off and 1 is on, the piston would retract.

There are a few examples in the examples/FRC folder that may help.
Reply With Quote