Blog & News

About the Model Railroad

RTAC Software


The Randall Museum in San Francisco hosts a large HO-scale model model railroad. Created by the Golden Gate Model Railroad Club starting in 1961, the layout was donated to the Museum in 2015. Since then I have started automatizing trains running on the layout. I am also the model railroad maintainer. This blog describes various updates on the Randall project and I maintain a separate blog for all my electronics not directly related to Randall.

2022-06-23 - Misc Maintenance

Category Randall

I've completed a lot of small maintenance items recently. Well, some were maybe small yet took several days to complete.

I’ve run the track cleaning train today. Jim usually run these Santa Fe F units in tandem, however they don’t match properly when coupled together:

Instead I got one of the old units from GGMRC and I made up this track cleaning train:

Santa Fe #804 still runs nice and strong. I don’t have enough pulling power with one engine for the two pad cars so I had to remove the silver DRGW one. On the roller, I put 2 drops of automatic transmission fluid (ATF) per rail, followed by the pad car.

Jim has some Rail-Zip there so I thought about using that then I noticed this old trainsorders thread basically indicating that Rail-Zip is similar to that ATF we have been using for years. I guess at least the form factor in the little bottle is more convenient.

Since the last past, I’ve also reworked the support for the Edimax IC-3116W 720p cam for the Train Vision Project by Lodi:

Over the last few days, I’ve spent a lot more time than I expected updating the various Wyze cameras. For some reason, half of them had lost their detection settings. I simply dislike the current Wyze seemingly redundant subscription levels with the Cam Plus, Cam Plus Pro, Cam Plus Lite, and Cam Plus Super Ultra Ultimate Whatever confusion mess. It makes it annoyingly complicated to set up these cameras because the app is really pretty inconsistent and various settings need to be adjusted in different screens.

As I’ve been saying for a while, I can’t take the Wyze cams seriously -- it’s ok for the casual usage we have here, but they definitely do not have a serious security camera ecosystem.

Their sdcard storage is basically pointless. My first V1 cam stopped working (or more exactly: it works but can’t connect to the wifi anymore so ¯\_(ツ)_/¯ ). One of the V3 keeps stopping (I have a theory that it is too close to a fluorescent light fixture). Most of the cams eventually freeze up randomly (which I somewhat solve by forcing them to reboot daily).

Finally, since I have a spare Wyze V2 Cam, I’m trying an alternate view from Sultan. This is the angle I have so far:

We’ll see if that works. As usual my goal is not to see the museum visitors and instead I’m mostly interested in monitoring the train automation or the Saturday operators' trains. Ironically it’s hard to get a view where people are not in the picture.

As with the other Wyze cams, the quality of the recorded videos is very compressed, yet it's enough to see if a train is stopped on the track where it should not be.

This view angle is not bad except we can’t see the branchline bridge which is obscured by the white window support, so I might move the camera a bit to the right after I get an extension cord.

2022-06-15 - Lodi Camera for Train-Vision

Category Randall

I’m continuing trying alternate views for the cameras for the Train Vision Project. This time I’m still using the same good ol’ Edimax IC-3116W 720p cams I had around from 2015. They work well, and have the added benefit of having an ethernet plug so I can transfer the video over wired ethernet instead of saturating the limited wifi bandwidth.

This time I’m trying to change the Valley camera. In the initial project phase, I temporarily placed the camera by Fairfield, mostly because it was easy to access and we had a view of the automation trains -- which was an excellent tool to configure the Train Vision Project. Yet that was merely a placeholder. The real goal of the project is to provide a view of the layout that visitors cannot readily see from their public view area. One such area is the top of the mountain -- covered in the previous blog post -- and another such area is the Lodi town in the back.

Here’s one such attempt:

And viewed from the Vision laptop screen, this is the lower right quadrant:

Click here to continue reading...

2022-06-11 - Mountain Camera for Train-Vision

Category Randall

I got a new camera for the Train Vision Project. The current ones I’m using are refurb Edimax IC-3116W 720p cams I had around from 2015. They work well however they are quite bulky.

The new one I’m trying is a small TP-Link Tapo C110. It’s a 1080p no-frills camera which I run at 720p. I particularly choose these since they have official RTSP support, which in layman terms means the laptop can grab the video feed from the camera directly over the local wifi without involving a remote server. The camera is fairly small and light and setting it up with the TP-Link Tapo phone app was a breeze.

