this post was submitted on 22 Aug 2023
515 points (98.3% liked)

Asklemmy

43947 readers
478 users here now

A loosely moderated place to ask open-ended questions

Search asklemmy πŸ”

If your post meets the following criteria, it's welcome here!

  1. Open-ended question
  2. Not offensive: at this point, we do not have the bandwidth to moderate overtly political discussions. Assume best intent and be excellent to each other.
  3. Not regarding using or support for Lemmy: context, see the list of support communities and tools for finding communities below
  4. Not ad nauseam inducing: please make sure it is a question that would be new to most members
  5. An actual topic of discussion

Looking for support?

Looking for a community?

~Icon~ ~by~ ~@Double_[email protected]~

founded 5 years ago
MODERATORS
 

Mine would be creating pen and paper ciphers for my made up secret communication needs.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 103 points 1 year ago (9 children)

Model trains. I don't bring it up because it's obscure, but I've definitely found there's a stigma. "Oh he's the guy who plays with trains". Screw the haters, I like to relax after work and do a bit of escapism. Eventually I got over it though and talk about it with friends, but it's not the first thing I bring up either

[–] [email protected] 41 points 1 year ago (1 children)

Let’s see those train pics, my dude! Let that conductor-freak flag fly here.

[–] [email protected] 31 points 1 year ago (1 children)

Not quite ready unfortunately, still in the "lots of pink fiberboard and paper mache" phase, but oh I will when we're done. We're probably too small for a model trains community, but I'll probably be hanging out in [email protected]

[–] [email protected] 8 points 1 year ago

Sounds silly but there's definitely an audience for steps of the process as well as the final product

So when you're ready to share the final results I know (at least me) some people who would love to see progress shots too

[–] [email protected] 16 points 1 year ago

Train gang needs no justification train-shining

[–] [email protected] 11 points 1 year ago

As a grown man who still likes Pokemon, I understand. I’m sure lots of people assume you’re in a state of arrested development.

[–] [email protected] 10 points 1 year ago (1 children)

Ha, and judging by the avatar you play video games with trains too! I adore Satisfactory

[–] [email protected] 9 points 1 year ago

Most hours in a game by far, I think I'm closing in on 2 thousand. I'm slowly trying to kickstart [email protected] again, come and join us!

[–] [email protected] 5 points 1 year ago (1 children)

this is a hobby I would absolutely love to get into but do not have the space (and renting a garage would probably not be realistic at this point for me). looks amazing dude I'm jealous of you! awesome hobby

[–] [email protected] 3 points 1 year ago

It's definitely a space eater, it's currently taking up half of my bedroom as I build it. I probably should have waited for a bigger more dedicated space but then I'd be waiting another decade.

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (1 children)

My dad has been into model trains since before I was born. We built a train layout in the early 2000s when I was in middle school or so. Working on that project helped get me into electronics as we made PCBs for signals and control circuits. Now, 20 some years later, I work in software engineering. My dad wanted to get back into working on the layout and I'm helping him with Arduino programming and Raspberry Pi stuff. He built a stepper motor controller for the turntable and then we built some turnout and light control boards that interface with DCC. We set up JMRI on a Raspberry Pi to drive trains from phones and automate stuff. I also got him into 3D printing and he's printed a ton of new scenery for the layout after buying his own Ender 3 after using mine quite a bit. We've learned various CAD/modeling programs to make 3D prints.

I also finally got to do something I always wanted to do as a kid, which is to drive the trains from a first-person view. We have gone through a bunch of different variations of putting a Raspberry Pi Zero and camera module on an HO scale railcar. We did some different designs. Our latest design uses an SG-90 micro servo to control the camera angle so you can look left and right. I also 3D printed an enclosure for a regulator, battery charger, and battery that takes track power and powers the Pi.

It's pretty fun to be able to sit on the couch with a phone, watching the view on the TV, and drive the train from the other room including operating turnouts. Haven't yet tried to drive the trains over the Internet yet but I want to, since I live a state away from my parents where the layout is.

Edit: Here's a video of the camera car in action! https://www.youtube.com/watch?v=Ls-Rg1TlDOA

[–] [email protected] 2 points 1 year ago (1 children)

Very cool! Sounds pretty much like what I have started on mine, I went the full DCC++ route, have an arduino and rpi running the whole layout, with a few other boards helping along the way. At some point I'd love to do full automation of the setup but that'll be a while. What camera did you use for the rpi and train? I'm running n scale so I'm assuming yours would be larger

[–] [email protected] 2 points 1 year ago

We built the layout when DCC was first coming out after going to a train show. We ended up picking up one of Digitrax's first systems (Empire Builder IIRC, with DB150 base station). That's still what we use for DCC. I designed a LocoNet to serial adapter (MS100 compatible, but very cheap and simple) in college (2010 ish) and we're using that to connect it up to a Pi 3 running JMRI. Our layout is HO scale. N scale is probably too small for even a Raspberry Pi Zero with camera module, as the setup barely fits on an HO scale car.

I have set up a DCC++ Ex setup at my house for testing and experiments. Just got a loop of EZ Track on the floor with an Arduino as the base station and another Pi with JMRI that is configured similarly to the real layout.

Here is an early picture of the camera car design with the servo. I've since condensed everything on to one car with a custom 3D printed design. I want to publish it eventually but haven't had time. I even 3D printed trucks with power pickups in my latest design (just had to buy metal wheel sets to put in them). I also made a tiny Python webserver that has buttons for different servo positions so you can easily move the servo from a browser.

https://files.mastodon.social/media_attachments/files/110/456/482/672/249/884/original/398d0e7f581517cf.jpg

https://files.mastodon.social/media_attachments/files/110/456/483/176/756/180/original/3434f015434fb542.jpg

https://mastodon.social/@CalcProgrammer1/110456485998532640

For the DCC controlled turnouts, lights, and turntable, I built up an Arduino Nano based DCC decoder from a design I found online and a DCC decoder library that is available in Arduino. Since the layout spans multiple tables, instead of putting a DCC decoder for each table/PCB I just had the one decoder echo the DCC commands as serial messages over a serial bus that spans all the tables. The other boards (turnout controllers, light controllers, and turntable controller) all just have their RX pins wired to the decoder's TX and can receive commands that way. Turnout controllers are a mix of SG90 micro servo based ones and L293D motor drivers for Tortoise switch machines. Light controllers use transistors to switch 12V outputs on and off to drive bulbs and LEDs. Turntable controller is an EasyDriver based stepper controller with some pre-programmed position offsets for each turntable track (each track position is mapped to a DCC function address).

[–] [email protected] 3 points 1 year ago (1 children)

I'm into model live steam engines, I've dreamed about a model live steam setup but never had the room (or funds) for such a build.

[–] [email protected] 1 points 1 year ago

I've found the Kato setups to be a bit more friendly on the wallet and have great reliability. I'd recommend that, a small oval with a kato starter set

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago)

If you can figure out how to relate model trains to the average person, then it becomes really interesting.

Like if your experiences have showed to you about why a trip cross-country in 1 country is so long compared to another. Maybe city planning, or at-grade issues that need resolution are the culprit, etc.

[–] [email protected] 2 points 1 year ago

I think of trains as bullets flying on tracks and wheels of steel.