Make a donation
Donators get access to the extended part of the site + bonus: Arduino Train DNT application. For experiments and regular updating of the site, I need funds. I also have another project that you will like. If you are interested it, support me via donations.
News behind the scenes and important information
Dear friends! In the beginning of September, I closed the group on Facebook, because its management took me a very long time. I did not have time to update the site and develop the project.
I understand that Facebook was a convenient platform for you – but the problem is that it is not indexed by search engines and the groups are closed to an external visitor. Therefore, I suggest that you use the Reddit.com portal.
Welcome, it will be interesting!
Yesterday I began to upload in a new sketch of the project in a Arduino NANO and could not do it. I find solved this problem and eventually found out that it arises after the update of Arduino IDE to 1.8.7. As a result, I put the checkbox "old bootloader" and this was the solution. But I received the most interesting information later from Reddit:
Comment from sleemanj to SteveMassikker via /r/arduino sent 5 hours ago
Yeah, a particularly bone-headed decision by Arduino if you ask me, new Nano boards have a bootloader running at 115200 instead of 57600 like all other 16MHz bootloaders previously.
So now everybody, even those using official Nanos sold before this year, may need to choose the "old bootloader" option, and know to do so.
Very thankful, Sleemanj!
Complete modules for a model railway
Set of railway modules and sketches Arduino.
The URB project opportunities allows you to design individual modules, and then combine them together to obtain ready-made designs. A detailed video for the production of all modules is present on my YouTube channel. All modules have a flat base, which allows them to be used in the absence of sublayout's space – that is, they can be used on the floor and on the table, which distinguishes them from other similar designs.
The bidirectional interlocking module
Soon new module
With this module, I begin part about the Automation of train traffic using the project URB. The main question arising in many people of community of railway modeling – Why needed the Automation? First of all, in order to avoid the dismal fate of moving a lone train via a circle (most videos with train models on the Internet look exactly this way). Your layout is completely transformed when several trains move on it, see my video – the feeling of playing together is much stronger. The problem is that the modelling is very individual and the partner for the game is not always there, and even with the DCC control you need a second participant and a corresponding set of DCC equipment. My project is initially designed to manage a lot of participants and without additional equipment. So, my suggestion is to solve this problem, need adding the possibility of self-propelled trains by adding sensors to your layout. Secondly, it's interesting and not boring.
This module has advanced settings, in the control Arduino sketch you can individually adjust the speed of the barriers, their position and use any lighting effects. The rail crossing is managed automatically or from my applications, or from computer.
Full description and sketches for the rail crossing is in the Donators Zone.
When developing my signals, I took into account first of all the maximum manufacturability and the cost of their manufacture. This design assumes a mass production of signals by the modeler. In addition, the signals are very strong and maintainable.
A universal and reliable turnout's point-motor suitable for any scale. See also the video for adjustments details.
Ready-to-use set of URB project components and sketches for classic Track Sets.
At the beginning of each module description, the set of components required to install the control for this set of rails is given. It is only necessary to connect the elements of the URB project according to the scheme and upload the ready firmware (sketch) to Arduino.
Many manufacturers of railway models produce sets of rails for the construction of classical railways. For your convenience, I've made a section where you can take a ready-made solution for such sets and using it. Simply start controlling trains, signals and turnouts without the sketching writing process.
Connect power to these circuits you can see here.
One way Yard
To this example, I made two sketches and two schemes for connecting the URB unit. The first circuit and sketch are designed to use the servo as an point-motor. The second example relates to the electromagnetic coils actuator for switching the turnout.
Pay attention to the connection of the wire + 12V to the INDUCT jumper, since an inductive load is used in example 2. In some cases (if the coils point-motor are released long time enough), there may not be enough current for switching, in this case connect two outputs of the ULN2003 chip in parallel (PD5+PD6 and PD7+PD8), and, accordingly, change the second sketch.