Skip to content

kmzbrnoI/mtbbus-protocol

Repository files navigation

MTBbus v4.1 Protocol Specification

MTBbus is RS485-based communication bus for controlling general-purpose IO modules. It's original aim is to control model railroad accessories (e.g. turnouts, signals etc.) however the bus is designed generally and extendably.

The bus consists of a single master module (MTB-USB module) and up to 255 IO modules. Master module is in charge of whole bus. Master module is usually connected to the computer too, thus MTBbus is basically controlled from the computer. Master module takes care of proper timing of RS485.

This document describes RS485-based protocol between master and slave modules. Note that for connection of MTBbus to PC protocol between MTB-USB module and PC must also be described. This protocol is available here.

  1. MTBbus goals
  2. MTBbus Architecture
  3. Commands
  4. Workflows
  5. Module-specific commands

Changelog

Available here.

Authors

License

Content of the repository is provided under Creative Commons Attribution-ShareAlike 4.0 License. You may download see the protocol, use it in your own modules and contribute to it.