PC Control of MTH Engines by Radio Connection to the TIU

All Facets of O-Gauge, 3-Rail, Model Railroading
User avatar
rogruth
Posts: 24452
Joined: Sun Aug 14, 2005 8:32 pm
Location: pembroke,ga

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby rogruth » Fri May 20, 2016 11:09 pm

WOW! The above discussion is quite a bit beyond my understanding and need for me to enjoy playing with my trains.
I hope that you that do understand are able to use the info and add to your enjoyment of model railroading. Have fun.
roger

I support thread drift.
If God didn't want women to be looked at, He would have made 'em ugly. RAH

User avatar
jlong
Posts: 12257
Joined: Fri Apr 30, 2004 2:26 pm
Location: Kaukauna, Wisconsin

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby jlong » Sat May 21, 2016 7:08 am

gregj410 wrote:
I take issue with your characterization of "anti-MTH members". I've been objective in my criticism. Everything MTH has gotten from me has been deserved.


He means Neil :lol: I love my MTH locos and DCS seems to be functioning fine for now. However, I always have that sinking feeling when I fire up the trains that it will eventually fail. That's not a good feeling. There's never an operating session that I don't get the infamous "engine not on track" message. :lol:


Did you guys forget about me?
John Long

One nation under Josh with ozone an magnetraction for all

User avatar
rogruth
Posts: 24452
Joined: Sun Aug 14, 2005 8:32 pm
Location: pembroke,ga

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby rogruth » Sat May 21, 2016 7:57 am

John,

How? :D
roger

I support thread drift.
If God didn't want women to be looked at, He would have made 'em ugly. RAH

User avatar
Rufus T. Firefly
Posts: 42207
Joined: Wed May 16, 2007 7:52 am
Location: To be Determined

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby Rufus T. Firefly » Sat May 21, 2016 9:17 am

Who?
The owls may indeed not be what they seem but still serve an imperative function: they remind us to look into the darkness.

SanDiegoMark
Posts: 10
Joined: Tue May 17, 2016 1:09 am

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby SanDiegoMark » Sat May 21, 2016 11:04 am

rogruth wrote:WOW! The above discussion is quite a bit beyond my understanding and need for me to enjoy playing with my trains.
I hope that you that do understand are able to use the info and add to your enjoyment of model railroading. Have fun.


From a technical viewpoint, its been interesting to learn how things were done. From the outside, you can figure out how they are done but you never learn why they were done that way.

Anyway, my RTC program is just a different way to do what the remote does. For example, when I move my speed control from 0 Smph, the horn toots twice, the bell starts ringing, speed slowly increases, and once at speed, the bell goes off.

Neil
Posts: 4226
Joined: Thu Jun 30, 2005 9:44 pm

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby Neil » Mon May 23, 2016 8:06 am

"There's never an operating session that I don't get the infamous "engine not on track" message. :lol:"

Point, set and match to the DCS critics :).

That said, what Mark has done is both remarkable and laudable. MTH has resolutely stopped anyone from improving upon their relatively lame
system from the getgo because of Mike Wolf's overwhelming ego and overdeveloped sense of competitiveness and entitlement. Maybe he's matured now that he's in his 50s? One can only hope. Redemption is always possible!
Neil

User avatar
Rufus T. Firefly
Posts: 42207
Joined: Wed May 16, 2007 7:52 am
Location: To be Determined

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby Rufus T. Firefly » Mon May 23, 2016 8:36 am

Neil wrote:That said, what Mark has done is both remarkable and laudable.


Indeed and we should not overlook that either.

MTH has resolutely stopped anyone from improving upon their relatively lame system from the getgo because of Mike Wolf's overwhelming ego and overdeveloped sense of competitiveness and entitlement. Maybe he's matured now that he's in his 50s? One can only hope. Redemption is always possible!


"We should forgive our enemies, but not before they are hanged."
The owls may indeed not be what they seem but still serve an imperative function: they remind us to look into the darkness.

User avatar
Mitch
Posts: 5215
Joined: Sat May 28, 2005 2:06 pm
Location: Freeport, Pa.

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby Mitch » Mon May 23, 2016 7:51 pm

