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

2 comments:

  1. Hi Dylan !
    I just started to build up such a system and that post was a big help.
    Thanks a lot!

    ReplyDelete
  2. I recently got this setup beautifully and plan a full write up soon for the JMRI site. I didn't have the ARM issue you mentioned. I did have to disable ipv6 to get withrottle working properly. And I used vino for remote viewing of the desktop via any vnc client.

    ReplyDelete