![Digital Town](/img/default-banner.jpg)
- Видео 126
- Просмотров 198 909
Digital Town
Великобритания
Добавлен 15 июл 2021
#126 Arduino for Model Railways - Servos part 2 Speed control
Part 2 looks at how to control multiple servos using micros() and millis() to control the movement speed.
The final sketches create a couple of simple to use functions to make projects easier to build.
an extra sketch servoMove7 was added to the zip file after the video. This presets the servo to the 90 degree position. Check the READ_ME file for details.
Servo Turnout Mounts STL: cults3d.com/:2653409
Kadee Uncoupler STL: cults3d.com/:2652304
Fore code examples and circuit diagram go to
www.digitaltown.co.uk/projects.php#rail
The final sketches create a couple of simple to use functions to make projects easier to build.
an extra sketch servoMove7 was added to the zip file after the video. This presets the servo to the 90 degree position. Check the READ_ME file for details.
Servo Turnout Mounts STL: cults3d.com/:2653409
Kadee Uncoupler STL: cults3d.com/:2652304
Fore code examples and circuit diagram go to
www.digitaltown.co.uk/projects.php#rail
Просмотров: 187
Видео
#125 Arduino for Model Railways - Servos part 1
Просмотров 37921 час назад
This series covers how to use servos to control turnouts, uncouplers and animations. This lesson covers the basics of installing servos and how to avoid issues with the wiring including cross talk. The main project is creating a servo setter to make it easier to work out the angles that the servo needs to move to in your project. Servo Turnout Mounts STL: cults3d.com/:2653409 Kadee Uncoupler ST...
124 Arduino C++ nowRail model railway control - nowRail v1.2.1 loco controller Updates
Просмотров 26514 дней назад
nowRail 1.2.1 adds some new features to the system. There is a small modification to the NCE Cab Bus interface. The other changes allow consisting in the touch screen controller as well as the ability to transmit loco data between controllers. More information, connections and code are available free at: www.digitaltown.co.uk/nowRail.php The 3D print files for the case are now available free at...
3D Printed Turnout Servo Mount with Microswitch
Просмотров 26121 день назад
Instructions on how to build the Digital Town servo controlled point (turnout) controller. The unit can also switch frog polarity using the optional microswitch. I used an Ender 3 but any 3D printer should be fine STL files is at: cults3d.com/:2653409 Further information and updates are at: www.digitaltown.co.uk/3D.php
3D printed Servo controlled Kadee Uncoupler
Просмотров 70321 день назад
Instructions on how to put together a 3D printed servo controlled Kadee uncoupler. The servo controlled Kadee uncoupler was 3D printed in PLA and was tested on a couple of cheap Ender 3 machines. STL files are at: cults3d.com/:2652304 Further information and updates are at: www.digitaltown.co.uk/3D.php
#121 Arduino C++ Lesson 20 joystick control of L298N motor driver speed and direction
Просмотров 22521 день назад
Building on lesson 19 this lesson shows how to use the joystick to control bothe the speed and direction of motors and allows for a skid steer style direction control. As always the code uses millis for timing so is non-blocking state machine code. For more information, code and circuit diagram visit www.digitaltown.co.uk/lessons.php
#120 Arduino C++ Lesson 19 DC Motor Control, direction and speed using l298N motor driver
Просмотров 52528 дней назад
This lesson shows how to use the L298N motor driver board to control motor direction and speed when combined with PWM (Pulse Width Modulation). As always the code uses millis for timing so is non-blocking state machine code. For more information, code and circuit diagram visit www.digitaltown.co.uk/lessons.php
#119 Arduino C++ VL53L0X Time of Flight Distance Sensor
Просмотров 337Месяц назад
Arduino C tutorial showing how to use a single or multiple VL53L0X sensors including a simple method to calibrate the sensor. Tutorial deals with some of the issues with libraries as well as some of the issues and differences between different VL53LX packages. For more information, circuit digrams and sample code for the VL50L0X visit the resource page at: www.digitaltown.co.uk/components.php#V...
#118 Arduino C++ nowRail model railway control - nowRail LCD touch screen loco controller
Просмотров 4702 месяца назад
This video shows how to set up the nowRail LCD touch screen loco controller. This screen was designed with DCC-EX as the base station however it also runs with the NCE CAB bus via the nowRail interface. The screen controller costs about £15 to build and is able to store up to 200 locos details. More information, connections and code are available free at: www.digitaltown.co.uk/nowRail.php
#117 Arduino C++ nowRail model railway control - Servo control with PCA9685
Просмотров 3622 месяца назад
From version nowRail version 1.1.0 speed control has been added to PCA9685 servos. This means that users can set the time they want the servo to complete the operation in. This video shows how to implement PCA9685 servo in nowRail with and without speed control. More information and circuit diagrams are available at: www.digitaltown.co.uk/nowRail.php
#116 Arduino C++ Lesson 18 Project design, choosing sensors to build a model railway speedometer
Просмотров 4422 месяца назад
In this lesson I will go through the steps and considerations when choosing sensors for a project, in this case a speedometer for a model railway. Issues such as sensor speed v's ability to physically build the project. This project uses the 1602A I2C screen combined with a debounced button and 2 IR sensors. As always the code uses millis for timing so is non-blocking state machine code. For mo...
#115 Arduino C++ Lesson 17 1602A I2C LCD screen and String padding
Просмотров 4403 месяца назад
A basic introduction to connecting the I2C version of the 1602A LCD screen as well as how to deal with removing old data from screen and methods for string padding. As always the code uses millis for timing so is non-blocking state machine code. For more information, code and circuit diagram visit www.digitaltown.co.uk/lessons.php
#114 Arduino C++ Intergrating buttons and LED's with DY-HV20T DY-HV8F DY-SV8F DY-SV5W MP3 Players
Просмотров 1 тыс.3 месяца назад
This video shows how to integrate buttons and led sequences into an MP3 sound project using the DY-HV20T DY-HV8F DY-SV8F DY-SV5W MP3 Players. The examples given use 2 buttons, the busy pin and an external LED but can be expanded. Based on a model railway style project one button plays the background sounds in a random order while the other button plays a single track that interrupts the backgro...
#113 Arduino C++ nowRail model railway control - Background sound using MP3 players with nowRail
Просмотров 2913 месяца назад
This video shows how to implement background sounds onto your layout with the built in MP3 control within nowRail. The system works with the 10w DY-HV8F and DY-HV20T, the 5W DY-SV8F and DY-SV5W boards as well as a few others. Single tracks can be played or multiple tracks played randomly as well as volume control. More information and circuit diagrams are available at: www.digitaltown.co.uk/now...
#112 Arduino C++ DY-HV8F, DY-HV20T Mp3 player module with ESP32, Arduino UNO and Arduino Mega 2560
Просмотров 1,5 тыс.3 месяца назад
This tutorial shows how to trigger the next track to play using the busy pin with communication over Serial (UART). An extra sketch has been added to the ZIP file with an improved random time of play as well as a bug fix on sketch v2 The commands sent build on the lessons learnt with the DY-SV5W with the UNO/Mega at: ruclips.net/video/e7qd2Nu3Iss/видео.htmlsi=lhhR2iO-sVUXBeED and the ESP32 vers...
#111 Arduino C++ - Lesson 16 Creating a multi mode button with Arduino Uno
Просмотров 4743 месяца назад
#111 Arduino C - Lesson 16 Creating a multi mode button with Arduino Uno
#110 Arduino C++ - Lesson 5B Using toggle switches with the Arduino Uno
Просмотров 3285 месяцев назад
#110 Arduino C - Lesson 5B Using toggle switches with the Arduino Uno
#108 Arduino C++ nowRail model railway control - PCA9685 LED's control and effects
Просмотров 4056 месяцев назад
#108 Arduino C nowRail model railway control - PCA9685 LED's control and effects
#107 Arduino C++ Lesson 15 - External interrupts reading digital signals
Просмотров 2976 месяцев назад
#107 Arduino C Lesson 15 - External interrupts reading digital signals
#106 Arduino C++ - Lesson 14 External Interrupts - Rotary Encoder
Просмотров 3687 месяцев назад
#106 Arduino C - Lesson 14 External Interrupts - Rotary Encoder
#105 Arduino C++ - nowRail model railway control - NCE Cab Bus
Просмотров 3087 месяцев назад
#105 Arduino C - nowRail model railway control - NCE Cab Bus
#104 Arduino C++ - Lesson 13 - 28BYJ-48 Stepper motor with ULN2003 driver. Part 2
Просмотров 2437 месяцев назад
#104 Arduino C - Lesson 13 - 28BYJ-48 Stepper motor with ULN2003 driver. Part 2
#103 Arduino C++ - Lesson 12 - 28BYJ-48 Stepper motor with ULN2003 driver. Non blocking, no library.
Просмотров 9037 месяцев назад
#103 Arduino C - Lesson 12 - 28BYJ-48 Stepper motor with ULN2003 driver. Non blocking, no library.
#102 Arduino C++ - Lesson 11 Advanced Servo Control
Просмотров 4827 месяцев назад
#102 Arduino C - Lesson 11 Advanced Servo Control
#100 Arduino C++ nowRail model railway control - Version 0.7.2 Updates
Просмотров 3367 месяцев назад
#100 Arduino C nowRail model railway control - Version 0.7.2 Updates
#99 Arduino C++ - ESP32 mac address issues caused by ESP32 v3.0.0
Просмотров 7888 месяцев назад
#99 Arduino C - ESP32 mac address issues caused by ESP32 v3.0.0
#98 Arduino C++ - Lesson 9 Arrays and for() loop
Просмотров 2858 месяцев назад
#98 Arduino C - Lesson 9 Arrays and for() loop
#97 Arduino C++ - Lesson 8 Combining sensors and outputs part2
Просмотров 3258 месяцев назад
#97 Arduino C - Lesson 8 Combining sensors and outputs part2