Knew you'd be along, Neil. Never pass up an opportunity to hammer MTH. :roll:
If you agree with the Progressives, it's freedom of speech. If you disagree, it's hate speech. There are no alternatives.

Neil
Posts: 4226
Joined: Thu Jun 30, 2005 9:44 pm

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby Neil » Mon May 23, 2016 10:20 pm

Hey, it's Greg who hammered MTH. I actually said some rather positive things about Mike Wolf. The guy hasn't sued a competitor in years for example. He hasn't sent threatening letters to those posting about working on enhancements to the system. He's apparently becoming
more rational and reasonable. I don't consider those comments hammering the poor fellow :).
Neil

User avatar
G3750
Posts: 4350
Joined: Fri Apr 16, 2010 7:02 pm
Location: Cranberry Township, PA USA

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby G3750 » Tue May 24, 2016 9:27 am

Writing a program that encompasses every aspect of train operation is not something one person can do alone. Maybe because of that, PC control will never be practicable. It is not possible for me to singlehandedly write a program that will satisfy everyone. But I can probably do enough to let enterprising and interested hobbyists have the ability to operate their trains in a different way.


Having attempted to produce two separate software products as side projects / business endeavors, I know what you mean about single-handedly satisfying everyone. It's a hard slog.

However, I would say that, unlike the approaches taken by DCS and Legacy development efforts, everything is not needed. One reason, among many, for liking TMCC is that it is simple and effective in carrying out the limited tasks I consider useful for a command / control system. Call me old-fashioned or simplistic, but what's really essential in operating a train layout?

  • Individual locomotive addressing and within that:
    • Direction control (Forward or Reverse)
    • Throttle
    • Whistle
    • Bell (On / Off)
    • Couplers (front / rear)
    • Sound (volume, On / Off)
    • Smoke (volume, On / Off)
  • Multiple locomotive (lash-up) operations
  • Track power control (Block selection, On/Off)
  • Switch control (Through / Diversion)
  • Accessory control (selection, On/Off, variable power)
  • Routes (construction, selection, destruction)

I think you could argue against the last item being really essential. But all of these functions are accomplished with TMCC.

Now, what does DCS bring to the table? In addition to the above, it has some neat features I find useful:

  • Scale speed :idea: - not only does allow the remote to display the speed of the locomotive, more importantly it permits all locomotives in a lash-up (regardless of gearing) to run at the same speed. So that B6sb switcher and SD80-MAC can run together in the same lash-up. :shock:
  • Speed limits applied to a remote :idea: - this allows you to hand a remote to a child without worrying that he/she will make it fly off the track.

These are very innovative features; they demonstrate someone has given real thought to how trains might be operated by children and their parents. I consider these DCS features to be very attractive and 10 years ago, they caused me to buy DCS. I wish MTH had done a better job of implementing DCS. BTW, I think Legacy now has these features or their equivalent.

But beyond these, what's really necessary? Or enough? Or economically justifiable? (What do I spend hard-earned R & D money on?)
Quilling whistle? Meh :roll:
Ability to turn on / off the coffee pot? :?
Whistle "Dixie" and spit cotton nickels? :lol:
Wi-Fi / Bluetooth interface? maybe :?:

Like I said Mark, I think you've hit the sweet-spot of train control.

George
What is a 'Conservative'? "Someone who wants society and policy to recognize objective reality- economic, biological, and historical."

—Katy Faust

Neil
Posts: 4226
Joined: Thu Jun 30, 2005 9:44 pm

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby Neil » Wed May 25, 2016 4:16 pm

"Never pass up an opportunity to hammer MTH."

Perhaps so.

Of course, to be fair, Mitch, one might also state you never pass up an opportunity to defend MTH, no matter how indefensible their product or conduct.
Neil

SanDiegoMark
Posts: 10
Joined: Tue May 17, 2016 1:09 am

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby SanDiegoMark » Wed May 25, 2016 6:51 pm

As I was digging into how the Remote and the TIU interacted, one part of that implementation software really stood out.

MTH's implementation of LashUps is amazing. You might think that when a LashUp is run, that the Remote is busily (and feverishly) sending sending out commands. You might think that commands to the head engine, to the middle engines, and to the tail engine would overload the radio frequency and make control of other engines impossible.

