Trains.com

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Wireless C/MRI nodes

1089 views
1 replies
1 rating 2 rating 3 rating 4 rating 5 rating
  • Member since
    July 2009
  • From: lavale, md
  • 4,640 posts
Wireless C/MRI nodes
Posted by gregc on Saturday, January 22, 2022 2:52 AM

esp32 boards go for about $10 on ebay and are just as easy to program as Arduinos.   esp32 boards have a WiFi interface for use as wireless Computer/Model Railroad Interface nodes

C/MRI nodes typically control switch positions and signals and monitor block detectors and switch position feedback.   of course there are other possibly uses such road crossing signals/gates

yes, LCC defines a prototcol and comparable hardware and no doubt some MRRs are already doing this

of course many model railroads are not interested in computer control of their layout.   but for those who are, use of esp32 or other processor boards that support WiFi:

  • avoids the need for a wired communication bus between nodes
  • avoids the need for custom (e.g. RS-485) messaging software
  • allows asynchrnous communication when events occur, avoiding polling and its delay
  • WiFi handles error detection/re-transmission
  • allows inter-node communication
  • an economical alternative to LCC  hardware

while centralized control and internode communication is not trivial, a common program could run on most nodes to update outputs when a message arrives and asynchronously send a message when an input (e.g. block detector) changes state.

a unique WiFi address can be programmed into Flash/EEPROM memory along with configuration information including the number of input/output bits

bear in mind that C/MRI trades software for wiring between devices on a model RR.   It does not mean sitting in front of a keyboard and screen to control it.  instead of a PC, a Raspberry Pi could be a centralized and autonomous controller supporting signalling and route selection via panels.   of course CTC is possible

for me, wireless makes experimenting easier and software is easily changed

greg - Philadelphia & Reading / Reading

  • Member since
    September 2003
  • 21,326 posts
Posted by Overmod on Saturday, January 22, 2022 10:53 AM

For an extra buck (and on eBay not even that) you can get the ESP32CAM, with small camera head suitable for inside-locomotive mounting, and an extra sawbuck adds LoRa complete with antenna.

Of course it helps to be a CSEE first and a railroader a somewhat distant second... I think I need to sic some people in the IxD community onto C/MRI.  "Software is easily changed" is a double-edged sword...

Subscriber & Member Login

Login, or register today to interact in our online community, comment on articles, receive our newsletter, manage your account online and more!

Search the Community

ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT
Model Railroader Newsletter See all
Sign up for our FREE e-newsletter and get model railroad news in your inbox!