Programming Arduino sketch for railway turntable
Using A4988 driver for turntable position control. Coding sketches.
1.2K
views
How make G-code
Hello, again, railway modellers!
I hope you are interested in the topic of using CNC and 3D-printers
to accelerate your layouts development and implementation of
your ideas.
It seems to me that the main obstacle to mass application in
machine tool modeling is the complexity of programming parts.
This is a really incomprehensible and complex process, and it is
further complicated by the software. I do repeat the thesis from
the previous video, I am of the opinion that using a CNC should
be no more difficult than using your usual hand tools.
I think I've found a solution...
4.78K
views
3
comments
How set unique name to your Bluetooth HC-06 module
Rename your HC-06 using AT commands
10.2K
views
1
comment
CNC 1310. Upgrade Spindle. Configure GRBL.
GRBL instructions - https://github.com/gnea/grbl/wiki/Grbl-v1.1-Configuration
Candle app - https://github.com/Denvi/Candle
4.54K
views
CNC 1310. Update firmware to Grbl 1.1h
How to update GRBL Control Board to GRBL 1.1h
Step-by-step instruction
4.59K
views
CNC 1310. Correct assembly of the Anti Backlash unit
This is first video about my CNC 1310. I'm going to use it for railway modelling hobby and show you its capabilities.
4.47K
views
Wireless Railway Unit (WRU) vs URB unit
The Wireless Railway Unit is compatible with all sketches, algorithms and Protocol of the URB project. The only difference is the use of wireless data transmission instead of wired buses. You can mix WRU with URB units or other microcontrollers (MEGA, ESP and etc.) in any way.
Available only for members of URB Club.
4.21K
views
5
comments
PWM frequency test of real model trains
The default PWM sampling frequency for ATmega328 and ATmega2560 is from 500 to 1000 Hz, depending on the selected GPIOs and Timers of MCU. These frequencies are in the sound range, and you can hear the unpleasant squeak of the engine of the locomotive, especially at the start moving. Preconceived opinions of some modelers is the need to set the PWM sampling frequency above 16 kHz so that this squeak is not audible. This is the wrong opinion – the higher the PWM frequency, the worse the traction characteristics of the DC motors.
My experience gained as a result of my own experiments is confirmed by manufacturers of model locomotives with DCC control – do not increase, but rather lower the frequency. The frequency of the PWM on DCC decoders is about 100 Hz.
This video shows the relationship between the frequency change and the movement of the locomotive
35.3K
views
1
comment
5. Introduction to URB system. Interlocking Games.
Real railway layout working on CTC. Example of gaming.
21.8K
views
2
comments
4. Introduction to URB system. Centralized traffic control system
Themes:
- Centralized Traffic Control (CTC)
- Main CTC problem in the management of model railways
- Feedback as on real railway. Multicontrol
- URB: indicate of state of track anywhere
- Arduino Train DUO as dispatcher
10.8K
views
3. Introduction to URB system. Sensors
Themes:
- Sensor's events. Latch mode
- Boolean variables
- Analog and digital sensors. Signal processing
- Several sensors as one
- Train autostop example (using AWS feature)
21.9K
views
2. Introduction to URB system. Power& Accessories
Themes:
- Power supply for URB units. Maximum current
- Pulse with modulation (PWM) pins of Arduino
- Example of connections
5.85K
views
1. Introduction to URB system. Remote control
Themes:
- Serial communication
- I2C bus. Routing. Wire Library
- Arduino IDE Terminal
- Software serial library. Functions.
-Working a Remote Control example
5.96K
views
3
comments
Universal model railway turntable. Final episode.
The URB system can control any mechanisms on the railway. As an example, I have developed an original design of a turntable. The basis of this turntable is Body Twister Fitness circle.
I have been designing and assembling this device for six months and this video shows the final result. If you are interested in watching the process of creating this mechanism, then write and I will publish the rest of the videos of creating the turntable.
76.2K
views
2
comments
Double Slip Switch vs. Two Turnouts
Why is a Double Slip Switch used instead turnouts
7.8K
views
4
comments
Lesson 5. Arduino - BitSet & BitClear
Using functions BitSet and BitClear for switching many of LEDs via I2C
251
views
1
comment
DIY Rudder Pedals for Flight Simulators. Part III. Final design.
Presentation of the final design of the rudder pedals from the fitness stepper. Design features and manufacturing method.
5.57K
views
Lesson 4. Arduino - Parsing I2C commands
Example of transfer data between several URB units.
308
views
Lesson 3. Arduino - Parsing Serial Data
Parsing incoming commands from smartphone to Arduino.
216
views
Lesson 2. Arduino I2C Networking - Sketch structure
Principles of creating a distributed railway layout management system.
260
views
URB unit - universal electronic device for controlling a model railway
Simple and cheap solution for model railway control
493
views
3
comments
Lesson 01. Arduino IDE - operations with multiple sketches
Introduce to hardware for URB railway control system
327
views
Lesson 7. Writing Arduino sketches for your own model railway layout
Final part of lessons. Examples and sketches - https://arduinorailwaycontrol.com/docs.html#sketches
224
views
1
comment
Original Arduino IR sensor module for train detection
On this module I separated the infrared sensor emitter and receiver. These details deployed relative to the rails by 45 degrees and are located at a certain height above the rails. Also on the receiver is a black slit mask that removes stray radiation.
The height of the sensor and the IR-LED above the rails for different scales is selected experimentally based on the minimum horizontal continuous line of wagons in your collection.
This design allows you to get a guaranteed signal of the presence of a train at the sensor zone. The system works correctly at any speed of the train, any the number of cars or types of cars and any length of the train.
27.6K
views
3
comments