VoxCommando Forum

VoxNastics (User Guides and Mods) => Integration Ideas => Topic started by: Phobophile on November 09, 2014, 01:37:05 PM

Title: Controlling a model train.
Post by: Phobophile on November 09, 2014, 01:37:05 PM
During the inspection of all the useless stuff in my appartment, waiting to be thrown into the trash, I found an old PIKO model train, which is almost my age.

(https://pp.vk.me/c618130/v618130745/1b127/7bQM_gxFtbo.jpg)

It turned out, it worked ok, but needed a couple of tweaks to satisfy my laziness. First I attached a Raspberry PI with relay to the circuit and created a page on Raspberry's web server to start/stop the locomotive from my phone.

(https://pp.vk.me/c618130/v618130745/1b13b/wjL_sGJOL3I.jpg)

But I still didn't feel like a real Lokomotivführer, so I decided to implement a voice control. Since I don't know what's the proper way to command a German train, I use Russian words - Yuri Gagarin's catchphrase "poehali" (let's go) to start the locomotive and army command similar to "as you were" to stop it.

(https://pp.vk.me/c618130/v618130745/1b14f/lFV4pwAZEbA.jpg)

Sure, my layout is pretty inferior, compared to those of train modelling enthusiasts. Maybe that's a good thing that I don't have too much free space at my home, because I've suddenly found another perfect way for me to waste a lot of money.  ;D

PS: Here's a little POV-video from a GoPro camera, which I've attached to the wagon.
https://vimeo.com/111342281 (https://vimeo.com/111342281)
Title: Re: Controlling a model train.
Post by: Kalle on November 09, 2014, 01:57:33 PM
Really funny  :D
And a lot of "men toys" arround your home ;)

A german phrase to start the train: "Achtung, Zug fährt" (english: "Attention, train runs")
A German phrase to stop the train: "Zug hält" (english: "train stops")
Title: Re: Controlling a model train.
Post by: nime5ter on November 09, 2014, 02:26:53 PM
 :clap

You've taken "laziness" to a whole new level.
Title: Re: Controlling a model train.
Post by: nime5ter on November 09, 2014, 02:41:34 PM
Any further plans for the project?
Title: Re: Controlling a model train.
Post by: jitterjames on November 09, 2014, 03:01:37 PM
You are (still) my hero!  Great stuff.  ::bow
Title: Re: Controlling a model train.
Post by: Phobophile on November 09, 2014, 04:00:34 PM
Quote from: Kalle on November 09, 2014, 01:57:33 PM
A german phrase to start the train: "Achtung, Zug fährt" (english: "Attention, train runs")
A German phrase to stop the train: "Zug hält" (english: "train stops")
So, I guess I'll need yet another instance of VoxCommando for this. ;)

Quote from: nime5ter on November 09, 2014, 02:41:34 PM
Any further plans for the project?
Actually, I would like to have a bigger railroad layout with track switches, lights and stuff - maybe then I could think of something more interesting than just start/stop. But, sadly, I just don't have that space at home at the moment, so maybe later. :)

Quote from: jitterjames on November 09, 2014, 03:01:37 PM
You are (still) my hero!  Great stuff.  ::bow
:yay
Title: Re: Controlling a model train.
Post by: nime5ter on November 09, 2014, 05:10:13 PM
Somehow we need to get your train to deliver you your beer during movie time, and your coffee in bed in the morning ...

(OK, maybe I'm over-reaching.)

btw, the aerial footage you've captured with your DJI Phantom is amazing. The Pskov footage -- nice!

How far from you can it get before you lose control?
Title: Re: Controlling a model train.
Post by: Phobophile on November 10, 2014, 03:39:59 AM
Quote from: nime5ter on November 09, 2014, 05:10:13 PM
Somehow we need to get your train to deliver you your beer during movie time, and your coffee in bed in the morning ...
(OK, maybe I'm over-reaching.)
Funny, that's the first thing I thought about! If you think you're overreaching, check this video (http://www.youtube.com/watch?v=t9oJFIZ_Hh8).

Quote from: nime5ter on November 09, 2014, 05:10:13 PM
btw, the aerial footage you've captured with your DJI Phantom is amazing. The Pskov footage -- nice!
How far from you can it get before you lose control?
Thanks! The safe distance is probably about 1 km. Anyway, it should come back automatically if signal from the radio is lost, but I didn't try that, cause it's scary.  ;D
Title: Re: Controlling a model train.
Post by: nime5ter on November 10, 2014, 09:41:36 AM
Quote from: Phobophile on November 10, 2014, 03:39:59 AM
Funny, that's the first thing I thought about! If you think you're overreaching, check this video (http://www.youtube.com/watch?v=t9oJFIZ_Hh8).

There you go, then. All you need is a private wait staff, $700,000, and you're set!

Looks like the model train restaurants arrived in Prague several years after my last visit. But I'm pretty sure I know those old guys sitting at the bar.
Title: Re: Controlling a model train.
Post by: Casmo on November 10, 2014, 11:20:40 AM
Ha! no way, ive been trying to come up with a way to vc a christmas tree train! all the cheapo ones i've seen are battery operated and therefore no use. I came to the conclusion that the only way would be to buy some proper train kit, but its not cheap..

Title: Re: Controlling a model train.
Post by: Phobophile on November 10, 2014, 01:50:53 PM
Quote from: nime5ter on November 10, 2014, 09:41:36 AM
Looks like the model train restaurants arrived in Prague several years after my last visit. But I'm pretty sure I know those old guys sitting at the bar.
Somehow I missed it during my visits too, but now it's defintely on my to-do list!

Quote from: Casmo on November 10, 2014, 11:20:40 AM
Ha! no way, ive been trying to come up with a way to vc a christmas tree train! all the cheapo ones i've seen are battery operated and therefore no use. I came to the conclusion that the only way would be to buy some proper train kit, but its not cheap..
Actually, it's not that expensive, you should go for some analog starter kit, where you need only to apply DC voltage to the rails (most of modern and expensive sets use fancy PWM-controllers, I think).
For example, this one (http://www.piko-shop.de/index.php?vw_type=artikel&vw_id=9151) or this one (http://www.roco.cc/en/product/227935-0-0-2-1-0-00-001001/products.html).