Jump to content
carledwood

Arduino controlled, twin track, winter layout

Recommended Posts

carledwood

Hi, here is the layout I'm building. 
It has 2 independent layers, with two independent control panels (placed on the left and right hand side). 
The idea is that my two kids can play at the same time. 

 

Everything will be operated by an Arduino Mega board. 
Speed and direction of the trains will be controlled thanks to two LR293D IC connected to the Arduino.
I will do the coding according to the control panel I've designed. 

 

The two control panels have switches for lights and other things like red light or the cable car, but right now I'll go through to the main part that operate the trains. 

From left to right (as shown on the picture), there is 

  • a FULL TOP switch – the equivalent of a hand-brake
  • a HARD BRAKE button – to quickly decrease the speed 
  • a SOFT BRAKE button – to gently decrease the speed
  • a HOLD switch – when turned on, the train maintains the current speed, if not it will slowly decelerate (unless the "increase speed" is being pushed).
  • a INCREASE SPEED button – to accelerate 
  • a DIRECTION switch – to go forward or backward

 

I've made a little "back door" underneath the layout. The Arduino board and the other boards are fixed to this door. 
All the cables are labelled and converge there. I try to make it as clean & clear as I can, for maintenance, future improvements and especially troubleshooting while coding the Arduino. 

 

Also, the little door is convenient since the layout is stored vertically (I don't have a lot of room, nor a man's cave 😔). Anyway, I can easily work on the electronics and cabling, while the layout is upright against the wall. 

 

That's it for now. I'll post more details through the next steps. 

I'll happy to reply if you have questions. 

 

I do have a question for the community tough. I've used Minitrix flexible track nailed directly on the 5mm plywood.
I wonder if I should have put cork underneath the track. What's the purpose of it? reduce noise? easy track replacement?

On the other hand, some of my turns are tight, and the nails+plywood hold everything in place very well.

 

Bye for now
 

 

 

 

 

 

01_globalView_0932.jpg

02_lowerPart_0935.jpg

05_commands_0937.jpg

06_boards_0940.jpg

03_sideView_0934.jpg

04_sideView_0933.jpg

  • Like 10

Share this post


Link to post
Yugamu Tsuki

This looks like it's going to be a fun and rewarding build.

  • Like 1

Share this post


Link to post
cteno4

Really nice little layout! Kudos!

 

jeff

  • Like 1

Share this post


Link to post
disturbman

Cork track bed are used for a few reasons: dampening the noise of running trains on hard and resonant surfaces; provide that slightly elevated ballast profile of real tracks when laying non-profiled tracks. I believe some also use it because it makes it easier to reposition or reuse track.

Share this post


Link to post
Martijn Meerts

I do use the cork for sound dampening, but it hardly dampens anything at all 🙂

 

The problem is that once you nail or screw the track in place, much of the dampening of the cork is useless. Glueing track in place and ballasting it also kills much of the dampening. I mostly still add it because I'm just used to doing it.

 

For my H0 projects, I'm going to try using the Woodland scenics foam roadbed. Supposedly that stuff keeps it's dampening properties even after applying ballast.

Share this post


Link to post
disturbman

Haha. The great urban/layout legend of the cork roadbed 🙂

I always thought that it would be best to cover the whole layout base in cork and then add the cork bed if needed. Obviously, if you drive a screw through the cork, you will just transmit the vibrations from the tracks to the base, hence nullifying the dampening. Gluing would probably be better.

 

@carledwoodAh! It's literally controlled with an Arduino. I initinally thought we were talking about automation. How come you decide to make your own controllers? To expand on your skills?

 

 

Edited by disturbman

Share this post


Link to post
Martijn Meerts

The problem with glueing, especially if you also glue on ballast, is that the usual PVA glue hardens the cork to the point where it looses most of it dampening properties 🙂

 

In the end though, the sound the wheels make on the track is usually the loudest, especially if you run multiple / longer trains. There's no way you can get rid of that noise. A 16-car shinkansen at some speed is really rather loud.

Share this post


Link to post
Tonytramman

I have found even my little trams seem loud, thought it was me but it seems small doesn't equal quiet!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...