In the Train Vision project, one thing I wanted was to have a view from the top of the mountain and one from the Lodi area -- two areas where visitors cannot readily see the tracks right now. I do have the Edimax cams setup next to the visitor area as a placeholder but these don’t add a lot of value since these are areas the visitors can already trivially watch. The point is to highlight parts of the layout out of view from visitors, and that’s where having a smaller lighter camera that I can blend in with the scenery comes in.

I’m experimenting with a view from the top of the mountain:

Here’s the view from up there:

Click here to continue reading...

2022-06-05 - NCE USB Interface for the Workbench JMRI Laptop

Category Randall

I installed a new NCE USB Interface for the JMRI laptop on the workbench. The last one got wet during the last rainstorm and I wasn’t able to revive it. The new one is wrapped in a little plastic wrapper to hopefully prevent it getting taunted a second time.

To help against the next rain season, Allen and I reorganized the protective tarp on the ceiling. The arrow highlights the source of the leak from the concrete ceiling. It is a small dripping leak, yet persistent enough to do damage to the wood workbench and all the equipment.

Not pictured here, we have a large bucket at the front that collects dripping water.

And yes the museum direction is well aware of the core issue. That’s how we got the tarp to begin with, as that imaginative yet hopefully temporary solution was installed by one of the museum coordinators while we wait for official repairs to happen.

2022-05-14 - Layout Topology and Reversing Loops

Category Randall

Here’s a schematic representation of the Randall Museum Model Railroad track:

The dark line indicates the current running direction. Green blocks are features in the Mountain division, and yellow blocks are features in the Valley division. The two secondary yards with their balloon reversing tracks are denoted in blue. Stockton Yard is the staging yard and starting point and is denoted in red.

Now the schema above is a bit messy as it vaguely represents the physical location of each feature in the room, with the track that keeps crossing over itself lots of times via bridges and tunnels. I even omitted the Branchline, which confusingly adds another reversing loop from Sonora back to Stockton Station or Stockton Yard.

However, since we mostly have a single mainline running loop, we can reorganize the schema and simplify it as follows:

This track schema is strictly equivalent to that spaghetti mess above.

Here it’s easier to see that Saturday operators basically run a glorified 4x8 oval loop, with two yards providing balloon tracks.

Now this opens some interesting operational considerations.

Click here to continue reading...

2022-05-12 - Another Update on the Branchline Automation

Category Randall

The Branchline has been running the Rapido Santa Fe RDC 191+192 for quite some time. Then it was 191 alone as the other engine stopped working. And then there were none. Then I programmed and tried the steam engine MoPac #153 2-8-0. Well that one didn’t last one day and although I fixed the original source of the derailment, I was still fairly skeptical of running a 2-8-0 on a tricky sub-par track like the Branchline.

Thus Jim suggested yet another engine & caboose from his extensive collection:

This one is an SP&S Alco RS-3 #4070, and it seems to be this Bowser model. I think it sounds and looks great.

As a bit of history, SP&S is the Spokane Portland & Seattle, which merged into Burlington Northern in 1970. #4070 is the post-merger number and that dates the model to 1970 or later.

I updated the programming script to run with #4070. Later I enabled lighting effect F5 for the cab gyro light, and a bit later I programmed the caboose directional lights to automatically match the engine’s direction.

I really like the result. Engine sound is great. The horn/bell are a bit muted and I might put that on the programming track to see if I can adjust their levels once I fix the broken NCE USB interface.

I also think the Alco RS-3 is a great engine for the Branchline. Prototypically these engines were great runners on short lines and their sub-par track. And in the model version, I find them also very stable on such model track. Plus everyone can agree that any Alco RS-3 looks fantastic with its beveled engine hood and cab.

2022-05-06 - An Update on the Branchline Automation

Category Randall

The Branchline has been running the Rapido Santa Fe RDC 191+192 for quite some time. Then it was 191 alone as the other engine stopped working. And then there were none.

Jim suggested to try something different so we did:

I apologize for the poor video & sound quality as I shot this on the phone.

This is running a MoPac #153 2-8-0 Consolidation engine. It does sound great, although running characteristics are not ideal for the slow speed needed for the Branchline.