If you look at LashUps, the sounds in each engine are controlled differently, front and rear couplers are handled differently, and lights are handled differently depending on where the engine is in the LashUp.

But MTH implemented this in a different, much more efficient way -- its all done in the TIU! One command from the Remote is sent to the TIU and the TIU directs the correct set of commands to the engines. For example, when you change direction, the Remote tells the TIU "for the consist with engines '1,5,3,-22,10' set direction to reverse". The TIU sends a reverse direction command to each engine, turns off the headlight of the head engine, turns on the taillight of the tail engine. In addition, if any of the engines are reverse running (like -22 in my example), the TIU keeps that straight when it sends direction commands (that is, engine 22 actually has to be put into forward in order to go in reverse with the rest of the LashUp).

This implementation sure made my RTC much easier to write to handle LashUps.

User avatar
Mitch
Posts: 5215
Joined: Sat May 28, 2005 2:06 pm
Location: Freeport, Pa.

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby Mitch » Wed May 25, 2016 9:47 pm

Neil wrote:
Of course, to be fair, Mitch, one might also state you never pass up an opportunity to defend MTH, no matter how indefensible their product or conduct.



I don't defend them all the time, Neil. I'll hammer them relentlessly for buyin' up SHelperService and promisin' the world, but delivering nothing in the 5 years they've had them.

What I do have is MTH and DCS. It is wired in a star pattern with blocks being only 6' to 8', and it works. Ya don't want those 1s and 0s crashin' into each other. You probably don't know it, but it's how cars are wired today, what with up to 40 on-board controllers in the car.

In the post below yours, SanDiegoMark describes how the TIU handles all of the intricacies of a 5 engine consist. It is the same principal as the Body Controller in your car, which is the Central Gateway for all communication between various modules, and it makes the decision on what commands take priority. Somewhat perplexing, but it's not exactly rocket science.
If you agree with the Progressives, it's freedom of speech. If you disagree, it's hate speech. There are no alternatives.

User avatar
jlong
Posts: 12257
Joined: Fri Apr 30, 2004 2:26 pm
Location: Kaukauna, Wisconsin

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby jlong » Wed May 25, 2016 10:45 pm

Neil wrote:Hey, it's Greg who hammered MTH. I actually said some rather positive things about Mike Wolf. The guy hasn't sued a competitor in years for example. He hasn't sent threatening letters to those posting about working on enhancements to the system. He's apparently becoming
more rational and reasonable. I don't consider those comments hammering the poor fellow :).


Has anyone reported you to your employer for posting about MTH from your office computer in recent years? Or did those nut cases bite the dust.
:mrgreen: :mrgreen: :mrgreen:
John Long

One nation under Josh with ozone an magnetraction for all

User avatar
Rufus T. Firefly
Posts: 42207
Joined: Wed May 16, 2007 7:52 am
Location: To be Determined

Re: PC Control of MTH Engines by Radio Connection to the TIU

Postby Rufus T. Firefly » Thu May 26, 2016 7:42 am

Mitch wrote:Ya don't want those 1s and 0s crashin' into each other.


Yes, that would be bad - they might make 10's.

You probably don't know it, but it's how cars are wired today, what with up to 40 on-board controllers in the car.

In the post below yours, SanDiegoMark describes how the TIU handles all of the intricacies of a 5 engine consist. It is the same principal as the Body Controller in your car, which is the Central Gateway for all communication between various modules, and it makes the decision on what commands take priority. Somewhat perplexing, but it's not exactly rocket science.


You make an interesting and valid point and also demonstrate that someone with your level of electronics experience can make this all succeed. However, consider that the average person is clueless regarding problems with their car and takes it to someone like yourself. You may in fact have just a slight advantage over the totally perplexed.

And, I think that 50 years ago it was rocket science.....and today the average person is just as lost as then.... and still can't fix the toaster.
The owls may indeed not be what they seem but still serve an imperative function: they remind us to look into the darkness.


Return to “O-Gauge, 3-Rail, Model Railroading”

Who is online

Users browsing this forum: No registered users and 22 guests