New videos

Turntable II — Final

Universal model railway turntable. Final episode.

Universal sketch for Turntable II

Programming Arduino sketch for railway turntable

Rotation mechanism

How make the turntable mechanism

Turntable II

Story of turntable design

Example of Passing siding

Wireless Railway Unit

Introduce WRU

New era of URBs


Okay, I'm done playing yours games. I'm tired of yours indifference to my project



Real trains traffic on a layout

I am very grateful to Pete for the sent videos with the automatic movement of trains under the control of my URB system.


Small layout

Turntable II


Increase in diameter

Today I will install the new turntable mechanism то the small layout

Modification Layout for Turntable


YouTube problem

Videos on the site have stopped playing. And the same thing happens with all embedded videos on other sites. It is not clear whether this is a temporary YouTube error, or whether in this way YouTube decided to motivate site owners to abandon the video embedding function.

All these videos can be played without problems only on the YouTube website itself.

YouTube errors


Turntable II design completed

I have been designing a universal locos turntable six months. Five unsuccessful attempts with different types of rotating mechanisms. Three motor options. And every attempt ended in failure. I was already desperate. It was only thanks to the support of Erik and Alain that I continued with the design.

120 sketches options and two months behind this screenshot. And so I present you a simple screen shot from Arduino IDE. And that means the new design is working!!!

New turntable counter algorithm


First external WRU

My compliments to Alain who made his own copies of the wireless units... Vive la France!

WRU from Alain


Wireless Railway Unit documentation

WRU docs


Next step of URB Project — Wireless Railway Unit

Soon new hardware and new features.

Track-plan for Wireless Railway Unit


Wagon unloader

I received a message from the winner of the 2020 contest:

Good afternoon Steve. These wagon unloader. Where they could be in URB and what would be the button in the APP.

Greetings – Francisco Rodriguez

Wagon unloader track-plan

Ok! Since the purpose of the buttons in my applications is determined by the user in the COMM sketch, I offer one of the many options for connecting and controlling these mechanisms. There are 6 decouplers in the picture, that is, the task is to manage each of them individually.

The Protocol has a command for managing functions — fa0z (fb0z) and fa1z (fb1z) (Custom button). This button is located in the train control interface in the application, unlike the lighting control buttons and layout elements. Since the control of the decouplers is associated with the movement of the train (and the controls of the locomotive), it is logical to assign this button. The next question is that there are six decouplers, and, accordingly, you need to choose only one at the moment.

In the track-plan, three decouplers refer to Driver A and three to Driver B. Then the GEARS buttons in the application will be responsible for selecting a specific decoupler, and the CUSTOM button will activate it for a few seconds. The control of the electromagnet of the decoupler is in no way different from the control of the point-motor of the turnout switch, but it only has one channel. That is, it is even simpler, it is enough to take the Auto OFF algorithm from the snippet and the sketch for the local URB unit is ready.

In the COMM sketch, it is enough to make a choice according to the GEAR buttons, and then send the command for activate decoupler to local unit already programmed earlier. That's all, nothing complicated.


Turntable II

New stepper motor NEMA mounted on turntable.

Stepper NEMA 17 Turntable


Successful stepper motor test

I wrote a sketch to control this motor through the A4988 motor driver. The basic idea is to use step 1/16 and rotation control without using the Arduino libraries. You can download the sketch from the link.

Stepper NEMA 17 snf URB unit


New design. New content.

New version of site are released.


Need your opinion

I am making a new version of the site with an extended description and examples. Today I finished a new example for a signal system. It will be very interesting for me to read your opinion about this. Write me about it to


My plans

I made some mistakes introducing my project. Despite the fact that on my site and in my videos I repeated a phrase about the use of ANY microcontrollers, modelers stubbornly considered the need to use the URB unit as the main obstacle to using the project. I also counted on the independent programming of the project participants of their layouts. What also turned out to be a mistake, people do not want to program and they insist on ready-made examples.

I'm tired of trying to explain this situation, and I will redo my site into simple ready-made solutions. For advanced users who are able to independently program information "how do" will only be in the URB Club.

I received a new motor with a gearbox from China, and, unfortunately, it turned out that its characteristics (inertia when stopping, backlash of the output shaft, errors of position sensors and a small range of speed control) do not allow its use it for the turntable. I am very upset about this, but the turntable design will be completed using a CNC stepper motor. To do this, I need to learn using my 1310 machine to produce gears, which I will do.


For big layouts with Interlocking

Arduino MEGA and URB units