The other issue is that the track on the Branchline is quite subpar, it’s not always as flat as it should be, the dual-gauge turnouts are tricky, and the track has just too many quirks. For example one is very visible in the video above when the engine starts from its interchange storage track, there’s a very visible elevation change when crossing some of the yard turnouts. Then in the canyon tunnel, there’s a kink in the track -- 2 segments of flex tracks that have been soldered not straight, forming an abrupt angle. It’s enough to derail quite a number of light cars or engines.

Click here to continue reading...

2022-05-04 - Randall Repairs: T840 on Branchline

Category Randall


Turnout T840 on Branchline (Smith Flats towards Gravel Pit).


Throw switch rod doesn’t close. Track out of gauge.

Summary Fix

Spike throw switch rod in place.

Description of Issue

We have been trying to run MoPac #153 on the Branchline in automation. It failed on T840, which is just outside of the canyon tunnel leading to Smith Flats / Bear River section on the Branchline. The engine was running in reverse direction when the car & tender followed the track yet the steam engine went straight through the turnout:

The issue is even more clear from an aerial picture shot:

Click here to continue reading...

2022-03-27 - Update

Category Randall

Recently I have been exploring my latest DIY experiment: a homemade “dead spot detection car”.

Click here to read the corresponding post for more details on this contraption.

Not a lot has been happening lately, at least nothing visible. I did an update on the Raspberry Pi controlling the automation wifi network, and I also revived one of the wyze cams that had gone unresponsive and offline again.

Finally I’ve been revisiting my plans to add more block detection on the Branchline as I plan to tackle that project shortly -- there’s a lot of planning that goes upfront here, and it starts by poring over the pictures of the electrical connection terminals, and trying to guess or decipher what is and isn’t there. I detected some inconsistencies in my Branchline track schematics.

2022-03-06 - Non-Maintenance Update

Category Randall

We have two spots on the layout where we have experienced episodic dead spots -- loss of track power that seems to fix itself. I suspect some rail or solder contact that works or doesn’t work based on the temperature and humidity. I’ve fixed a couple of these and each time I need to experience the dead spot to figure where it originated from. It’s hard to fix something when that thing just plain works.

Yesterday, a new such spot appeared, at block B100 between Lodi and Fairfield. Allen was able to work around by bridging the gap between B90 and B100 using a screwdriver, thus powering B100 from B90:

I’m a big fan of such creative workaround to keep running.

We closely examined the track today, and identified the block boundaries. Unfortunately there was no dead spot today, the track was working fine, and we found no culprit to this issue. There’s a track feed a couple feet before, and the solder joints seem sturdy and nothing breaks when the track is flexed or the wires are jiggled around -- a proven rigorous scientific approach to identify such issues.

We also examined some other spots where we have had engines stop-and-go on specific turnouts. I posit some have to be due to resistance from the powered frog contacts on the switch machines. However measuring a few spots revealed nothing useful. It did not help that today engines were not hesitating on these spots either.

It’s quite annoying when everything works, ironic, isn’t it?

Later, we looked at a known issue with engines losing power when crossing turnout T221. Looking at it and testing it with the voltmeter, it became quite obvious:

The entire frog is unpowered on this turnout -- everything in the middle “X” part till the two round pivot joints. The closure rails (the ones that move) seem powered only by contact with the stock rails. There’s also no sign of any power pick up anywhere on this turnout. It’s really entirely unpowered. That means most trains stop on this turnout unless they have multiple units, or long wheelbase engines such as these long SD70s.

The turnout looks to me to be an Atlas turnout, due to the typical two tabs next to the throw bar. On  Atlas turnouts, these two tabs with their little middle hole are used to attach a side twin-coil turnout machine.

If we wanted to fix this, we would have to power the frog and the inner closure rails. To do that, the twin-coil switch machine under the layout already has the contacts that can control the frog power but we’d need to pick up power from the stock rails, and somehow solder the “outgoing” power feed to the frog. Many turnouts have solder points on the underside to create such connections, and obviously here we’d have to do it from the top. It’s some work but it’s definitely doable.

A quick search on powering frog on Atlas turnouts indicates the frog is “pot metal” and won’t take any solder, however there are holes next to it just for that purpose and one would make contact by using a “2-56 screw” in there. An indeed there are two holes right next to that frog:

 Generated on 2022-06-27 by Rig4j 0.1-Exp-666f4a7