Z70 Locomotive for OS-Railway - fully 3D-printable railway system! Arduino-controlled!

by Depronized Mar 1, 2017
Download All Files

Thing Apps Enabled

Please Login to Comment

Hi, it's a very beautiful creation and i would like to make the same thing but I can't reading the electrical plan because it is illisible. I would like know what do you use like motor precisly and axes for the wheels ? Thank you.

Hi! thanks for pointing that out, this is an old electric diagram even though it's of course functional. I would recommend that you take a look at the electronics for the Hectorrail 141 which you can use for this one as well: https://www.thingiverse.com/thing:2575667
The shafts I use are 3mm carbon fiber rod, but I saw someone used threaded rod instead and secured the wheels and gears in place with nuts, that's a better solution in my eyes if you have access to threaded rod. For motor I use a 16mm DC-motor with planetary gearbox, like this one: https://www.ebay.com/itm/1PCS-Used-ESCAP-16-Hollow-Cup-Dc-Reduction-Motor-with-Encoder-12V-540RPM/263655582453?hash=item3d6318eaf5:g:hncAAOSwrT9awly1:rk:6:pf:0

Hectorrail 141 Wifi locomotive for OS-Railway - fully 3D-printable railway system

I'm so excited to start this! but the electronic list is a little vague and i'm not totally sure what to buy...
Is there any way you could make a list of Amazon links to specific parts?



I understand, i wrote the names of the boards and stuff instead because product links are dynamic and changes so often that I'll end up with lots of broken links. Depending on where you live, the Arduino Pro Micro can be purchased from many vendors. My local hardware electronics shops carry them, although for a higher price than on the net of course. You can find them at Aliexpress, Wish, Sparkfun and many other places, just google Arduino Pro Micro. I'm planning on modifying this locomotive for a much more powerful motor, so I'll publish another motor mount but cannot promise when. There are a lot more information in the Hectorrail 141 decription, I recommend checking that one out for now.

It would be good if you designed gearboxes for this

Hi, I've been thinking of using bigger motors, and for that a gearbox would be good yes. But the locomotive has worked so well with the motor I use so i haven't really had any reason to change anything. Besides, now it runs on 4pcs AAA-batteries, and if I change to a bigger motor and a 3d-printed gearbox, it will draw more current.

Just curious, what material did you print this in?

Everything I've printed so far is 100% PLA. Haven't even done a single test with any other material on my printer, partly from fear of clogging up the nozzle, but mainly because PLA works so good so I haven't really had any reason. (yet)

Very nice! Do you have a recommendation on the best RPM for the motor? Does this differ on your other locomotives or can it be the same for all?

Hi, thanks! The wheels are pretty similar in diameter so the RPM can be more or less the same, depending of course what characteristics you want. The Hectorrail 141 is more capable of taking turnouts at high speed than the Z70, depending on the longer wheel base of the Z70 so it doesn't really make sense to gear it for high top speed, I would rather gear it for lower speed and more torque so you can pull more cars. Try aiming for 500-600 rpm is my guess.

Here is a formula you can use:
needed RPM = (meter per second x 1000 x 60) / (wheel diameter x PI)
Example for 0,5mm/s and 18mm diameter wheels => (0.5 x 60000)/(18 x PI) = 530rpm
(I don't remember if the wheels are 18mm diameter, yo have to check that. :) )
(I separate 1000 and 60 so you see that one is to get mm/s, the other to get rounds per minute instead of second.)

You could check out www.maxonmotor.com for combinations of DCX 16S motor and GPX16 gearbox. Think 2-stage will be a bit slow,
so I would go for single stage gearbox at 6,6:1 ratio.

So hey, I got the frame running today....it's awfully slow! Not sure if it is because of a traction issue or the Arduino code. But it does run on Lionel track. It has a hard time negotiating the tighter curves..most likely because the wheel base is too long. I'm going to re mix it in the next few days to make it more tube track friendly. As a whole I'm pleased it at least ran. Thanks for posting the files!

Hi, first about the curves, I have a very tight track radius and you need to make sure the wheels are not a too tight fit inside the tracks, there needs to be a bit of play to allow the wheels to have an angle against the track. Regarding the speed, did you use a RC servo? It is a slow method, only meant as a simple way to get started. I upgraded mine to a coreless DC with a planetary gearbox, this reminds me I need to update the instruction. :)

