Visitors

Flag Counter

Monday, October 21, 2019

Broken Gear


I was running an UP Jet freighter with two S Classes back-to-back and the rear unit kept derailing.  I knew it had a broken gear in one of the wheel-sets on the B end.

It wasn't too difficult to remove the cover-plate holding the wheels in place. First, remove the side frames which comes out in one piece.  Then, use a small screwdriver to pry out one end of the cover-plate, and when this is lifted up, use a flat needle noise pliers to pinch the retainers and the cover-plate will lift out.  Replacing all three gears took about 30 mins.  She runs much better now.





Cracked Gear

 Cover plate at top Right of photo


Photo shows new gears installed.

Sunday, October 13, 2019

Further focus on Electonics and Arduino



One thing I wanted to try and see if I could get working was the detection circuit which I had built for my signalling system using the Current Transformers.  So I went ahead and built another Detection Circuit for use with the Arduino UNO.  This will be used as a sensor.

The next step was to get another Arduino MEGA and Arduino Motor Shield, which arrived from the USA last week.  These are the genuine boards.  I downloaded and flashed the MEGA with the DCC++ program so I could now have two sets of DCC Systems, one for the train shed and one for testing pursposes here in my room inside the house.

I would use this system to now build up another arduino program to test detection using the current dectectio circuit I had built.  So, using one of the Analog Pins of the UNO, and setting this as INPUT, I was able to read the voltage on the Serial Monitor which was showing 5v with no detection and more importantly was showing 0v when detection occured, as the 555 timer is configured in bi-stable mode and initially the output of the 555 is set to HIGH.

Using some basic logic in the code I was able to tell the UNO to count the number of these detections.  As I told you in my previous post, I have a circuitous layout and every X loops representing distances between towns/stations, with one loop representing 1 mile. 

Wouldn't it be cool to have the UNO do the counting and then to show via LEDs or a Display where we are on the journey?  This is what I have been aiming to do.

The below two shots show the Voltage output from one of the PINs when there is not detection and when a detection has occurred.

This opens up a new world of interacting with the layout and interfacing this to a microcontroller!



Sunday, September 29, 2019

Round and Round - with a purpose.

Since last time we met, I can say the layout is still the same LOL.   The only change made is the additional of Staging tracks which is unfortunately eaten into some ailse space.

I have been quite focused on the electronics side of things.  I am pleased to say that now I am running DCC++ with WIFI.  And what a step forward that is!  I really am enjoying using the Engine Driver app on my $30 mobile phone.  The WIFI server is no other than JMRI running on my old work laptop that they gave away.  Walking round the layout to view the layout from different perspectives and to be in control without being tied down is very enjoyable.

DCC++ runs on an Arduino Mega with a Ardino Motor Shield.  The guy who developed this open-source implementation of DCC is just truely brilliant.  The beauty of open-source!

I have also made progress on how I operate the trains.  I enjoy seeing the running of trains rather than the shunting aspect.  Call me childish, but what I am doing currently is running laps round and round, with one side of the journey being the town of Stawell in Western Victoria and the other is Horsham, a good 54 miles away.  What I do is run the inner loop which dipicts the country, and for every town/station, run once through the outer loop (which has a station and yard). 
Milage (and number of loops) between towns varies, for example between the towns of Murtoa and Jung is 7 miles, and between the towns of Murtoa and Lubeck it is 10 miles.
I used this chart as reference.
I don't really care if the same station is used for multiple locations on the journey from the beginning to the end.  Unforuntately as adults, we lose much of our imagination.

This concept allows me to run any train I choose with any number of rollingstock so makes for varied operation, just like the prototype.  One day, the Through Goods may have 12 wagons, and on another 7 wagons.  This gives me total freedom to run anything I like anytime.  No scripted operation.

It takes about 1 hour without any crosses or meets from the beginning to the end and it really does feel like one is putting on the mileage just like real locomotive drivers.  Sounds boring to alot of modellers, however I noticed that bringing the train into the inner loop when the corresponding Mile Post calls to run past the "town/station" breaks the monotomy.  And in real life, driving trains is kinda boring anyway.   It also throws out the challenge to test the rollingstock - how good are they to stay on the rails.  My four wheelers are doing very well.

