Automatic Block Signals & Train Control with Lenz Automatic Brake Control

Demo and tests of Block Signaling using Lenz BM3 block modules. Here is how to make trains stop at red signals and to automate block control on your model railway. Also I include some other things you can do with it such as protection for lift up bridges or points.

My intention is to have the entire layout operating with block signals, and to get these to work with the points automatically. At this stage its mainly testing it and giving a demo. When I get in a more final setup I’ll make another post and video on it.

Lenz LI-USB On Windows 8.1 x64 with JMRI

LI-USB
The Lenz LI-USB is the USB interface for the Lenz Digital Plus Train / Model Railroad Layout control. The idea is to allow computer control of your model railway.

Lenz however have only ever released very primitive software and drivers which only work on Windows XP. As Windows XP support ends in April 2014, and because I don’t wish to run a separate computer with XP, I decided to make this guide. The frustration I experienced in getting this device to work, with their official software and drives caused me to do things the JMRI way.

Firstly, ignore everything that Lenz says or gives you, forget the CD / drivers or software. Its not required, and JMRI will provide a much better method anyway.

Step 1 – Download Drivers
Get the FTDI VCP Chip drivers from here. You want the Windows Certified Driver in the ZIP file, at the time of writing it was version 2.08.30. For Windows 8 64 bit, you want this one. Download it, and extract the folder to some place where you can find it.

Step 2 – Attach the Hardware
Attach the LI-USB to your Lenz kit, power and layout. Plug in the USB cable to your PC.

Step 3 – Open Device Manager

start_button

Open up Device Manager, you can do this by right clicking on the start button.

 

 

 

Step 4 – Driver Install Part 1

Your device manager should show the LI-USB as having a problem (it has no driver) as below:
part1-1

 

 

 

 

 

Open the properties by double clicking on the LI-USB and click update driver.
part1-2

 

 

 

 

 

 

 

Choose Browse my computer for driver software.
part1-3

 

 

 

 

 

Choose Let me pick from a list…
part1-4

 

 

 

 

 

Choose Show All Devices and press Next.
part1-5

 

 

 

 

 

Windows will then list all of its drivers it has, ignore those and press ‘Have Disk…’
part1-6

 

 

 

 

 

On the popup box, press Browse…
part1-7

 

 

 

 

Navigate to the place where you extracted the files, windows will show 2 potential inf files, choose the ftdibus.inf and press Open.
part1-8

 

 

 

 

 

The next box will list all the drivers in that inf file, choose ‘USB Serial Converter’ this should be the top one in the list, and doesn’t have any letters at the end (not A,B or C etc). Press Next.
part1-9

 

 

 

 

 

Windows will display a warning about the driver not being recommended. This is because the hardware ID on the LI-USB is set different to the FTDI driver file, its safe to continue so press Yes.
part1-10

 

 

 

 

Windows should then install the driver, and show the following message, press close to exit.
part1-11

 

 

 

 

 

The LI-USB will get renamed to USB Serial Converter, and should show as working properly, as below.
part1-12

 

 

 

 

 

 

 

Step 5 – Driver Install Part 2
Your device manager should now update and now show a USB Serial Port as having a problem (it has no driver) as below:
part2-1

 

 

 

 

 

Open the properties by double clicking on the USB Serial Port and click update driver.
part2-2

 

 

 

 

 

 

 

Choose Browse my computer for driver software.
part2-3

 

 

 

 

 

Choose Let me pick from a list…
part2-4

 

 

 

 

 

Choose Show All Devices and press Next.
part2-5

 

 

 

 

 

Windows will then list all of its drivers it has, ignore those and press ‘Have Disk…’
part2-6

 

 

 

 

 

On the popup box, press Browse…
part1-7

 

 

 

 

Navigate to the place where you extracted the files, windows will show 2 potential inf files, choose the ftdibus.inf and press Open.
part1-8

 

 

 

 

 

The next box will list all the drivers in that inf file, choose ‘USB Serial Port’ this should be at the bottom of the list, and might be selected already. Press Next.
part2-9

 

 

 

 

 

Windows will display a warning about the driver not being recommended. This is because the hardware ID on the LI-USB is set different to the FTDI driver file, its safe to continue so press Yes.
part1-10

 

 

 

 

Windows should then install the driver, and show the following message, press close to exit.
part2-11

 

 

 

 

 

The USB Serial Port will get renamed to USB Serial Port (COM #) where # will be the number, remember this as you will need it for the JMRI settings later. It should show as working properly, as below.

part2-12

 

 

 

 

 

 

 

 

The lights for USB (green) and Xpressnet (red) should now be lit on your LIUSB hardware.

Step 6 – Download and install Java
JAVA can be downloaded from here.

Step 7 – Download and install JMRI
JRMI can be downloaded from here.

Step 8 – Configure JMRI
Once installed, start the JMRI Panel Pro. When it opens, it should display the preferences box as below.
jmri-1

 

 

 

 

Choose Lenz for the System manufacturer, Lenze LIUSB for the System connection, and enter the port number from step 5 (COM#). Press Save.
jmri-2

 

 

 

 

JRMI will then offer to restart PanelPro, choose Restart.
jmri-3

 

 

 

Step 9 – Test & Wagons Roll
From the Tools menu, choose Throttles then New Throttle.
jmri-4

 

 

 

 

 

When the Throttle box opens, type in the number of the Loco / Engine into the address panel on the bottom right and press set.
Note – On this picture you may notice the power button on the top is red, this will depend on if your track power is on or not. If track power is off, (red) press the button to turn it on.
jmri-5

 

 

 

 

 

 

 

The throttle should now look something like the one below. Try moving the Loco by using the slider on the left, change direction with the forward/reverse settings or try the lights / sounds etc by pressing the function buttons. If nothing happens, check all the connections on your hardware and or reboot the machine. Also make sure you typed in the right address for the loco that’s on the track!

jmri-6