RB15 Low
RB15 Low
TM
BRICK RAILROADING MAGAZINE
Inside:
More PF Trains to the Limit
An Accidental Gathering at
Brickworld Chicago
2014 LEGO City Set Reviews!
Instructions available on our
MTW-9001-pas CD
Instructions available on our
MTW-9001-pas CD
Render by Jeroen de Haan
RAILBRICKS.COM
3
ISSUE 15 - Summer 2014
In This Issue
All Aboard! ............................................. 4
Elroy Davis
Te Stadler Saga ..................................... 6
Dont Rab
Te D Layout .................................... 11
Phillip Marmorino
LEGO PF Trains to Te Limit ............ 16
J.A. Korten
Accidentally on Purpose ..................... 22
Tony Sava
Behind Te Scenes ............................... 24
Cale Leiphart
Review: 60050 Train Station .............. 27
Ronald Vallenduuk
Review: 60052 Cargo Train ................ 30
Jordan Schwarz
Review: 60051 Passenger Train ......... 35
Elroy Davis
Small Diesel Shunter ........................... 38
Tille Muovinen
RAILBRICKS.COM
4
ALL ABOARD!
The RAILBRICKS Team
Senior Editor:
Elroy Davis
Staf Editors and Writers:
Steve Barile
Benn Coifman
Tim David
Didier Enjary
Cale Leiphart
Larry Pieniazek
Colin Redner
Anthony Sava
Jordan Schwarz
Jeramy Spurgeon
David Stannard
Ronald Vallenduuk
Content Contributors:
J.A. Korten
Phillip Marmorino
Tille Muovinen
Dont Rab
Copy Editng/Proofng:
Steve Jackson
Cover Photo:
Jordan Schwarz
Copyright 2007-2014 RAILBRICKS
Permission is granted to copy, distribute and/
or modify this document under the terms of the
GNU Free Documentaton License, Version 1.2 or
any later version published by the Free Sofware
Foundaton; with no Invariant Sectons, no Front-
Cover Texts, and no Back-Cover Texts.
LEGO is a registered trademark of the
LEGO Company, which does not sponsor,
authorize or endorse this publication.
All other trademarks, service marks, and
copyrights are property of their respective
owners.
A I B
Instructons, Challenges,
and Tips & Tricks have
been categorized into the
following levels: Beginner Intermediate Advanced
Fify years ago, the famous
Linn Westcot wrote about
table heights in his edito-
rial for the June 1964 issue
of Model Railroader. He de-
scribed a layout in Connect-
cut that had its benchwork
only one foot of the foor. He
talked about layouts at eye-
level, waist level, and those
in between. His point was
that a change of positon, in
this case table-height, could
change the perspectve of the
viewer and builder.
In the past couple of years, my home LUG has experimented with using diferent table
heights for a couple of our public shows. The results were interestng. For us, the
builders, it ofered a new challenge; a new way to look at our designs. Track no longer
ft the comfortable fat geometry that it was designed for. Some of our locomotves,
we found, were not powerful enough for climbing grades, or, in some cases, too heavy
to descend a slope without picking up frightening amounts of speed. For the viewing
public, the simple change in elevatons made our layout seem larger than it had been
previously, even though our overall footprint hadnt changed. By raising a couple of
tables on one corner of our layout, our town was transformed into a mountain vil-
lage. Adults could see, eye level, along the streets, forcing them into a minifg view
of the adjacent buildings. On the opposite side of the layout where our tables were
at our standard waist level, adults had a birds-eye view of the train yard, giving them
an overview of the operatons area.
Our change of perspectve was not always good. We found that children had more
difculty viewing the entre layout. We had more trouble controlling our trains, at
least untl we learned some new tricks for slowing them down when necessary. Like
all changes, it took some efort, and it was an evolving process that we had to work
through. Even more interestng is that the next year, when we had fewer high ta-
bles, visitors were disappointed that our layout was not as big as last year. We had
inadvertently changed our visitors view of how big our layout was, though, again, we
had flled the same amount of foor space.
Over the past few months, Ive had several discussions with various LEGO train fans
about the changing perspectve of our hobby. Are layouts less important at large
events these days? Is the public less excited by what they see? Or is it the opposite?
Has our niche hobby become mainstream enough that people expect more? Does
the type of event change how our displays are viewed? Do we see ourselves as LEGO
fans who build trains, or train fans who build with LEGO? Our hobby is in a unique
positon in that we straddle two other hobbies. When displaying at train shows, we
get to show our love of The Brick. When displaying at LEGO conventons, we get to
show just how cool trains are.
My perspectve? Its a great place to be.
-Elroy
RAILBRICKS.COM
5
Who may submi t an arti cl e?
You!
Peopl e submi tti ng arti cl es do not need to be
professi onal l evel wri ters. RAI LBRI CKS i s a
magazi ne for fans, by fans. We wel come arti -
cl es f rom enthusi asts who bui l d, col l ect, and
pl ay wi th LEGO trai ns.
What sort of arti cl es may be submi tted?
We wel come how- to arti cl es, event reports,
bui l di ng i nstructi ons and more. i f you re not
sure i f your arti cl e or story woul d be a good
f i t, emai l the i dea to edi tor@rai l bri cks. com for
i nput.
How l ong shoul d arti cl es be?
I n general arti cl es shoul d be between 750 to
3, 000 words i n l ength, and i ncl ude any photo-
graphs or i mages that wi l l accompany the text.
Longer arti cl es may be publ i shed i n parts i n
fol l owi ng i ssues.
How shoul d arti cl es be prepared?
Arti cl es shoul d be typed i n ei ther a text docu-
ment or e- mai l , and shoul d use proper gram-
mar, punctuati on, and spel l i ng.
How shoul d i mages be prepared?
I mages shoul d be submi tted as separate at-
tachments. Hi gh resol uti on i mages of 300 DPI
are preferred as they wi l l reproduce better
than l ower resol uti on i mages.
How are arti cl es submi tted?
Compl eted arti cl es may be e- mai l ed to edi -
tor@rai l bri cks. com. The text of the arti cl e may
ei ther be i n the body of the e- mai l , or added
as a f i l e attachment.
Have an i dea for RAI LBRI CKS?
Submi t by August 8th, 2014 for i ncl usi on i n the next i ssue!
RAILBRICKS.COM
6
by Dont Rab
The
Stadler
Saga
History
The Hungarian State Railway (Magyar llamvasutak or
MV) bought 60 Stadler FLIRT (Fast Light Innovatve
Regional Train) electric motor units from the Stadler
railway vehicle manufacturer in 2006. Afer the frst red
FLIRTs had started operatng on Railway Line 1, where I
live, I felt that these trains should be built from LEGO
bricks. Afer several atempts, I fnished my frst LEGO
FLIRT in February 2010. My very frst train was displayed
for two weeks that year in a shopping center. Fortunately,
one of Stadler Trains Hungary Ltd.s staf members visited
this display. The company ordered a LEGO FLIRT from
me, to be built and set up in their ofce (Fig. 1). As a
reward, I could also order bricks to build a second FLIRT
for myself.
The author on the real Stadler FLIRT EMU.
RAILBRICKS.COM
7
In 2011 Viktor Kovcs (known as
kvp) introduced his soluton for
building longer train vehicles with
Jacobs-bogies. These long trains are
stll able to run on standard LEGO
train track geometry. I rebuilt my
FLIRT in a new scale, using the parts
received from the previous builds.
In 2013 Hungarian State Railway
ordered 42 more FLIRTs with diferent
coloring. When the design was finalized,
I started to order bricks, and I fnished
the new train even before the real
one was produced. Having all the
pieces I needed, it took 12 hours
to put the 3,500 pieces of LEGO-
bricks together, including electric
parts (Fig. 2). In the following days
I made slight changes on the train.
Figure 1: The frst version of my red Stadler FLIRT under constructon. The
entre side of the train was built in SNOT.
Figure 2: Last step afer 12 hours of contnuous building.
RAILBRICKS.COM
8
The new LEGO train was introduced with its real brother at
an ofcial ceremony organised by Hungarian State Railway
and Stadler on the 19
th
of March, 2014 (Fig. 3). Before
the event Stadler Trains Hungary Ltd. asked me to build
two more LEGO-FLIRTs for them one with the new
blue/white/yellow/grey color scheme, and another with
yellow/green coloring. Real trains in this coloring were
delivered to the GySEV/Raaberbahn railway company (Fig.
4). In additon to the new models, the company wants
its old red engine to be upgraded to the new scale. As
a reward, I will have my own GySEV-FLIRT, raising the
number of LEGO-FLIRTs in Hungary to six.
Figure 3: The new LEGO-FLIRT at its frst public display.
Figure 4: LDD-plan for the GySEV-FLIRT.
RAILBRICKS.COM
9
The LEGO Stadler FLIRT
Each LEGO Stadler FLIRT consists of approximately
3,500 LEGO bricks; the exact number depends on the
colouring patern. The trains have four sectons. The
two with the drivers cabins are longer, and the two middle
sectons, containing the water closet block, are shorter.
The LEGO-FLIRTs are driven with four motors because
of their weight (one unit weighs 3.5 kilograms). Two 9V
train motors are placed beneath the drivers cabin, and
one PF train motor is atached to each 9V train motor
as bogies 2 and 4. The third middle bogie is not driven.
Simple LEGO magnets are atached to the 9V train motor
bogies. With these parts the LEGO-FLIRTs can be easily
coupled together (Fig. 5).
The trains also have front, tail and interior lights powered
by a LEGO rechargeable batery box via an IR receiver. I
put modifed PF-LEDs
2
on the blue output of the receiver
for the front and tail lights, and original unmodifed LEDs
on the red output as interior lights. The modifed LEDs
dont light up simultaneously. Depending on polarity,
only one of the pair will light. The front and tail lights
can be turned of manually with PF polarity switches
that are placed on the roof. When coupling two FLIRTs
no lights are needed between the two units. Three pairs
of modifed LEDs are applied to the end sectons of the
train and each secton has one pair of unmodifed LEDs
as interior lights. All the electric parts are connected with
PF extension cables. Interiors of the cars are detailed;
the arrangement of the seats, coloring of the foor and
the walls inside follow the real train (Fig. 6).
Figure 5: My two Stadler FLIRTs on long radius curve built from straight tracks
1
.
RAILBRICKS.COM
10
I have a lot to do in the next few months; ordering bricks,
building three new trains, and upgrading the red Stadler.
Afer this order I might try to build a Westbahn or Moscow
Stadler KISS. If you need detailed informaton of the
trains or LDD-fles, or you want to share your thoughts
with me, please contact me at [email protected].
Acknowledgements
I would like to thank all the members of the LEGO community
for the tps and critques I received in these last four
years. Also great thanks to RAILBRICKS for publishing
this artcle.
1
Holger Mathes, 2007: Smooth Curves without cutng
corners, RAILBRICKS #1, pp. 32.
2
Viktor Kovacs, 2011: Power Functon Signal Lights,
RAILBRICKS #9, pp. 21.
Figure 6: Interior of LEGO and real FLIRTs.
RAILBRICKS.COM
11
The D
Layout
An Introducton to the
World of 4.5 Volts
By Phillip Marmorino
In the train layouts that populate the
RAILBRICKS community, we almost exclusively
see the 9V and 12V systems. However, there
is one more voltage of LEGO
train: 4.5 volts.
Why has the 4.5V system been neglected? It
may be due to the restrictve batery wagon,
which spells big trouble for 8-wide builders
due to its small length, or it could be the large
motors that make low-foor cars difcult to
build. The rest of the system is very nice and
has a few advantages over the conventonal 9V
system. Ive found great potental in the 4.5V
system and, above all, an easy way to make
wide radius curves (grand curves) with a radius
of around 100 studs. This artcle will give you a
basic understanding of the 4.5V system and its
history.
I
RAILBRICKS.COM
12
A Brief History of 4.5 Volt Trains
In 1966 the frst proper LEGO train engines were made. Before
then, crude carpet-running trains could be made with the standard
wheels of the tme. 1966 brought batery packs, motors, fanged
wheels, and train track for the very frst tme. These engines had
a large batery box, 6 x 12 x 3 studs, which had to be incorporated
into the design of the locomotve. Available in blue and black, this
batery box made it hard to build 6-wide engines. In 1970, LEGO
switched to a batery wagon, pictured above.
This batery made it much easier to power trains because it was a
wagon instead of a box. It also came in many colors, unlike the old
batery boxes. Owing to its success, several 4.5-volt train sets hit
the shops during the remainder of the Blue Era.
During the late 1970s, trains took a back seat to
other themes such as the Homemaker sets. In
1980, the start of the Gray Era, 12V trains were
the new big thing. Unfortunately, big things have
a big price tag, so 4.5V trains were re-released as
a cheaper alternatve to the 12V system. Aside
from having gray tracks with snap-on tes and the
minifgure, nothing was changed from the 1970
system. Of course, the design of the trains was
improved, thanks to the greater part selecton.
Two starter sets were made: the 7722 and the
7720. Both had small, non-artculated locomotves
pulling three 2-axle cars. Several trackside
structures compatble with the 4.5V system were
made to accompany the two starter sets, including
a level crossing and two train statons.
Technical Aspects of the 4.5-Volt System
4.5V motors are large compared to the classic 9V and 12V, but are
stronger. The red wheels have metal axles. Any of the old wheels
with studs on the side may be put into the sockets. Additonally,
between the two wheels there is an axle-hole where any Technic
axle may be inserted. Unscrewing the top, it is seen that the motor
is the same size as that of the 12V system. This lets you switch the
motor for diferent voltages. The 4.5V motors are more useful for
steam engines than diesels or electric engines because its a tad
too tall to make rotatable boogies. My 0-6-2 steamer uses two
motors close together with large drivers at the Technic axle holes.
The holes for steel axles are unused. Owners of PF train motors
know that putng large drivers on the motor reduces the power
of the train signifcantly, but two 4.5V motors have no problem.
RAILBRICKS.COM
13
Unlike the 9V and PF motors, a 4.5-volt motor has 5 possible points
where the 4.5V or 12V wires can connect: two on the botom, two
on the top, and one on the side. Youve probably seen an example
of the wire already in some 12V MOC. Here Ive included a picture
of the end of the wire. Technically, this is known as a double
molex connector. The three holes in the front of the wire end
can connect to another wire to add another motor or lamp, or to
extend the cable. In additon to motors, 4.5-volt lamps were also
produced. These lights are the shape of a yellow 22 brick. They
work wonderfully for freboxes, due to the rectangular shape and
the yellowness of the bulb. As lights however, theyre only useful
for certain prototypes, as most locomotves have round lights.
From a picture of the batery wagon, you can see the red three-
way forward/stop/reverse switch that controls the polarity of
the circuit. Kindly enough, LEGO provided two ways to control
the wagon without chasing down the train and grabbing the car
(though that is fun). First, we have the Train Directon Switch,
as BrickLink calls it. When the train passes the piece, the bar
standing up track-side hits the switch on the
wagon and reverses the train. If you dont have
the piece, a corner of a box also works well. It
is important to note that this piece cannot be
used with a bogie that is 8 studs wide, or with
the valve gear of a steam engine.
The Train Signal Post stops the train in a more
unusual manner. Turning the litle lever at the
back of the post lifs up the circuit breaker bar,
which is positoned between the two rails. This
bar hits the red buton at the botom of the
batery car when it passes. The picture only
shows the botom half of the signal post. The
top half contains a signal that moves up and
down depending whether the bar is raised or
lowered.
RAILBRICKS.COM
14
Playing with Radii - 4.5 Volt editon
Regular 4.5V track is made from three pieces: outer curve, inner
curve, and straight rail. These snap on to the 28 railroad tes,
which are placed once every 8 studs. This spacing is twice as
much as the prefab track; however, extra 28 plates can be placed
underneath the track if desired. It is also easy to prety up the
track with 11 and 14 tles to suggest smaller tes. A major plus
for 4.5V track is that its dirt-cheap, and straight track is plentful.
To make a curved secton of track, the outer radius must be bigger
than the inner radius. In standard radius 4.5V track, this diference
is large. It would be extremely useful to change this diference, as
doing so would change the radius of the curve. This is surprisingly
easy to do and requires no custom parts. There are two very
similar ways to modify the standard curve. The standard sharp
radius curve uses an outer radius segment and an inner radius
segment (right curve in diagram). Wide radius curves are made
by replacing the inner curve segment with a straight rail segment
(lef curve in diagram). Medium radius curves use the straight
rail segment in place of the outer curve segment (middle curve
in diagram). The wide radius curve is 110 studs in radius while
the medium radius curve is about halfway between the standard
radius and the wide radius. Both methods connect with a bit of
fudging, but I wouldnt recommend the medium radius curve. The
stress is very great and if you have old, britle sleepers, the clips
on them may break of. The wide radius curve seems to be okay
for extended use. My train cars run very smoothly on these curves
and the track should withstand heavier 8-wide stock.
The D Layout
Afer developing stressed 4.5V curves, I immediately pondered
about how to use them in a layout that would ft in a space that
barely accommodated a full circle of these wide radius curves.
The soluton was a D shape, which let me use two quarter-turns of
wide radius track and two quarter-turns of standard curved track.
To maintain smooth operaton around the D the two standard
curves in the foreground are banked. A switch squeezed between
the two sectons of wide radius curves gave space to include a
return loop, something Ive wanted to have in a layout for a while.
Another switch in the return loop gives space for a small siding
with a spring-loaded bufer. The empty space in the D functons
as a building area (Yes, Im stll a foor builder). In this picture, you
can also compare the wide radius curve to the standard radius.
In Conclusion
There are apparent disadvantages with the 4.5V system. The
electronics are poor for 8-wide builders and are hard to integrate
in a high-level LUG layout. Also, building artculated bogies is quite
the challenge with a 4.5-volt motor.
The advantages of 4.5V trains are more pronounced. In terms
of track, 4.5V track ofers a lot more fexibility than 9V and PF
track, due to separable rails. As we have shown, custom track can
be easily made with the system. In additon, the motor is quite
useful for steam engines. In my opinion, 4.5V is best for 6-wide
steam builders such as myself.
Straight rail segments
Outer curve segments
Inner curve segments
RAILBRICKS.COM
15
RAILBRICKS.COM
16
RAILBRICKS.COM
16
LEGO PF
Trains to
The Limit
- LEGO Shunter
Artcle, photos and
programming by
J.A. Korten
A
RAILBRICKS.COM
17
In this series we will discuss ways to take LEGO Power Functons
to the next level by adding some cheap, but non-LEGO parts.
In Issue #13, we discussed the basics and created a remote-
operated computer controlled train. This tme we will automate a
shunter. This soluton is ideal for exhibitons and events. Children
will really love it. Parents and AFOLs alike will be interested in the
technology.
introducton
Arguably one of the best classic trains from the 12V era is shunter
7760, the litle blue locomotve with gray roof and yellow / black
chevron patern at the front and back. I upgraded mine to a PF
version. Now I want to shunt some cars.
Introducton to Arduino Microcontrollers
What we need:
An Arduino UNO (or compatble)
A 940nm Infrared LED
Two reed sensors (*) preferably a plastc version like the
HAMLIN - 59165-1-S-00-A - REED SENSOR, MOULDED SWITCH
(available from Mouser
or Farnell)
Two 10k resistors (*)
Wires (*)
Powerful neodymium magnets (optonal) (*)
For testng, two small breadboards (*)
A LEGO Power Functons receiver and a LEGO train
Arduino sofware
Arduino Library (thanks to Roland Wiersma)
Hot glue and a soldering iron + solder (optonal) (*)
A mult-meter with contnuity test functon (optonal)
Note: Marked items are new compared to the previous artcle.
Costs of the new items are about $5.00 when including the
breadboards.
We again used LEGO Digital Designer, Fritzing and Arduino to
create the new train system.
Basics of Inputs
Last tme we only used the IR led as an output. Now we are going
to use two sensors in order to detect the train. Sensors are always
considered inputs. Afer testng we have seen that a reed sensor
is able to sense a train motor since there are magnets inside.
Reed sensors are switches that react to the presence of magnets.
Without the magnetc feld, the switch stays open, when a strong
enough magnetc feld is applied, the reed switch closes.
There are some tricky things with reed sensors that we will explain
later.
First, some basic electronics: If the reed switch is closed we want
to read this in Arduino as HIGH, if the switch is not detectng a
magnet we want to read a LOW.
The simple schematc to the lef shows the same circuit as the
one with the Arduino. If one presses the switch, the input reads
HIGH (5V), when the switch is open, one reads LOW (GND, 0V).
The resistor makes sure there will be no short.
For beginners this is a bit tricky but it is worth the trouble, as you
will see.
There are several types of reed sensors; we prefer the ones with
a plastc housing. The glass ones tend to break, etc. The HAMLIN
one from the parts list fts exactly between two studs. You may
want to do some experimentng with a mult-meter (beep on
contnuous/short functon). The (PF) train motors have magnets
inside that seem to work well; you could also add special magnets.
In our setup we placed the sensors on top and parallel with the
tracks and that works very well. Make sure that your reed sensors
are as close to the outside as possible for beter motor detecton.
Also keep in mind that if the sensor is too high under the train, it
will also detect the coupling magnets.
The Arduino UNO Rev 3 with an IR led and two reed
sensors connected to it.
RAILBRICKS.COM
18
A trick to make detecton as faultless as possible: Couple the reed
sensors in parallel to each other, one close to the lef rail, and one
close to the right rail.
This source code (RailBricks_v1_part2a.ino) expects an oval with
one reed sensor connected to pin 7. The train will stop when the
sensor is detected (afer 200 ms, otherwise it might stay directly
on top of the sensor), then drive again afer four seconds have
passed.
For a shuntng train we want something diferent. We add another
sensor and a point with some straight track in the oval. The point
should stand in open positon in such a way that when the train
backs up it will turn to the straight track with a dead end. Sensor
1 is the sensor afer the point in the oval. Sensor 2 is the sensor
at the dead end. The next issue will deal with point control, so we
wont discuss that now.
Two Sensors: Backing Up and Moving Forward
To make the program more understandable we present an actvity
diagram.
We start by driving forward. When the train sees sensor 1 it will
back up afer 4 seconds, then it will stop at sensor 2. Afer 10
seconds it will go forward again. It will then ignore the frst sensor
1 trigger. It will start all over again tll the batery is fat.
My newest version of the 7710, Power Functons enabled and ready to be controlled.
RAILBRICKS.COM
19
In source code 2 (RailBricks_v1_part2b.ino) we see how this is
worked out.
The layout shows how we set up two sensors. The train will be
facing to the right at the botom parts. The point will always be
set to turn.
/*
We will send some basic power functions
signals to a LEGO train.
This one will give you the basics for a
shunter.
J.A. Korten for Railbricks
Library by Roland Wiersma
November 2012
V1.2 - Shunter part one
You need:
a. a reed sensor
b. an IR LED
c. a LEGO PF train :)
*/
#include <legopowerfunctions.h> // this
imports the LEGO PF library
// The IR LED is connected to pin 13
// Long lead is connected to pin 13, short
lead to GND
LEGOPowerFunctions lego(13); // sets all PF
stuff and makes pin 13 output
int sensor1 = 7; // The Reed Sensor 1
connected to Arduino pin 7
int myspeed = 10; // my desired Forward
speed
int myoutput = BLUE; // PF Color output I
want
int mychannel = CH4; // PF Channel I want to
use
void setup() {
pinMode(sensor1, INPUT);
lego.SingleOutput(0, myspeed, myoutput,
mychannel); // let the train run.
}
RAILBRICKS.COM
20
ideas for Optmizaton
It would be - arguably - even nicer to include a functon to count
the number of rounds, then, only afer a number of rounds, start
the backup procedure.
In an upcoming artcle, we will learn a way to control the points
and then we have even more optons.
This example sofware for this can be found at www.leguano.nl
under RailBricks_v1_part2c.ino.
Computer Controlled Shunter
We will add one more extension to the train: a way to start and
stop the shuntng operatons. This is not very complicated at all.
Although we will use the terminal from Arduino, this could well be
the base for tablet controlled LEGO PF trains (We have experience
with that and it is doable for sure).
The trick is using the serial port of
the Arduino. Although Arduino has
a USB port, this emulated the d old
RS232 port, modem port or, in some
cases, keyboard or mouse input
(depending on the Arduino model).
The call Serial.begin(9600); will
start serial communicatons. When
you open the Arduino terminal, the
Arduino resets itself and will then
start sending characters, if needed,
to and from your terminal (the
looking glass at the right top of the
Arduino sofware).
If you press the leter g + enter, the
train will start moving and start its
shunter operatons (running 5 loops
forward, then backward towards the
dead end, then wait and repeat).
When you press leter w + enter, the
/*
We will send some basic power functions
signals to a LEGO train.
This one will give you the basics for a
shunter.
J.A. Korten for Railbricks
Library by Roland Wiersma
November 2012
V1.2 - Shunter part two (RailBricks_v1_
part2b)
*/
#include <legopowerfunctions.h> // this
imports the LEGO PF library
LEGOPowerFunctions lego(13); // sets all PF
stuff and makes pin 13 output
int sensor1 = 7; // reed Sensor 1 connected
to Arduino pin 7
int sensor2 = 6; // reed Sensor 2 connected
to Arduino pin 6
int myspeed = 10; // speed for driving
forwards
int mybspeed = 5; // speed for driving
backwards
int myoutput = BLUE; // PF Color output I
want
int mychannel = CH4; // PF Channel I want to
use
void setup() {
pinMode(sensor1, INPUT);
pinMode(sensor2, INPUT);
lego.SingleOutput(0, myspeed, myoutput,
mychannel); // Drive forward
}
void loop() {
if (digitalRead(sensor1) == HIGH) {
// [ sensor 1 triggered ]
//delay(100);
lego.SingleOutput(0, 0, myoutput,
mychannel);
delay(4000);
// stop 4 seconds
lego.SingleOutput(0, mybspeed, myoutput,
mychannel); // backup train
delay(500);
// make sure we ignore sensor 1!
}
if (digitalRead(sensor2) == HIGH) {
// [ sensor 2 triggered ]
lego.SingleOutput(0, 0, myoutput,
mychannel);
void loop() {
if (digitalRead(sensor1) == HIGH) { // we
detect the sensor
delay(200); // wait just a little
otherwise train will stand on sensor.
lego.SingleOutput(0, 0, myoutput,
mychannel); // stop!
delay(4000); // wait four seconds
lego.SingleOutput(0, myspeed, myoutput,
mychannel); // go!
}
}
RAILBRICKS.COM
21
train will fnish its current round and stop at the dead end. Of
course these are just examples. Be sure to fddle (or in Arduino
language, tnker) with it to make your perfect system. As always
(hoping to be a good computer science teacher), I welcome your
commands and questons.
Note: This example with terminal control is called: RailBricks_v1_
part2d.ino.
Johan Korten
[email protected]
Relevant links:
- www.arduino.cc (Arduino sofware and examples, also YouTube
demo movie)
- www.fritzing.org (to digitally draw electronic circuits)
- www.leguano.nl (all examples plus the remote library)
Upcoming artcles in this series:
- Your own LEGO PF compatble receiver and some turnouts.
- Connectng it all together and going beyond the standard LEGO
capabilites.
delay(10000);
// stop 10 seconds
lego.SingleOutput(0, myspeed, myoutput,
mychannel);
delay(500);
// make sure we ignore sensor 2!
while (digitalRead(sensor1) != HIGH)
{ // make sure we ignore sensor 1 only
this time...
// ignore sensor 1... so we make a
loop first.
}
delay(1000);
// wait till sensor1 is really passed
}
// go to start again ...
}
RAILBRICKS.COM
22
Accidentally
on Purpose
By Tony Sava
RAILBRICKS.COM
23
I decided long ago that I wanted to atend Brickworld
Chicago 2014. I hadnt been since 2009 and it was high
tme I went back. Steve Jackson and I had traveled to
Atlanta together for the NMRA Natonal Train Show the
year before, and he and I were both keen on visitng
Chicago.
Texas Brick Railroad is a young club; we have some really
talented folks, but our infrastructure is lacking. For NRMA
we borrowed my fathers trailer and a bevy of tables
from TexLUG, but the tables are heavy and the trailer is
open, and it just caused headaches for a two-day trip
(not to menton setup and teardown). For Brickworld,
in additon to Steve and me, Ed Chang was planning to
atend, so we would not be lacking for MOCs.
I had heard through Facebook that Cale Leiphart and
Nate Brill would be the only folks from PennLUG able to
atend Brickworld this year, but they were planning on
loading up the PennLUG trailer and bringing a full layout.
TBRR needed tables to display upon, and PennLUG needed
help setng up; the fact that TBRR uses the same ballast
standard as PennLUG seemed to just be icing on the
cake. So emails were exchanged, ofers were made, and
in no tme a plan was coming together that even John
Hannibal Smith would love.
PennLUGs plan was ambitous. A very large circular
layout with nothing but Grand Curves (what PennLUG and
the rest of the world calls wide curves), the signature
huge PennLUG switching yard, and a huge branch line for
Cales new Red Lion staton. For our part, TBRR would
pull out my old Palestne staton and our signature huge
collecton of trees.
And thats the way things remained untl about a month
before Brickworld, when Ed decided our area needed
something more. A few huge purchases and three weeks
later, Ed had nearly fnished constructon on a huge raised
hill and three-bridge additon to our layout. Even with
a group meetng Sunday before Brickworld we couldnt
fnish it in tme, so Thursday at the show Ed spent several
hours fnishing his creaton.
With the help of Scot Miller and Rob Werner from
GFLUG, the joint PennLUG and TBRR layout was set
up and running smoothly. It truly was something to
behold. I had never been able to run any of my trains
on a full Grand Curve layout like that, and neither had
Ed nor the guys from GFLUG. Scoty spent nearly every
moment at Brickworld performing real yard operatons
in PennLUGs yard and the Red Lion spur, building trains
and challenging himself to never use the hand of God to
touch the trains (except in derailments and decoupling).
I had fun running my Daylight and T1 at full bore around
the large loops, though my Daylight disliked PennLUGs
Grand S-Curve.
As the conventon progressed, something a litle unexpected
happened. We began collectng train-heads. People
started visitng our layout, running their trains on our
layout, or just sitng in the center and chatng. Our
purposeful venture to unite two groups of train builders
was accidentally unitng train builders from all over. We
even had one of the TFOLs on public day come and ask
to run his train, which was carefully packed up in a long
cardboard box. Mathew Csenge parked his train MOCs
in our yard, where previously they had been parked in
his registered space elsewhere in the conventon hall.
Weve already began planning for next year. Ive heard the
GFLUG guys talking about making their own additon to
the layout, and there could be others. TBRR would like to
get more of our members involved, certainly. Brickworld
2015s theme is Brick to the Future, and from where I
sit the future looks very promising.
RAILBRICKS.COM
24
Behind
The Scenes:
An Interview with LEGO Train
Designers Ricco Rejnholdt
Krog and Henrik Andersen.
Earlier this spring, RAILBRICKS volunteer Cale Leiphart
talked to Ricco Rejnholdt Krog and Henrik Andersen,
two of the designers behind the 2014 LEGO City trains
sets. Our thanks go out to The LEGO Group for helping
arrange this interview, which gives us a look into the
design process.
RB: Have you worked on previous train projects?
R/A: I have designed and developed all of the elements
for trains for LEGO World City; the Santa Fe Express; and
LEGO City Trains in 2006, 2010 and 2014.
RB: Are you a train fan yourself? And if so do you build
any trains in your free tme?
R/A: I am a train fan. I dont build trains in my spare
time, but do collect LEGO trains and I have
a big collection of 4.5V, 12V and 9V trains.
RB: These new sets will now be the second generaton
of trains in the City line using the Power Functons
system. Have the Power Functons trains been considered
a success?
R/A: In general most LEGO trains have been
successes, and our LEGO City trains with Power
Functions have been part of that success.
RB: What are some of the challenges faced in designing
trains sets around the Power Functon components?
R/A: There are a few design challenges presented by
the Power Functon when designing train sets that use
them. Concealing the Power Functon element is the
biggest challenge; the batery box and receiver take up
a lot of space, so it is difcult to create small trains, like
a shunter train. Another challenge is communicatng
to our target age group 6 year old children - how to
build and play with the Power Functon components.
RB: The new passenger train uses a single molded nose
piece in place of the brick-built nose of the previous
7938 Passenger Train. What infuenced the decision to
use the one-piece nose on the new train?
R/A: The decision to use a single-molded front nose piece
was infuenced by two factors. First is the complexity of
the model when building; it is easier for our target age
group to build with the single-molded piece. Second is
the fexibility in design that a single element gives us
the opportunity to do that a brick build front doesnt.
RB: Afer the ill-fated molded nose of the 7897 RC
passenger train, many fans were pleased to see a return
to the multpart brick-built nose for the 7938 train for
its more traditonal LEGO look and the versatlity of its
individual parts. Now with the return of a large nose piece
Ricco Rejnholdt Krog
RAILBRICKS.COM
25
for the new train, fans are understandably leery about
adoptng what many consider to be a single-use piece.
Do you feel that when fans fnally have their hands on
the new train they will be more acceptng of the new
nose piece and use it in their own trains?
R/A: The reactons from fans in response to the 7897 RC
passenger train molded nose piece were understandable.
The piece had a very big gap between the element and
the rest of the model. I think fans will be happy with
the redesigned element, as the gap has been removed
and a new glass part has been added so the whole
front looks really good. For any piece to be used in a
diferent context, its up to the creatvity of the builder.
RB: The new freight train appears to have a bit of an
American diesel locomotve infuence. Was this intentonal
and is it an atempt to appeal to the American market more?
R/A: The new design is based on a more American freight
train look. Using the American freight train was a way
to diferentate the new design from our sets based on
more European freight trains.
RB: When designing new train sets does the design team
typically look to real trains for inspiraton?
R/A: As with other LEGO City models, our team researched
real-world trains and was inspired by interestng designs
to incorporate into our models.
RB: What are some of the design consideraton when
creatng a new train set? Are their specifc goals for what
should be included?
R/A: When creatng a new train set, the model itself
is king. Our main objectve is to make a cool model;
afer that we consider the play value in the model. For
passenger trains, we add play value by creatng ways to
load and unload passengers, and introducing extras such
as road crossings. For freight trains we can diferentate,
and get more play value in the set by creatng new ways
to drive the train, load and unload cargo, play with
the crane, load onto the truck and drive away and
like with the new train, even feed and milk the cow.
RB: The new freight train set has many accessories
included to expand on the sets playability while the
new passenger train relies primarily on the train itself. Is
this simply to keep the price point of the passenger train
lower or were there other factors under consideraton
as well?
R/A: The passenger train focuses primarily on the play
value of the train itself as it is an entry point for most
children; therefore, we like to be able to keep it at an
entry level price point as well.
RB: All three of the previous City train sets included fex
track. But in the new sets fex track appears to be absent.
What was the decision behind this and how successful
has the fex track been?
R/A: Generally, the fex tracks were a success, as they
allow for more fexibility when designing the layout of
the track. We chose to leave them out of the new sets in
order to make room for other elements, and add more
diferentaton between the train sets.
RB: Many fans would like to see LEGO expand its track
selecton. The now retred 7996 Train Rail Crossing has
steadily risen in price in the afermarket and there is a
desire to see LEGO rerelease it as well as introduce new
parts such as larger radius curves and crossings. What are
the issues LEGO faces in expanding the track oferings
and will we ever see new pieces be developed?
R/A: We do not ofer a more varied selecton of track
elements because through our research, we have
determined that there is not a high demand within
our core audience of children for these elements.
RB: All of the Power Functons, City train sets released so
far have been based on diesel or electric locomotves. Do
you feel we will ever see a City steam train? What would
be some of the challenges in developing a steam train
for the city line?
R/A: LEGO City Steam Trains have been tested in concept
with children in our target age group many tmes. While
the children generally like the steam trains, they are not
perceived to be as cool as the powerful diesel or electric
trains. On top of that, LEGO City is a modern city, and
steam trains are a bit too old school.
RB: For years fans have been calling for LEGO to produce
RAILBRICKS.COM
26
individual train cars and locomotve sets as well as train
side structures and accessories. Does LEGO feel there is
a viable market for these and might we ever see LEGO
extend beyond complete train sets and the usual passenger
staton oferings?
R/A: Ofering individual train cars and locomotve sets, as
well as train side structures and accessories, is something to
be considered when the demand in our markets warrants it.
RB: In order for the LEGO train hobby to grow its important
to bring in new fans and keep them interested in the long
term. How has LEGO worked to do this and what role do
you feel us train fans can play to help with growing our
hobby?
R/A: The LEGO Group tries to interact as much as possible
with the diferent train fans and communites around
the world, listening to input and visitng events. I have
visited a couple of fan based events where the public
was invited; I believe the more visible you are, the more
new fans will get involved.
RB: In recent years many fans have started producing
and marketng their own 3rd party parts for use with
LEGO trains. Big Ben Bricks steam drivers and ME Models
metal track being notable examples. Does LEGO see these
3rd party parts as a concern or does LEGO accept them
and see them as a good way to fll a hole in the LEGO
train hobby that wouldnt be viable for LEGO itself to fll?
R/A: The LEGO Group welcomes fan initiatives
that can help grow the fan culture, as long as
our trademarks and copyrights are respected.
RB: Finally what would you like to see in the future of
LEGO trains?
R/A: In the future, I would like to see more trains in
general, and maybe even a separate train theme that
could allow for all kinds of trains from all eras in history.
I have also always wanted to create a big turntable side
building with round house this building is so iconic
for trains.
RAILBRICKS.COM
27
In 2010 train staton 7937 was introduced along with
the inital batch of Power Functon trains. Now, four
years later, we have a new staton. Its a modern looking
structure with two shops, one for refreshments and one
mini LEGO