To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.nxtOpen lugnet.robotics.nxt in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / NXT / 677
676  |  678
Subject: 
Controlling trains with NXT?
Newsgroups: 
lugnet.trains, lugnet.robotics.nxt
Date: 
Sat, 21 Apr 2007 18:30:56 GMT
Viewed: 
8234 times
  
As some of you are probably aware, there are people who use DCC controls that
allow them to operate two trains independantly on the same stretch of track.
This system, however, requires that you hack open motor bogeys to install the
DCC control system, and as such it is sometimes frowned upon as not being 100%
original parts.

So, what I'm wondering is, if you set up a short section of insulated track, how
feasible would it be to use an NXT with a Li-Ion battery pack and AC adapter to
delay a train that's moving too fast?  See, what I'm thinking is, if you run two
trains on that section of track, you could set up some sort of sensor on the
insulated section (ultrasonic or light seems best, as a touch sensor might not
work as well on some train designs), and use one of those NXT-to-9V wire
converters to plug into the train leads.  Then when the train hits the insulated
track, it'll stall out and the NXT sensor will register that it has arrived.
The NXT would then have to calculate how long it will take for that train to
complete another circuit and whether it will catch up with the other train.
Once it has done that, it will need to either let it pass through immediately
(if it's the slower train), or delay it long enough that it won't run into the
other train before it gets back to the NXT.  Theoretically, the only way a fast
train should be able to ram a slow train is if the fast train can do a complete
pass while the slow train is still transferring through the insulated zone.
Setting up another NXT-insulator on the other side of the loop would fix this,
though, and even allow the two of them to share data.

Anyways, it's an idea I had, but since I'm unlikely to ever do anything with it
(I own neither trains nor track, so it'd all have to be theoretical for me), I
thought I'd toss it out there in case anyone else would care to run with it.
Also, the same concept should work equally well on Monorail, with an NXT motor
just being set up to directly control one of the reversing switches.



Message has 1 Reply:
  Re: Controlling trains with NXT?
 
(...) Block control was fairly common on model train layouts before DCC and other digital solutions became available. If you do a google search for "block control" you should find a few references. Yours is a variant of that. It works, but as you (...) (17 years ago, 22-Apr-07, to lugnet.trains, lugnet.robotics.nxt)

3 Messages in This Thread:

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

Custom Search

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