Jump to content

What did you do on your layout today? (N scale)


bill937ca

Recommended Posts

I am installing phototransistors which I then can use as track occupancy indicators.

They are connected to an Arduino which controls the points, direction and speed of the train.

 

Just ignore the radio music. There are two phototransistors which trigger the change in direction, you can hear the clack-clack of the relays.

 

This is how it looks below the wood:

1136551091_iioiop.thumb.jpg.19aabe342bd37ff25a1ec6a5adf0ece0.jpg

 

730158601_ioipip.thumb.jpg.58dd081a78a198a90253f31f647306cd.jpg

Edited by EH500 (11)
  • Like 6
  • Thanks 2
Link to comment

Wow! That's really interesting. What's the "big picture" on that? Are you building a semi autonomous layout?

Edited by gavino200
Link to comment

Raised my truss bridge about 12mm. Perhaps difficult to see from a photo, but it feels significant in real life.

(and of course, I got to run the new freight train)

 

 FF537CA1-038A-4A7B-A296-DA0797ED0262.thumb.jpeg.d4db4a287e718d30891764d811146183.jpeg

Edited by Sheffie
  • Like 6
Link to comment

Today I finished re-gluing some of the dowels that had popped up before the glue had dried last week on my backscene board.

 

I also converted the EF210 (KATO) as I posted in the DCC/Electrical forum topic.  And then I re-did part of my EF81 (Cassiopeia) to match what I had done on the EF210 as much as possible  (and also to use Kapton tape instead of heatshrink to isolate the main rail power strip as the heatshrink is too thick) to make to more reliable, and then I also had some reliability issues on the EF200 as well, so I re-did part of that to  match what I had done on the EF210.  Both the EF81 and EF200 were basically adding the copper tape underneath and getting rid of the soldered wire from the motor tab to the decoder.  This allows the decoder to lay flatter and have better power pickup from the main rail strips.

 

