To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.org.ca.rtltorontoOpen lugnet.org.ca.rtltoronto in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Organizations / Canada / rtlToronto / 16226
16225  |  16227
Subject: 
Re: K, haven't had this much LEGO fun in a while...
Newsgroups: 
lugnet.org.ca.rtltoronto
Date: 
Tue, 13 Jun 2006 20:20:07 GMT
Viewed: 
1027 times
  
In lugnet.org.ca.rtltoronto, Brian Davis wrote:
In lugnet.org.ca.rtltoronto, David Koudys wrote:

I also plan on somehow getting an entry and exit point such
that this big layout can connect to external GBCs (maybe)

   I've been playiong with that as well. The GBC trains that Steve & I have used
have a small 8-wide section under the baseplate, made out of 2x2 cylinders.

I saw pics--you guys are my inspiration!  I put the 2x2 rounds on my hopper cars
so I could tell where they are.  But now, with the re-engineering of the layout,
I'm finding I'm not using them (yet).

That
way they mechanically toggle sensors (or in some cases power sources) at the
loading/unloading stations. I worked out a sensor (light+touch, so it only uses
one RCX input port) that detects any passing train as well as signialing if it
is a GBC train. The idea was I could run the GBC train into a "normal" layout,
sharing a track with a "normal" train... but being switched out to a GBC siding.
I prototyped it with two trains and a single loop with a siding, and it worked
for a couple of hours without faulting. I just have to re-do my
loading/unloading stations and software.

http://home.surewest.net/markril/lego/dcc/beta.html

   Thank you! So it uses a standard LDCC RCX and just talks from a "normal" RCX
to it via IR? I keep hoping for an "extended" firmware, that can support normal
NQC programs as well as handle LDCC style output. That way I can use the full
automation ability of the RCX, and control lots and lots of trains/accessories.


I think we were both in on that conversation before--NQC and LDCC on the same
brick is probably not going to happen due the physical limitations of the RCX.
However, this IR thing is the next best thing--especially since we get the best
of both--one LDCC RCX with all outputs dedicated to running the train layout and
any DCC motors/lights connected, and another separate RCX running NQC (or any
other firmware) with 3 motor outputs/sensor inputs to use as you please that
communicates to the LDCC brick--I'm amazed how well it works

The only thing I've found is that you have to be very careful transmitting
messages--since I have 3 loops and a few other things, I have 3 (or more)
different tasks runing in NQC.  If two tasks are transmitting LDCC command
functions  at the exact same time (which may happen), only one gets picked up by
the LDCC RCX.

The cheap and dirty fix that I implemented in my programming is that, any time
there's a transmission that needs to be sent, my NQC program transmits twice,
with a random Wait between the two transmissions.  I had iit running for 2+
hours last night and not one failed transmission.

Of course, as I work on what I want the layout to do, there'll be exponentially
more transmissions and complexity, but we're taking it one step at a time :)

   I've been thinking about this with the NXT as well... OK, *I* can't do it,
but I can suggest the idea to those who can. Since the NXT can drive
higher-powered motors, it might be able to pump out more current... as well as
having an actual LCD screen to work a user interface on.


That would be extremely cool--'wasting' 3 motor outputs on one connection to the
layout would be good to eliminate.  Actually, I'm also using Mark's LACC
'booster' 'cause I'm finding that with 3 train motors and a few technic motors,
I'm not getting the power I want--so I separated the layout into two zones.  So
now I'm 'wasting' 6 motor outputs for one layout.

Dunno if it'll work with OSX.

   It sounds like it would - if it's just a series of standard NQC routines to
send the proper IR signals, it should be easily portable. Now the question is if
I should/can install LDCC on one RCX, and start hacking my motors.

I've done 4-5 train motors.  It gets easier.

Dave K



Message has 1 Reply:
  Re: K, haven't had this much LEGO fun in a while...
 
David Koudys wrote: snip (...) snip (...) Im not a programmer, nor do i play one on TV. but, why dont you have a "send signal" task, and have it que up the signals you want it to send. if thats to complex, use a "send signal" task to send, and have (...) (18 years ago, 14-Jun-06, to lugnet.org.ca.rtltoronto)

Message is in Reply To:
  Re: K, haven't had this much LEGO fun in a while...
 
(...) I've been playiong with that as well. The GBC trains that Steve & I have used have a small 8-wide section under the baseplate, made out of 2x2 cylinders. That way they mechanically toggle sensors (or in some cases power sources) at the (...) (18 years ago, 13-Jun-06, to lugnet.org.ca.rtltoronto)

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