Subject:
|
Re: Who here remembers...
|
Newsgroups:
|
lugnet.org.ca.rtltoronto
|
Date:
|
Wed, 4 Dec 2002 15:30:17 GMT
|
Viewed:
|
1293 times
|
| |
![Post a public reply to this message](/news/icon-reply.gif) | |
In lugnet.org.ca.rtltoronto, Rob Stehlik writes:
<snip>
> I never stopped the valve in its center position. The touch sensor was used
> as a reference point halfway through the stroke. The code went something
> like this:
> OnFwd(pneu_motor);
> until(pneu_sensor == 1);
> Wait(switch_time);
> Off(pneumotor);
> Since the valves are operated via cranks, this code works for both opening
> and closing a given valve. To control the other one, just reverse the motor.
> Another reason I had the touch sensors in the middle was so I could hook up
> a light sensor on the same port.
>
> > Thanks again for the inspration and help, Rob!
>
> No Problem!
> Rob
Hey Rob,
Since the old Technic 24t gear has full rotation off the differential,
And since the valve can be pushed back and forth by said technic gear,
And since the touch sensor is dead center of the valve stroke,
How did the program know which way the valve was going to be thrown by the
gear? I mean, how did the program know if the valve was going to be pulled
to the left or pushed to the right?
Or did you just set up the valve at the beginning the same way every time
and the program took it from there?
Just wondering.
Dave K
|
|
Message is in Reply To:
![](/news/x.gif) | | Re: Who here remembers...
|
| (...) I look forward to seeing the pictures. I have never understood ASCII art :) (...) Sounds like a definite improvement! I found that if the battery boxes are switched on the wrong way, there is no harm done, but instead of 18v you get almost 0v (...) (22 years ago, 28-Nov-02, to lugnet.org.ca.rtltoronto)
|
34 Messages in This Thread: ![Who here remembers... -David Koudys (26-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -Chris Magno (27-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/246.gif) ![Re: Who here remembers... -David Koudys (27-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Who here remembers... -David Koudys (27-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/246.gif) ![18 V Converter--was Re: Who here remembers... -David Koudys (28-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/246.gif) ![Re: 18 V Converter--was Re: Who here remembers... -Jeff Elliott (28-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: 18 V Converter--was Re: Who here remembers... -David Koudys (28-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Who here remembers... -Rob Stehlik (28-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/246.gif) ![Re: Who here remembers... -David Koudys (28-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -Rob Stehlik (28-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![You are here](/news/here.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Who here remembers... -Chris Magno (29-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/246.gif) ![Re: Who here remembers... -Iain Hendry (29-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/246.gif) ![Re: Who here remembers... -Iain Hendry (29-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -David Koudys (29-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -Iain Hendry (29-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Who here remembers... -Chris Magno (30-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -Calum Tsang (2-Dec-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -Chris Magno (3-Dec-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -Bruce Sheridan (3-Dec-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -Iain Hendry (3-Dec-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -Bruce Sheridan (3-Dec-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/246.gif) ![Re: Who here remembers... -Chris Magno (3-Dec-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -Bruce Sheridan (3-Dec-02 to lugnet.org.ca.rtltoronto)](/news/x.gif)
![](/news/x.gif) ![](/news/28.gif) ![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Who here remembers... -Iain Hendry (3-Dec-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -Bruce Sheridan (3-Dec-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... -Iain Hendry (3-Dec-02 to lugnet.org.ca.rtltoronto)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Who here remembers... Nothing -Steve Hassenplug (29-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/246.gif) ![Re: Who here remembers... Nothing -David Koudys (29-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/268.gif) ![Re: Who here remembers... Nothing -Rob Stehlik (29-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... Nothing -Benjamin Medinets (30-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... Nothing -Calum Tsang (30-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif) ![](/news/46.gif) ![Re: Who here remembers... Nothing -Chris Magno (30-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif)
![](/news/x.gif) ![](/news/x.gif) ![](/news/68.gif) ![Re: Who here remembers... Nothing -Calum Tsang (29-Nov-02 to lugnet.org.ca.rtltoronto)](/news/x.gif)
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|