I also did my first D&H PD05A install in the forum EM13 board (my other one was a DH05C) and installed that ersatz-EM13 and 2 FL12 in my KATO/Lemke ET425 commuter rail (Woman's World Cup livery version).  After having to turn both FL12 around (had them backwards) it works fine though the motor is a bit noisy.

 

IMG_0516.thumb.jpg.5478092f3ce008d3db62fa687ca6dd6b.jpg

  • Like 5
Link to comment
8 hours ago, gavino200 said:

Wow! That's really interesting. What's the "big picture" on that? Are you building a semi autonomous layout?

 

Currently its a test. If everything works this will be a fully automated depot for 18 EH500, EH800 or two ED79-0/50/100 based on the depot in Goryokaku. 

So far it looks like its going to work. Only problem is one sensor randomly triggering without a loco. I am not sure though if this is really a problem with the sensor or the serial connection between the arduinos.

  • Like 3
Link to comment

A couple more scenes from my steam layout. Mainly Kato steam with British wagons and coaches running on Tomix track.

 

IMG_7009 cropped 1024 x 768.jpg

IMG_7012  cropped 1024 x 768.jpg

Edited by bill937ca
  • Like 6
Link to comment

Yesterday I converted 4 more of the JNSForum EM13 ersatz boards with DH05C decoders and installed them in my N700A, Panda 287 Kuroshio, 323 Osaka Loop Line, and 223-2000 express (JR West -- Kobe/Kyoto line IIRC).  ALso got FL12 installed in the Panda and doing the N700A momentarily.  I have a few more stored away somewhere and need to find them.

 

I am also in the middle of converting my second Tomix cleaning car to DCC using the Digitalzentralle board I bought last year.

 

I also did some more reading on the DR4018 switch decoder and figrued out I did not need an external booster to power it.  I can hook up a 12V supply directly to it and feed it the track signal wires (from a Loconet B cable with one end chopped and the outer wires which carry railsync so that I can plug on one end into my Booster (used for track, not the accessories -- just using it for its Loconet B port).  This allows me to run a single long Loconet cable to the other end of the layout where all the switches are and position the 2x DR4018 on that end.  Helps with the wiring.  The Tam Valley Accessory booster is now currently superfluous but I have another use for it so it will find its way back into the layout later.

 

IMG_0537.thumb.jpg.7eead588f46b122b06262159072c6810.jpgIMG_0548.thumb.jpg.44587b55baa8903f858190ed702fa11d.jpgIMG_0545.thumb.jpg.ca1a637621f2f1ca55bc9f71360b7531.jpg

  • Like 3
Link to comment

For the rest of today, I found my missing FL12 and added FL12 to my JR 223-2000 and the JR 323 Osaka Loop Line for the cab car lights.  Then I decided to try and do a DCC conversion of my Greenmax JR 103 "Sayonara Osaka Loop Line" (Orange Loop Line version) (which is a coreless motor motor car).  I used the PD05A as it would fit inside the underneath plastic part.  Got it to work (I'll write it up one of these days and I took lots of pictures -- there are some CV changes for the coreless motor that I got from D&HIMG_0583.thumb.jpg.774e9a429125807a288ae6ae5cdd06c1.jpgIMG_0592.thumb.jpg.02a4aedc2c3235ab447c2d8452ccd162.jpgIMG_0593.thumb.jpg.3024aa8debf86e4ee9798faeede2bac4.jpg).  I have not done the cab cars yet so the pic below shows both the front and rear lights.

 

 

Edited by chadbag
  • Like 5
Link to comment

Did another Greenmax JR 103 conversion to DCC.  Basically the same as the previous one but improved, and much faster.  Used a D&H PD05A-3 since it is small enough to sit on the shelf under the drivetrain where the drive shaft is.  Again, cab car not done yet.  Waiting for some NGDCC 2x bipolar 2x regular function decoders so I can run the cab lights plus internal lights.

 

I had wanted to work on the wiring of the switches some more but ran out of time.

 

IMG_0614.thumb.jpg.ccbdebb7d5f1ae2ef8705bda2bfdd8d3.jpgIMG_0618.thumb.jpg.cd1834d97975c3818071e9d28ecc1038.jpgIMG_0627.thumb.jpg.794b2abf80c1db2698ce8573d806b4b8.jpgIMG_0631.thumb.jpg.510d42eb98d78d55eb95887150b6dccc.jpg

  • Like 6
  • Thanks 1
Link to comment

 

On ‎2‎/‎17‎/‎2019 at 8:17 AM, EH500 (11) said:

I am installing phototransistors which I then can use as track occupancy indicators.

They are connected to an Arduino which controls the points, direction and speed of the train.

 

Just ignore the radio music. There are two phototransistors which trigger the change in direction, you can hear the clack-clack of the relays.

 

This is how it looks below the wood:

1136551091_iioiop.thumb.jpg.19aabe342bd37ff25a1ec6a5adf0ece0.jpg

 

730158601_ioipip.thumb.jpg.58dd081a78a198a90253f31f647306cd.jpg

 

On ‎2‎/‎19‎/‎2019 at 6:55 AM, EH500 (11) said:

Wiring all day long.

 

2.thumb.jpg.2c2094da530a7c131fe35730940222a0.jpg

 

Still missing two Arduinos, more wires and D-SUB connectors.

 

 

3.thumb.jpg.fd4f81e8215fca2d071f770fa7dfba7f.jpg

 

1.thumb.jpg.6fdfb6c0e0032872fa48ef273dc670e7.jpg

 

4.thumb.jpg.9524a33698314c516f930a583efdb123.jpg

 

5 hours ago, EH500 (11) said:

3 of 4 modules are done. 

Last module only has a few rails so I might get this done over the weekend.

 

1.thumb.jpg.34806e57470cf071adb51eda5e52c02a.jpg

 

2.thumb.jpg.e212a871ebe2321e03cdbc633422519a.jpg

 

Excellent work! the fact that you are using relays is very cool! that clicking from the relays is like music!

which phototransitors are you using? Do you have any challenges with trains that have dark colours?

Could you explain a bit about your system (high level is ok if it is too complex)?

           For instance, are sensors are placed at the entry and exit of each section (like the axle counters in real life) or somethig else?

           How are arduinos managing the data?  just a general idea will be fine

 

If you have more info somewhere (in the forum or outside), please share the link to have a look.

Cheers,

 

 

p.s. my electronic system for my layout is just catching dust in my garage for months... but watching your project is encouraging me to go back to it.

Link to comment
51 minutes ago, NX: said:

 

 

 

 

Excellent work! the fact that you are using relays is very cool! that clicking from the relays is like music!

which phototransitors are you using? Do you have any challenges with trains that have dark colours?

Could you explain a bit about your system (high level is ok if it is too complex)?

           For instance, are sensors are placed at the entry and exit of each section (like the axle counters in real life) or somethig else?

           How are arduinos managing the data?  just a general idea will be fine

 

If you have more info somewhere (in the forum or outside), please share the link to have a look.

Cheers,

 

 

p.s. my electronic system for my layout is just catching dust in my garage for months... but watching your project is encouraging me to go back to it.

Thanks for your interest, good to hear you are inspired by this project.

 

Just some quick infos:

I use LTR-301 phototransistors as they fit perfectly in Tomix tracks. They are connected to the 5V bus, on the other side they are connected to the analog pins of an Arduino. I can then detect how much light they pick up, if it falls to 0 I know there is a train as a N-gauge boogie blocks pretty much all incoming light. The color of the train does not matter. 

 

I have split up the layout in several areas. The "top" five tracks are divided in two parking positions each. They are 22 to 24cm long. At the end and begining of each position there is a phototransistor. 

The third track from below will be used to move locomotives around occupied parking positions on the two lower tracks, which can each store four locomotives.

 

The speed is regulated with PWM and direction is controlled with a H-bridge. I can theoreticaly move two locomotives at the same time on this layout without any manual input or override and manually control one locomotive.

Every parking position and the connecting tracks can be turned on and off with the relays. The points are controlled by H-bridges and relays too.

 

When everything is in place all this will be controled by five Arduinos, 30+ relays and 30+ phototransistors.

The Arduinos communicate via serial connection.

 

This is all pretty much a lot of trial and error as I had nearly zero knowledge of electronics before I started this project a month ago. I bet there are easier solutions for all of this

This works as planned for the top four parking positions. I wrote 683 lines of code for two of the five Arduinos so far.

 

I may write a more detailed tutorial when everything is finished and works as planned.

Edited by EH500 (11)
  • Like 4
  • Thanks 1
Link to comment
5 hours ago, Sheffie said:

What language are you programming in? I'm a C/C++ coder by trade, so this is quite interesting

 

Arduinos are actually programmed in C/C++.

 

I also plan to program a graphical interface using python on a RaspberryPi.

Edited by EH500 (11)
Link to comment

Rails are in place, wiring is progressing, I am running out of material.

 

2.thumb.jpg.06110c3f10131053a5d59a233de533cf.jpg

 

3.thumb.jpg.d80fa92a082e1a3c07ffbc497afc7f12.jpg

 

 

I ran out of pins for my boards so I started using nails.

Improvise, adapt, overcome. :toothy12:

 

1.thumb.jpg.e8c33a9c20b902710aeb61789ea08225.jpg

 

  • Like 2
Link to comment

A couple of new structures: rural freight platform and warehouse. The accessories were too small and breakable to survive being removed from the moulding, for the most part (a heartbreaking story for another time, perhaps), but the basic structures are at least intact. 

50F5CB92-4F9E-45AF-94F2-E3647D7943B6.thumb.jpeg.1dcd5ecc2ce1524f725cab07b528cbec.jpeg

Edited by Sheffie
  • Like 4
Link to comment

Looks great Tim, I really need to get around to doing the details on my own platforms.  If you have the spare cash a set of sprue cutters will change your life, nearly perfect cuts every time and no more broken parts.  I bought this set for christmas and they've changed modeling for me.
https://www.amazon.com/Rustark-Gundam-Building-Repairing-Fixing/dp/B071LB1T5D/ref=sr_1_1?crid=2ZB0GPKGYLQ8J&keywords=sprue+cutter&qid=1550987525&s=gateway&sprefix=sprue+cutter%2Caps%2C177&sr=8-1

Link to comment
3 minutes ago, Kiha66 said:

If you have the spare cash a set of sprue cutters will change your life

Wait, less than $10?

GET IN MY CART

  • Haha 1
Link to comment

A good set of spru cutters are really worth it in the long run! One tool that it’s worth putting money into when you figure out how much money you spend on the kits they trim for you over the years! Like kiha says a good pair are a hugely noticeable joy that you feel that with many other tools you won’t feel that much difference with.

 

cheers,

 

Jeff

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...