To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.trainsOpen lugnet.trains in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Trains / 5714
5713  |  5715
Subject: 
Re: automating switching rails
Newsgroups: 
lugnet.trains
Date: 
Fri, 28 Apr 2000 15:06:19 GMT
Viewed: 
977 times
  
In lugnet.trains, Scott Arthur writes:

Does the train trip the RCX? If so, how?

Scott A


Scott -

Surely I left out a lot of detail regarding the RCX!
The RCX is running the train around a circuit in a loop, with inputs from • touch
and light sensors to determine train passage and location.  Randomized • counters
keep the program from repeating at a predictable point, so it's cool to just
sit back and watch the RCX control a train around a loop, throw a switch, • back
into a siding, pick up a car, bring it out, repeat, and drop the car off on
another siding.  I've really got to get more details about this on the
website...ah, time...

Ed

OK. You've got my attention now. I'm very interested. How does the train trip
the touch sensor? (Please don't say it rams into it).

Scott A

;^)

OK - I won't say it!
Slam-o-rama, but it's not as bad as it sounds.  The RCX ramps down the engine
speed when it's backing down a siding, until it clicks on a car and bumps into
a buffer that's got a touch sensor embedded within.  I tried mounting the touch
sensor in parallel to the track so it could trip it as it brushed by, but it
didn't look like a railyard type of instrument.  You expect a buffer at the end
of a siding, so why not make it smart with a touch sensor?  The car that the
engine picks up is already touching the buffer, so a gentle nudge is all it
takes.  After the touch sensor sends an binary change of state back to the RCX,
The RCX stops the engine, pause a bit (gives the LEGO train figs time to reset
the brakes), and ramp up the output to the track from the RCX to have the
engine and car pull out from the siding and onto the main line again...

I'll spend some time on this this weekend and post more details, pictures, RCX
code, whatever I can.

Thanks,
Ed



Message has 1 Reply:
  Re: automating switching rails
 
(...) touch (...) end (...) RCX, (...) reset (...) I've posted a listing of the RCX program I use to control a 9v train around a closed loop. It's an example of what's possible, but it's simplified. I left out the uncoupler logic and hardware for (...) (25 years ago, 1-May-00, to lugnet.trains)  

Message is in Reply To:
  Re: automating switching rails
 
(...) touch (...) counters (...) OK. You've got my attention now. I'm very interested. How does the train trip the touch sensor? (Please don't say it rams into it). Scott A (25 years ago, 28-Apr-00, to lugnet.trains)

13 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR