Wednesday, January 24, 2024

Light at the end of the tunnel.

 Last night at 10 pm, No 1's front headlight sparked into life and the new DCC system went live.

Like anything electronic here at La Casa Dandruff, things fought all the way to the end. When we left our story last time, I was cursing the creators of Ubuntu to a short walk off a very high plank. This also forced me back into the arms of the devil ie Windows....

Creating the Windows 10 boot USB gave problems with the file size which required the third suggested solution of those I tried (after the first 2). The install itself went fine, as did installing Java and JMRI. The computer picked up the DCC-Ex and I could then set it up under JMRI.

I purchased my Arduino and motor shield with DCC-Ex pre loaded for $65 from JT electronics in Hawks bay. They also do quite a few other electronic dodads.

The final install started with me having to get wires into the small tag board, and doing some trimming as I had folded the wires over to make them stronger which didn't fit. I then got no life from the track (including trying to induce a short). Worried that I had "bricked" the Arduino I dragged everything back into the living room to download the DCC-Ex program to see if it would read. Firing up JMRI, I then discovered that I had not turned the track power on in JMRI.

Back to the train room, plug it all back in and again no life from the power pack. However I noticed all the other lights on the outputs were lit. I then swaped the powerpack for a 30 year one from a Mac aquired back when I worked at Victoria university (which has also been the power supply for the Paekakariki loco depot). Firing up old reliable and pushing the light button for the front light on No 3 and theres life.......

The sign of success


 At this point I had a play for 10 minutes... And that will waste soo much time in the future.

To finsh this section (since its not an On30 blog) does anyone have any questions on the DCC-Ex setup? Its a bit complex online but in real life its very simple.

Saturday, January 20, 2024

A cautionary tale.

 In past days when the earth was younger groups of humns roamed the globe. And when they met they would swap stories late at night round a fire pit of horrors they had seen...

Last post we had an introduction to the DCC-Ex system. This runs on an Atduino mini computer with another module (called a motor shield) to power the track. The unit itself is quite small and both bits can be had very cheaply from Aliexpress.

