Internet-Controlled Train Set
Eric Barch writes "Using a servo connected to a Mini SSC II and wired into a dedicated server through the serial port, the Control Our Junk team has created a working train set controlled from any computer on the Internet with a few ports open and Java installed. The trains speed can be modified on the control page, which uses a PHP script to send commands to a .NET application sitting on the server. When the .NET application recieves the PHP command it sends the data to a serial port, and in turn, changes the speed of the train. The train set is running 24 hours a day, 7 days a week and is quite fun to operate from the dual webcams mounted on a top down and side view of the train set. If you would like more information, or to control the train set visit controlourjunk.com/ and take the train for a spin."
Crashing a server and a train!
Worst... Site... Name... EVAR!
DriveMeInsane.com was featured here a few years ago now. I believe the guy who started it is a Slashdotter himself. He basically hooked up all his lights to the Web, as well as a number of webcams, his sprinkler system, Christmas tree lights, etc. It was pretty hardcore back in the day. He's kept it going too, although it's up and down, but pretty much was "the" great example of this genre. Only seems to have two lights now though :-(
Remember the guy who posted a website where you could control christmas lights from it? Turned out it was a hoax.
Call me skeptic, but I think this one's a hoax, too.
The real-time programming course at the University of Waterloo has a model train set we write a control program form.
It's a lot of fun for the first couple of days until it sinks in how hard it's going to be to write a real-time OS and a GUI-based train management program for it in 3 months.
One of the tests is to keep adding trains to the tracks while it's running to see how much it can handle. If your program crashes, the trains crash.
I took the course in 1999 so if any of what I said sounds wrong, it's because it changed since then.
.NET powered by PHP?
.NET just make an aspx and control things that way... if you're not there's half a dozen ways via PHP (perl+XMLRPC springs to mind).
If you're using
Mixing them just seems to be a headache, since making MS code integrate with non-MS code is always harder than just sticking to one or the other.
10 motor 1 20 motor 0 30 goto 10
(Sorry, I just couldn't resist mentioning one of the most famous 4chan memes. It's what instantly came to mind.)
Please help metamoderate.
I assumed everyone with a train set did this. My own train set (a Märklin Digital HO set of C track that I take out and build into various layouts when I get the inclination) is run by a TCP/IP server speaking a custom line-based protocol, and I've written a Web interface and an IRC bot interface to speak to it, as well as a couple of perl scripts that just run the trains around on specific schedules (using sensors in the track to detect when the train gets to a particular station).
So when I have my layout out people can just come to visit with their wireless laptops and immediately can control everything on the layout (trains, points, decouplers, etc).
I'm in Norway. I once had someone try to play a simplified Timesaver layout from Sweden, over IRC. That was not a pretty sight.
Admittedly I don't have a Web cam, which I assume is the attraction here.
(It's actually really hard to run any train set remotely, simply due to latency issues. Two seconds can easily be the difference between a neat arrival in a station and overshooting and hitting a freight train doing operations in a nearby yard.)
Speaking of model trains, what do breasts and model trains have in common? They've both meant for kids but it's adults who end up playing with them.
Breasts, hackers, and model trains all in one post! It's like the Slashdot Triple Crown!
EvilCON - Made Famous by
If they don't have 100,000 trains then there's going to be some really f*cked up action on those tracks. What the hell where they thinking? Three russian hacker groups are already fighting for control of the B & O Switch engine 5006 Diesel, and half of Berkley is trying to ram the American Flyer # 613 GN Box Car off the table.
Bastards.
Whoa that sounded a bit like Darth.
Don't be to proud of this technological terror you've created Cmd Taco the fact that we can take down a web server running on a home dsl line proves nothing next to the power of the force
500 dollar reward for tip(s) leading to the arrest of the person(s) who stole my sig.