I am also thinking about automating the counting of the inner loops (which represents 1 mile) using an arduino and displaying it on a 1.3 inch OLED screen.  I will start with a push button but then move to using a Current Transformer.  The program I am working on for this is progressing very well.   I have come to appreciate and understand just how little main memory these things have and need to move alot of the code to FLASH memory on the Arduino UNO, which only has 2Kb of SRAM.

This has opened up a whole new world of tinkering.  I haven't done any scenery work.


Arduino UNO with a OLED Screen on a breadboard



Sunday, May 12, 2019

Enjoying my layout and the trains


I have been really enjoying the layout and running trains.  Infact this last weekend I have been also been doing alot of shunting.  The Brake feature on some decoders you find nowadays makes shunting so much fun.  I really use to detest pressing the buttons or thumb wheel repeatedly to stop a loco.  Now, with a press of a button I can bring a loco to a halt or ride the brakes.

Also have been doing some scenery work.  Pretty happy with the results so far.  The fence posts I think came out pretty good as well as the dried grass work which I did today.

I have been doing operations in the following manner all this week.

Basically I make up a train on the far side of the layout which is like a fiddle track.  All empties are located at the rear of the train.  Any loading that needs to come off is usually at the front.  At the main station, I pick up any wagons destined for any Eastern Locations, in my case, since I am modelling Western Victorian, mainly Dimboola station, I imagine any cattle wagons are full for Melbourne and any Tank wagons are empty.  I only have four sidings, namely Cattle, VR, Flour Mill and the Oil Siding, with the Goods Shed also available to generate inbound and outbound loads.

So with this I sometimes shunt the appropriate siding.  DOWN trains from Melbourne will shunt the Oil Siding and other Tank cars stay on the train for the journey further west.

Any new train I make up at the fiddle track comes into the station immediately, then after shunting will run a few laps of the inner loop.  This allows the feeling of the train actually clocking up some miles.

I did this type of movement six times during the weekend and enjoyed it.

I have also been playing round with some electronic projects in the space of external audio with a LM386 op amp but it didn't go too well.











Some video


















Wednesday, April 3, 2019

Visit to Darren's Wattle Flat

Over the weekend we visited Darren's Layout, Wattle Flat.  As you can see, it is a superb layout with a very high level and modelling skill and ability on display.  We also got to see his new 442 class NSWGR locomotive which is fitted with the Version 4 Loksound Decoder.   The only word I can use to describe his layout is Perfect.

Brendan also bought his brass D3 Class steam locomotive and gave her a bit of a run on Wattle Flat.  I must also comment on Darren's hospitality which must extend to his wife and daughter who catered for us with a lovely hot meal and afternoon tea to wrap up the session.











Sunday, March 10, 2019

Automatic Signalling Completed!



As I told you in my previous post, I was thinking about how to make the signals Automatic.
I am really pleased to tell you that I now have Automatic Signalling!!! I eventually worked out that connecting PIN 3 of the 555 timer to PIN 4 of the 556 resets the timer which means the signal turns back to green.  Now I have detection to turn the signal from Green to Red once the locomotive passes the signal and also then to make it change to Green!  I needed to build another 555 Detection circuit.  Had a lot of issues but finally got the circuit working.  I am absolutely stoked!  For me personally this is a huge achievement.  At times I was very frustrated and tempted to throw in the towel but I preserved.  These timers are pretty darn good for what can be done with them.

The video shows the signal going from Red to Green then back to Red, then to Green automatically just like the prototype.  It is not based on a timer, but Current Detection.
his is the DOWN signal.  Still need to build and deploy the UP Signal.  I spent the last 6 weeks just focused on this task.  The detection uses Current Sensing for total reliability.
I still have to "dress" the signals by adding a ladder and landing zones.



Monday, February 18, 2019

Some Ballasting work done - photos

The last few weeks I haven't done any further scenery work as I have still been engaged in the signalling part things.  Now that I have most of my fixed signalling in place, I was looking at how to use the 555 and 556 timers to
drive my Automatic signals - I thought it would be really cool to see automatic signals which were used on the Western line actually behave like the prototype - which is to automatically not only switch to Red when the train
passes the signal but also then change to Green before the approach of the next train.  As I told you previously, my inner loop represents all those country miles between stations and I am looking at placing automatic signals like these.
I think realistic signalling makes the layout so much more believable and is worth the time, frustration and effort.
In the mean time, here are some photos of some of the ballasting work that has been done.








Followers

Blog Archive