The computer (the DCC brains of the outfit is underneath, and the module on top is the motor shield with the connections to the real world at the top right. 

So, next up was the connection to the throttles and ther stuff, a Laptop running the JMRI solftware. This is a free, powerful program which lets you control almost everyting on your DCC layout, from tinnkering with decoders right through to controling the layout. So out I dug a 15 year old laptop from the old elctronics collection that every household now has. It fired up and while it ran a bit hot and a bit slow, I figured that if I got rid of windows and ran a freeware Linux system It would be fine.

If you don't understand some of the terms in the following story, do not worry its perfectly normal and you can just switch off till the end.

The lunix system I shose is called Lubuntu. It is a stripped out version of Ubuntu (a well known open source version of Linux) for use on older low spec laptops. To install it you first need to download a file for the operating system and then creaty a boot USB stick to transfer it onto the target laptop. all good at this point, and I fired up the laptop. The operating system was installed overwriting the previous windows system (there is an option to run it as a trial to see if you like it but I didn't need that). I then needed to download some updates. Hmm, why is connecting to the WiFi blanked out? A 10 minute hunt reveals I need to conect my phone and turn it into a hotspot. Right, the update loads and the laptop now conncest to the WiFi. 

Next, I need to have Java to run JMRI. What version do I have loaded? Hmmm, none...15 minutes sorting how to do this and getting it sorted. Then download JMRI and extract it to install it. Hmm, how the hell do I fire it up, there doesn't seem to have an icons on the desktop. Maybe I've installed it wrong. delette and try again. Repeat 3 times. Re-read the documentation and discover I have to create my own launcher icons (WTF). Then theres configuring the USB ports. And I can't set up JMRI with DCC-Ex unless i know which port is which...

Talking to Drew today, doing this under Windows is a piece of cake. Everything just goes from A to B to C and it just works. Bastard.

So the end of the story is this.

Don't try this in Linux.

You have been warned...

Wednesday, January 17, 2024

DIY DCC

For the last couple of months locally there has been some experimentation with a DIY DCC setup, DCC-Ex. This is an open source project based on the Arduino minicomputer and add-on's. 

At this point I should introduce the beast. The computer box on the right contains the Arduino with DDC-Ex loaded and a motor shiled for the track power. All this is powered by a computer powerpack. The Arduino is connected with a USB cable to the laptop running JMRI. In the first iteration, the laptop is connected into the house WiFi network. 

 The throttles are smartphones running the Engine driver app, free to download which can run 2 locos per handset at once.

The speed is controlled by a slider on each side of the screen. At first I was skeptical about it, being a knob man myself, but I now quite like it. 

The test animal is an On30 layout that I've been working on slowly for nearly 10 years. A few months back I tried to sell it, but there was a lack of interest. It was all rather fortunate as this became the test bed for the DCC-Ex setup.

Drew brought the setup round one afternoon and it was on to the show. We spent the afternoon just getting used to running trains using the system. There were a couple of WiFi dropouts due to the positioning of the laptop, this was solved when the laptop was moved 3 feet closer to the home WiFi router.I took some photos but Drew is quite shy so theres just some layout shots

Number 1 and Number 2 on shed waiting for the next turn.

Number 3 about to depart with a surburban service

Number 6 moves off to the port (still to be built).

 
After the first session revealed a few inprovements that need to be made, mostly to get the track more level and a few out of guage bits of track that had revealed themselves. We then got together for a second operating session. Drew had made some modifications to the setup by adding a router off trademe which added the unit its own WIFi hub. He also had found a couple of old phones at home which could be used as throttles (and don't require a SIM card to connect into a WiFi network). This no longer had the connectivity issues. We also found that 3 hours use only drained the phone batteries 20%.

For the 3rd operating session another local modeler Q was added to the circus.

So what are my opinons on DCC-Ex? The simple one is, I like it. Its untethered to the layout. The phone apps are easy to use. For a small layout its ideal. Cons are that it requires a bit of computer nouse to set it up, and currently I don't think theres any way to set up a network system with separate boosters.

So, the question that you are asking is, how much?

The Arduino bits can be had off Ali express for $30. The router was $1 off trademe. The laptop and phones were from the old electronics pile which most houses now have. Compare this with a Digitrax setup where just a separate throttle is north of $200.

Its a budget DCC system for those who don't mind tinkering and for a small home setup its christmas. I have one opn order and will be reviewing it when I can find an old laptop that works (the 2 I have here have transformers that run red hot aftre 30 minutes).

I'm not sure how it would go in an ehibitiioon situation, but it might be fun to try.

Saturday, January 13, 2024

Studholme 6 - Legging it.

DB Says:

The Fremo120 standard has the tracktop height set at 1200mm above the floor and recommends having some means of adjusting this to account for build-tolerances and non-level floors. Something one would have thought unnecessary until I saw the surprisingly un-flat floors when we were setting up the big 9mm layout in Christchurch a few months back. 

So this means legs. If there was one thing I did like about the 9mm layout, it was how the legs folded up into the module, so everything was self-contained. 

While on my shopping expedition at Bunnings a few months back, I spotted these 1.2m long 18mm square sticks that might do for legs. They seemed tiny, but surprisingly strong when you lean on them, and my modules are not expected to be very heavy, or to be danced upon, and any force is coming vertically down, (horizontal force will tip everything over rather than bend the legs). 

So I gave them a pop. Out of about 25 sticks available, I selected the straightest 8. Look out for twists in the wood too, which can be a pain when you attach the cross braces.  Apparently cheap replacement wooden broomhandles make good strong module legs too but I don;t know where you find these. Maybe a dollar shop?

I've had a few iterations of legs and fixing methods during recent experimental months, so will just discuss my favourite method.

Basically the leg set is screwed and glued together, braced just so, and fellow Dandrufers will tell you that what looks like an exceptionally spindly setup is actually really solid (there is a little torsional twist, but that's not the direction of force that needs to be dealt with in a modular setup!) :


If you remember the old bomb disposal joke: "Cut the red wire..." snip. "But first, cut the brown wire" you'll know not to make one of these yet, otherwise it won't fold up into your module. Well mine didn't, twice.

Things to think about before you start carpentering: 

  • How broad will the leg set be ... presumably for stability, about as wide as will fit (make sure you allow for the broader width of your adjustable feet (and don't install those either yet)).
  • How will the legs be attached to the module? After thinking about and trying hinges and little steel L brackets (all relatively heavy, clunky, pricey), I reckon the same 8mm wooden dowels that I'm using to align my module set together is the ideal pivot. Strong, cheap, easy. I have used little bits of what used to be called 4x2 to put the holes for the dowels in. 



Consistent pivot locations using specific bits of wood to mark these out on my bits of 2x4. That's also the Bunnings 18mm x 18mm x 1.2m barcode FYI...
  • Related, where will the actual pivot point be located on the module? This was critical for me as I have fairly shallow 6cm deep module side fascias. I hadn't thought about this when I decided on 1200mm long modules, but you obviously can't fold 1200mm long legs inside a 1200mm module, especially when each end plate is 18mm deep, plus I need some pivoting room for the legs, so that eats up about 50mm of that internal space. Fortunately, you obviously don't need 1200mm legs as you can move the pivot point further away from the top of the track (probably why 10cm deep sides are preferred!) and as close to the ends as possible. This way your legs can be shorter and thus fit into the module when folded. Be aware that the  pivot hole in the leg obviously can't be at the very top of the leg or everything will snap.
  • From that, you can derive a leg stick length (taking into account the adjustable feet) and make sure that this will all fold up into your module... and most importantly, when you add it all up, it has the top of your track 1200mm above the floor when the adjustable feet are at about their midpoint of extension. 
  • Lastly, back to the bomb disposal men, if you build the complete leg set first and then attach it to the pivot... unless you have a laser-sighted CNC drill press, there is a fair chance it won't fold up into the module. This is because if you are out just a fraction with your drilling/alignment of the pivot holes, the two pivots won't be magically aligned in exactly the right place (and you have two dimensions to screw up in at both the module pivot hole and again in the leg hole). Thus when I attached and triumphantly folded my pre-made legs up, the pivots weren't perfectly square so one of the legs banged into the long-side fascia of the module top. So I now assemble the leg set in situ.

All of this made my head hurt for a week.

So what I have settled on is:

  1. make some calculations.
  2. cut/measure/drill my little 2x4 pivot pieces and attach them to the module (screw and glue) 
  3. calculate 1200mm less "track to centre of pivot (45mm for me)" less "allowance for feet in halfway extended position (25mm for me)". This is the distance between the bottom of the wooden leg to where you drill your pivot hole in the leg. I don't recommend doing it the other way around (drilling the hole close to the top and cutting off the bottom to suit) because its really hard to drill a big hole near the end of a thin leg without shattering the wood. I measure, gently clamp the leg together to be sure, drill the hole, then cut off the excess length from the top of the leg, and then apply some woodglue on the surfaces to add a modicum of strength.
  4. Cut the legs to length if you haven't, and drill/attach the feet, do a dry test or two before you make that final cut to make sure everything will fit. If you have a problem, you may need to rethink your pivot point!
  5. Drill good sized pilot holes in the delicate legs for screws to go through to attach the leg set cross pieces. Attach top and bottom cross pieces to ONE leg, not screwed too tight
  6. Dry apply the dowels to join legs at the pivot points (3/4 in with no glue).
  7. Fold the legs up inside the module and center them nicely (pack with wood against the inner faces of the module top) and only then attach the other leg to the cross pieces with the legs folded for as much of this operation as possible. Glue and screw everything for strength.
  8. Fold everything out and treble check you can get a level and 1200mm rail height before the glue sets in case you need to pull it apart to make adjustments.
  9. Fold the legs back in, attach the angled brace piece, and screw everything tight.

Somewhere in these final stages, you might chose to gently glue the dowels into either the leg (for strength) or pivot point. Be careful not to do both!

Legs extended. 


Legs folded cleanly:


How the calculations worked for me:


As for feet, I started with these relatively cheap ones with plastic press-in nuts, but the plastic nut bits broke off or lost their thread surprisingly quickly...

So have upgraded to these steel M6 T nuts gently hammered into the legs and these more robust feet below. You obviously need to drill two sets of holes in the ends of the legs first, one deep enough to take the T nut body, and one smaller diameter hole drilled more deeply to take the threaded rod when it is screwed all the way in (which it might need to be, to fold into your module).


One of my three Studholme modules will have leg sets at each end, and the other two will have just one leg at one end, with the other end being supported by the adjacent module.

...By the way, I've also put some coal in my two 3'6 LCs (at the far end) and added a ridge pole to an older one, plus experimented with colouring pencil on the KS doors with mixed results:

Quite like the way these four wheelers have all been resurrected and enhanced, with the possible exception of the LPA with the badly applied tarp, which I thought was 'clever and quirky' at the time, but now is just 'annoying' me.

Sunday, January 07, 2024

Rolling, rolling - 4w wagons

 DB keeps moving before he gets distracted again...

15 years ago I made up three LPAs that I bought off Pat Eade a few years earlier. I binned the chassis and put them on Pecos. It seems I was a side short too, so I must have made a replacement up out of plasticard.

It's about time to top them off.  Ridgepoles were added with some plastic coated steel rod. 

Then some tinfoil tarps were added. Pic taken before the paint had set. Longest kit assembly elapsed time ever?


I Peco'd the other two 3'6 KS tops and got them up to the same level as the first one. At some stage I should probably do the V shaped dots along the door ridges and may add a few more bits.


So that's most of my four wheelers repaired, detailed and weathered more or less (other than the stone train and the really old LCs). I could do with a few more handbrakes and need to find some coal for the new LCs.

Saturday, January 06, 2024

Slow progress is progress - 4w wagons

 DB might as well continue with the 4 wheelers, since he has a new workbench to test drive.

As mentioned, I have a decent list of tasks to fix a few and improve of my recently unwrapped models, plus completing the new 3D printed ones.

I replaced the busted stakes on an NC, put the second XC on a Peco, and painted yellow number patches on most of these wagons as well as a few black destination chalkboards. 

Funny how these wagons, the details of which were once etched in my mind, are now harder to uncover. I have a few pictures on my website, Ken Lankshear and others have a few on Flickr, and there are a few rolling stock books that have some details (and Pictorial Railways of NZ is a goldmine for the TMS-era modeller), but it took me a while to see where these patches were located on a KS, as I've never made one before. I think I probably put them on the wrong place on the XCs.  

And also stuck some little white plasticard door catches on the KS. These are visible on this (now repainted) grounded body. On the real ones they have a steel rod above them to keep the catches moving in a vertical manner. You might note how the corrugations on this are bevelled and a little finer than most modellers would make them. I should have put those four little horizontal pieces on too, as I did with the Shapeways ZM many years ago, but... forgot.

Also painted that second 3'6 LC and their other two KS tops. Painted the white door catches on my cast KPs too.


Friday, January 05, 2024

Great Workbenches of the World Part X

DB gets a workbench:

Since I have kicked myself off The Linesider's desks a week or so ago, I have been working standing up beside an old set of cabinets in a junky corner of the basement.

It occurred to me that I might as well put up a workbench, even a temporary one, in a less cluttered corner of the basement, and installed this former kitchen benchtop (which must be from three iterations of the house ago, being found in a corner of the garage when we moved in, that "was too good to throw out and will find a use someday", like a thousand other bits of wood and nails and screws and junk that I have squirrelled away for the apocalypse). Quite a few kitchen towels and rags gave their life to remove the mold, dust and a few greasy spills on the surface.

Ta-da:


It almost fits in the space, and I mounted it a little higher than a usual table/desk would be to being the work closer to the eye. I've already celebrated with a coffee and biscuits provided by my far better half upstairs, and by Peco-ing the second XP and painting number panels on a bunch of four wheelers.

I'll put another recycled shelf up above the desk and move the rest of the NZ120 stuff in.