Jump to content
 

RudyB

Members
  • Posts

    272
  • Joined

  • Last visited

Everything posted by RudyB

  1. EEP Lua Automatic Train Control Example 5 Video 5 is online. It shows automatic traffic on a real model railway layout (the one I had at home before my move) with 7 trains on 27 blocks and 43 routes. You can have similar automatic train traffic on your own EEP layout by configuring your layout as shown in videos 1-5. Link to the video. Link to Github for download of the complete package.
  2. EEP Lua Automatic Train Control Example 4 In this fourth video on how to create automatic train traffic on any EEP model railway simulator layout, using Lua but without the need to write any code yourself, we'll add some dead end blocks to the layout and we’ll place a third train. After we configured the layout in Lua we have a couple of minutes of happily driving around … without collisions. Link to the YouTube video.. Click this link to download the files, including examples and a user manual, from Github. Click the 'Code' button followed by 'Download ZIP'.
  3. EEP Lua Automatic Train Control Example 3 In this third video on how to create automatic train traffic on any EEP model railway simulator layout, using Lua but without the need to write any code yourself, we'll add a two way block to the layout and see how to configure this block in the Lua data. Link to the YouTube video.. Click this link to download the files, including examples and a user manual, from Github. Click the 'Code' button followed by 'Download ZIP'.
  4. EEP Lua Automatic Train Control Example 2 In this second video on how we can have automatic train traffic on any EEP (model) railway simulator layout, using a Lua script, we have four blocks and we add a second train. The video shows how this layout is specified in Lua. Link to the YouTube video EEP Lua Automatic Train Control Example 2. Click this link to download the files, including examples and a user manual, from Github. Click the 'Code' button followed by 'Download ZIP'.
  5. EEP is a (model) railway simulator program on PC. It contains Lua software, via which users can add their own code to accomplish tasks. I thought it a challenge to try if automatic train control, like on a real layout can be done with TrainController, would be possible inside this sim. This is the first video in a series to demonstrate how automatic train traffic can be generated on any EEP (model) railway simulator layout, using a Lua script. The user doesn't have to (re)write any code, all that is needed is to define the layout by entering data on trains, signals and routes in a set of tables. This is the link to the YouTube video EEP Lua Automatic Train Control Example 1. Click this link to download the files, including examples and a user manual, from Github. Click the 'Code' button followed by 'Download ZIP'.
  6. SCARM video 7: Flexible Rail Make any length or any (S) curve you like with flex / flexible rail. SCARM will snap when you close a gap. Link to SCARM video 7. – o –
  7. SCARM video 6: Rotate a selection Video 6 shows three ways to rotate a track selection. Link to SCARM video 6. – o –
  8. SCARM video 5 Edit: Select, Move, Copy, Paste, Delete. In this SCARM video we'll have a look at editing ... how to select, move, copy, paste, delete tracks. Link to SCARM video 5. – o –
  9. SCARM video 4: how to create a baseboard - Automatically generate a rectangular board - Free form drawing with the mouse - Create a board by entering its coordinates in the toolbox - How to add, delete, move line points Link to SCARM video 4. – o –
  10. SCARM video 3: Rulers, Grid, Units, Dimensions The third SCARM video is about choosing mm or inches as units, about the rulers, the workspace grid, and how to use the measuring tape. Link to SCARM video 3. – o –
  11. SCARM video 2: Pan and Zoom If a layout starts to grow larger than fits on the monitor screen the need to pan and zoom arises. This video shows how to manipulate the screen. Link to SCARM video 2. -- o --
  12. The previous videos on SCARM that I once made in the mean time are 8 years old. It's about time to renew them with higher quality HD video. This is the first video of a new series on SCARM.
  13. The Arduino sketch that can be downloaded from the links posted here before already has all that's needed. There are 6 PWM outputs, so it's possible to mix say 3 different colors of white to resemble day light, sunny, overcast, what ever, and then maybe an RGB strip to add just that little red or blue to better resemble mornings (add some red) or evenings/nights (add some blue). The code uses presets which when selected send out any preconfigured combination of the 6 PWM outputs, ranging from 0-255. The fade time between presets is configurable. And then there also is a sequencer that steps through the presets with a wait time and a fade time per preset. The presets and the sequencer can be switched in 3 ways: - connecting a range of Arduino inputs to GND, to accommodate the use of hardware switches - via the Arduino serial interface, sending PC keyboard commands - Via DCC (a Command Station, maybe controlled via a program like Traincontroller) Every preset has a DCC address, the sequencer had one too, and the 6 individual PWM channels each have two DCC addresses, such that they can even be individually controlled, up or down, using 12 DCC momentary switches.
  14. Sure, such a 'freeze' input should be possible via some kind of additional 'if - then' construction to not execute the time dependent parts.
  15. Arduino DCC LED strip control (and hence also via Traincontroller, as shown in the video): https://rudysmodelrailway.wordpress.com/2016/01/24/rgb-led-strip-control-with-arduino-and-dcc/ https://rudysmodelrailway.wordpress.com/2016/02/23/rgb-led-strip-control-via-dcc/ You could also have a look at www.arcomora.com and download free Arduino DCC decoder software. In the user manual it's shown how to connect the FET modules. Build your own FET switches or get these very cheap ones: https://www.aliexpress.com/wholesale?catId=0&SearchText=arduino+fet+module
  16. I got mine from Aliexpress. There are plenty to be found there: https://www.aliexpress.com/wholesale?catId=0&SearchText=led+strip+cri95
  17. The cheap LED strips don't have a specified CRI, but 'warm white' usually is quite OK. It's also possible to combine a white strip with an RGB one and mix in just a little bit of yellow, or red or blue. LED strips with a specified CRI can also be had, they are used for more critical applications, like photography. I got myself two different shades of white CRI specified strips for a photo booth I made. They usually are about 5 times more expensive at around $25 vs around $5.
  18. One of the easyest ways to mount a servo for a turnout is shown in video 30: https://rudysarduinoprojects.wordpress.com/2019/05/13/fun-with-arduino-30-dcc-servo-decoder/ As far as frog polarization is concerned I would like to point to the free Arduino software on this website: www.arcomora.com It's a further evolution of the Arduino DCC decoder and it's fully configurable via USB, servo angles, frog polarization and more.
  19. Have a look here. These are the servos and optical sensors I used, acquired at Aliexpress. The transmitter and receiver were cut lose and placed opposite each other along the track to detect the train by obstructing the IR beam. https://rudysarduinoprojects.wordpress.com/2019/03/07/fun-with-arduino-19-railway-crossing-train-detection-optical-sensor/
  20. Have a look at www.arcomora.com and download the software. With the free Mardec software you can control servos either via DCC or via an input signal from a push button or a sensor. The whole software can be configured via PC and also the angles needed for open or close of the turnout can be tuned via PC.
  21. Fun with Arduino 41 Real Time Clock DS1307 The station platform clock of the previous video runs, but it shows a random time. We can add a Real Time Clock module to have it show the current time. Several versions of Real Time Clock modules are available. This video is about the DS1307 RTC, which can be had for under $1,-. Link to Fun with Arduino 41 Real Time Clock DS1307
  22. An oscilloscope is an invaluable tool to any electronics hobbyist. They can be had from a bit over $200 up to multiple thousands, dependent on specifications whereby max measurable frequency is an importand price factor. If you don't need to measure frequencies over 20 MHz a portable USB scope with a very affordable price tag of about $60,- can be a very nice tool. A laptop or an Android phone / tablet serves as display. I recently got myself the Hantek 6022BE and I am very pleased with it. The video shows an overview of six diferent software apps that are available for it. Future video's will go into more detail on the individual apps. Link to Hantek 6022BE Overview of Six Software Apps
  23. Fun with Arduino 40 - Station Platform Departure Display with Analog Clock In the previous video we attached an OLED and we saw how to display a text and some lines. In this video we take this a step further, we'll make a station platform train departure sign with a working analog clock. Via digital inputs a selection can be made of 6 different messages to display. This can be controlled via push buttons or via a DCC decoder. The clock starts at a random time, this requires no other hardware than the Arduino and the OLED. In the next video we'll add a Real Time Clock module to make the clock run on actual time. Link to Fun with Arduino 40 Station Platform Departure Display with Analog Clock
  24. Have a look at these links that show how to build Arduino controlled LED strip lighting for your layout. https://rudysmodelrailway.wordpress.com/2016/01/24/rgb-led-strip-control-with-arduino-and-dcc/ https://rudysmodelrailway.wordpress.com/2016/02/23/rgb-led-strip-control-via-dcc/ https://rudysarduinoprojects.wordpress.com/2019/01/13/fun-with-arduino-05-connect-multiple-leds-with-a-relay-or-a-fet/ https://rudysarduinoprojects.wordpress.com/2019/02/17/fun-with-arduino-15-led-dimmer-with-pulse-width-modulation-analogwrite/ https://rudysarduinoprojects.wordpress.com/2019/03/21/fun-with-arduino-23-neopixel-addressable-leds-with-ws2812-ic/
  25. Fun with Arduino 39 - OLED display SSD1306 We're going to add an OLED display to the ultrasonic distance measurement of the previous video. Together with a battery it now becomes a fully handheld portable device. This is just for fun, the actual purpose is to introduce the OLED display ... once we have that up and running there's a whole lot of fun and useful applications where they can be applied. Link to Fun with Arduino 39 - OLED Display SSD1306
×
×
  • Create New...