![]() ![]() Please consult the platformio.ini to select the prefered configuration. Subsequent firmware downloads can be done via OTA (Wifi). The project is setup for VSCode IDE with the platformio framework installed.Ī initial firmware download to the uC need to be done via USB. The IP address of the MQTT broker wheer the gateway shall connect is configurable. The MQTT broker need to be setup as standalone service, it is not part of the project. A second connection is initiated to a MQTT broker. No special settings are necessary, all settings shall kept in default state. Please consult the iTrain manual about z21 integration details. From iTrain perspective it looks like a physical z21. The gateway connects to iTrain via Wifi by use of the Roco z21 protocol. At later state a conversion to Java in order to run as service on any PC is thinkable but not planned yet. This allow easy integration without struggling with PC operating system specialities. Implementation:įor simplification the gateway is prepared to run on a ESP8266uC. So this can bring both together and allow easy implementation of special custom hardware with iTrain. On the other hand the MQTT protocol is widely used in IoT applikations with tons of existing applikations and templates. Background is that most protocols used in model railroad environment are little bit complex and not easy to integrate in DiY uC projects. This project is a MQTT gateway for iTrain model railroad control software.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |