Thursday, 12 February 2015

Raspberry Pi 2

Today I received the Raspberry Pi 2 Model B, that I had ordered two days ago.




The Pi will be used to control the SPROG IIv3 by running JMRI. Luckily the latest NOOBS (1.3.12) has the java runtime environment 1.8.0-b132 installed, so I only had to download the latest JMRI production version (3.10.1) for Linux.

JMRI DecoderPro3 running on the Raspberry Pi
Using Putty and Xming on windows to access the Raspberry Pi and run DecoderPro3

Hardware used:
  • Raspberry Pi 2 Model B
  • USB Wifi Adapter
  • SPROG IIv3 with USB lead.
  • Mobile phone (Samsung Galaxy S4) charger and USB lead, as it is already plugged in. Otherwise any USB power supply that can provide 1 amp or higher with a micro USB connector.
Software Used:

Update

I just tried the Pi out with my SPROG via JMRI which had a communications issue which was solved by reading the JMRI users group. The issue is the pi does not like the JMRI armv71 library, the solution is to overwrite it with the armv61 library. The thread to read on the JMRI users group is Raspberry Pi 2 model B - help please.

$ pwd 
/home/pi
$ cd JMRI/lib/linux
$ pwd
/home/pi/JMRI/lib/linux
$ sudo tar -zcvf armv7l.orig.tar.gz armv7l
$ sudo cp -v armv6l/* armv7l/

SPROG IIv3 and Raspberry Pi 2 Model B connected together via USB

Layout planning update

After some consultation with other modellers on the N gauge forums, I have come to the realisation that I should model a heritage railway line. As this will allow me to use equipment from various periods of UK rail history. Like the Dapol HST (Class 43 in Intercity Swallow livery) that I have on order.

I am currently figuring out a history for my heritage line, listed below is a draft of my ideas for the history:
  • It was originally a branch line linking two main lines, and had a junction for another branch line that terminated at a rural community.
  • Was closed down due to the Beeching cuts.
  • Not all of it could be saved, as local governments wanted the land for development purposes.
  • Thus the main facilities and terminus used to be a through station and junction:
    • The junction still exists and so does the branch line that ends at a small rural community.
    • The other part continues onto one of the main lines.
    • The other mainline link is gone, thus the terminus station.

Currently I have three stations to choose from to model, I have listed below a draft of my vision of the three stations:
  • Branch branch line terminus
    • Rural station
    • 1 main platform (4 ~ 6 coaches) with a bay platform (3 coach DMU)
    • turntable to turn locomotives around (including diesel)
    • one or two through sidings - runaround and freight breakdown.
    • small goods shed and cattle dock
  • Branch line terminus (previously a through station)
    • Previously the through station.
    • Three platforms that can handle rakes of 6 coaches
    • One bay platform that can support a DMU of 3 coaches or a steam push pull train consisting of a tank engine and a rake of two coaches.
    • With heritage rail takeover the following was facilities were implemented:
      • coach and locomotive depots
      • steam and diesel refueling facilities
      • DMU stabling yard (including fueling)
      • Automatic carriage cleaner
      • Carriage stabling yard
      • Locomotive storage
      • turntable for turning locomotives around to face correct direction.
      • small freight handling area
      • Food preparation facility and loading bay for kitchen/buffet cars.
  • Branch line meets mainline station
    • one island platform under network rail
    • heritage rail control:
      • one island platform plus two bays in middle of platform which are heritage rail.
      • or one platform plus bay platform, and then one half of a island platform, the other half under network rail control.
      • locomotive water supply at both ends.
      • colour light signals, as track on southern end joins back into the national railway (network rail).
      • In order for points to be set for the heritage rail to access the main line. Network rail via their control system needs to authorise local control of points (station signal box). Once movement is done, the signal box is required to return control to network rail. Network rail can override this but only in a safe manner. (If a train is already occupying the block or is on the points, then the points can't be changed).
      • Track heading south is by default set to head shunt. Alternate path is onto network rail.
      • There is a turntable access via head shunt.
      • There is a draft plan from network rail, to allow heritage rail northbound from platforms access to network rail northbound track. This is to facilitate northbound network rail steam trains, and emergency usage of extra platforms for non electrified equipment.
Of the three ideas, the branch branch line terminus appears to be the easiest, and will most likely to be my first construction project.

Draft plan of the Branch branch line terminus.
Based on measurements from the draft plan shown above, I should be able to fit a HST with a rake of 7 coaches easily on the main platform. Alternately I can fit a rake of 6 coaches for a regular locomotive hauled passenger train. The bay platform can handle a DMU rake of 3 coaches or a push pull fitted passenger train of 1 locomotive and a rake of 2 coaches.