I used a Futaba servo...I was thinking I'll compare the distance between the wheels on a factory made Lionel engine, I just kinda guessed. Could you post the file on the gear box? That would be great! Thanks..

Hi, yea I think it's just to experiment a bit until it takes the curves. Regarding gearbox, it is not a 3D-printed one, way too small to print. I'm trying out some different Maxon motor combination now and I will post a link to the Maxon E-shop where it can be ordered.

Just started printing the chassis a little while ago. I have a extensive O scale layout I'd love to add this engine to. I'll let you know how it turns out. Nice design...hard to find O scale things to print, and lately I just don't feel like designing my own.

Thanks, and just to be clear, this is a complete system designed for 3D-printing, including the track, so it is not designed to be compatible with commercial O-scale stuff, just so that doesn't come as a surprise for you. On the other hand, it might as well work, I have no idea as I don't own any commercial O-scale track to test it with. :) So looking forward to your feedback on that as it might help others, and I'll put any advice you have in the instructions. My guess right now is that the wheels are too thick as they are designed for PLA and not metal, so you might need to change to commercial metal wheels.

I'll keep that in mind, thanks for the tip! As far as the screws that hold on the bearing plates, are those a nut and a bolt? Or is that like a wood screw?

Those are very short M2's (the threaded part is 3mm long). In this case I just happened to have a bag of those, what I usually do is that I buy a big lot of long M2's and I cut them to suitable size during the build. It's far easier than trying to always have the right lengths. :) (and no, there are no nuts on the inside for the bearing containers).

just crossed my mind, i wanna have fun with my daughters printing a train with railways,
i must admit your models are top notch, the best i could find all over the internet ;)))
hopefully i can get them printed correctly, and share the final with u

thanks, keep up the amazing work

Thanks! :) The goal for this work was the same as yours, and I've printed everything on my standard Prusa i3 mk2 with no modifications, I'm not at all interested in modifying the printer, it's like an office paper printer for me, it's just supposed to work. :) So with that in mind, this is all designed to be printed with a standard machine and not requiring a super-tuned top-notch printer.

Yes please share if you print, no one has published a make of any of these models yet so that would be really fun to see, also feedback on the design and what works/don't work is also valuable as I do so much trial&error so sometimes I forget to add modifications I've made to make things work.

Comments deleted.

Can you please post a picture of the ball bearings you use for this and the freight car? I have printed a few (and made one add-on for your container) cars and I want to make sure I purchase what I think are the right bearings.

Hi! Thanks for the comment! I will update both this page and the car chassi page to make it more clear, to help you right now, I recently ordered these and are awaiting delivery: http://www.ebay.com/itm/10pcs-MR63ZZ-Miniature-Model-Ball-Bearing-3x6x2-5mm-3-6-2-5mm-New-/381330043122?hash=item58c90ab0f2:g:9jEAAOSwHnFVwvX-

And please, share some pictures of your prints when you're done, I would love to see! :D

I found some Ball Bearings on Amazon and ordered them the other day. They arrived yesterday and I have installed them on 8 sideframes. I found the easiest way for me to get them inserted was to slightly warm the sideframe (which I printed in PLA) with my heatshrink gun for about 4 or 5 seconds and then press the bearing in place. It seems to fit perfectly. I'm building up the bogies today and will assemble two flat cars. Once I get that completed, I will post some photos.

Perfect, that's interesting to hear because the ones I ordered from ebay has had a very long delivery time. Haven't received mine yet, luckily I had a bunch at home but they are running out quickly in this business. :)

AWESOME! Thanks for the quick response! I will order some up right away. I have several things printing right now, so as soon as I get some assembly done, I will post some photos.

Very inspirational. I'd love to make some G Scale cars.

Cool, would love to see a video of it in action too!

I know, It turned out that I didn't do my homework on the servo I used in the prototype so it runs rough where the mechanical end stops used to be. I didn't cut away enough material. I have had my focus on getting the CAD-stuff ready for upload so when I had the locomotive working I haven't prioritized to fix the servo, but I will, and when I do I'll post some video. :D

Perfect. And instructions are really good.

Will definetely print one for my daughter. in color pink of course...Because everything must be pink when you have a daughter.

Well, that's the beauty of 3D printing right? Now you get to print pink track, pink locomotives and pink cars... :)