Forum Replies Created
-
AuthorPosts
-
Matthias RunteKeymaster
Hi Andrew, you need to put the library files into the correct subfolder in the Arduino library folder. May the step-by-step guide (item 6) may help you.
Matthias RunteKeymasterI believe that this problem was reported before, and I also believe that the problem had to do with board manager version. Can you check if this forum thread helps you?
https://mattzobricks.com/de/forums/topic/mattzolayoutcontroller
Search for “abs()” and you’ll find the post(s).
Thanks!
Matthias RunteKeymasterI believe that this problem was reported before, and I also believe that the problem had to do with board manager version. Can you check if this forum thread helps you?
https://mattzobricks.com/de/forums/topic/mattzolayoutcontroller
Search for “abs()” and you’ll find the post(s).
Thanks!
Matthias RunteKeymasterThe location on my machine is:
C:\Users\mattze\Documents\Arduino\libraries\tinyxml2
There should be two files inside:
tinyxml2.cpp
tinyxml2.hMatthias RunteKeymasterDoes that help?
Matthias RunteKeymasterIf you are not using a port extender, a MattzoLayoutController can handle 8 switches, OR 4 signals (8 LEDs), OR 8 sensors, OR any combination of these appliances.
Matthias RunteKeymasterWhat’s the use case exactly? On what even shall the LEDs do what?
Matthias RunteKeymasterThe order in which you do this doesn’t matter. It is usually better to set up the MattzoTrainControllers first. Then you have all the ids you need to configure the locos in Rocrail.
Matthias RunteKeymasterHmm… kannst Du mal Deine controller_config.h hochladen oder mir irgendwie zukommen lassen?
Matthias RunteKeymasterDie Weichenmotoren können in der Kombination von engen Kurvenradien sowie langen und breiten Fahrzeugen durchaus ein Problem darstellen. Bei den engen Weichen mit Radius R40 ist die Sache tatsächlich manchmal schwierig und führt dazu, dass einige Fahrstraßen für bestimmte Züge gesperrt werden müssen. Abhilfe kann bringen, die Weichen an den kritischen Stellen nicht zu motorisieren. Das führt natürlich dazu, dass die Fahrtrichtung bei Anfahrt über die Spitze festgelegt ist. Wenn man clever ist, kann das aber trotzdem für einen vernünftigen Automatikbetrieb reichen.
Hast Du denn das Problem nur mit den R40 Weichen, oder auch mit den R104 Weichen? Ein ganz interessanter Kompromiss können übrigens auch die neuen R72 Weichen sein. Habe ich im Winter ausprobiert und ich konnte sogar die sehr langen Regio-Wagen von Bluebrixx durch die Weichen bringen, die zugegebenermaßen allerdings 6-wide sind.
Wenn es alles nichts hilft, gibt es immer noch die Weichen von Bricktracks, die man ohne Weiteres unterflur antreiben kann, oder die Antriebsmechanik weiter vom Gleis entfernt anlegen kann.
- This reply was modified 2 years, 1 month ago by Matthias Runte.
Matthias RunteKeymasterHi Simon,
thanks for your feedback.We have no plans to integrate 3rd party hubs like CADA / Mould King etc. at this time. The devices are interesting, but we didn’t find information on the Bluetooth protocol of those devices yet. If you have information on that, please let me know.
Cheers,
MattzeMatthias RunteKeymasterHm, ich meine, dass wir das Problem längst gelöst hatten. Schau mal, ob Du die aktuellen Version 0.5.1 der MattzoController Firmware verwendest, und dass die korrenten Versionen der Arduino-Libraries verwendet werden.
Matthias RunteKeymasterCan you post your MTC4PF configuration file, please?
Matthias RunteKeymasterHi Ulrich, I have just uploaded the Gerber files of the MTC4PF mini on the build-your-own page (https://mattzobricks.com/controllers/diy). If you try to order PCBs with those files, please share your experiences here, as I haven’t tried it myself yet. Thanks!
Matthias RunteKeymasterI used these ones: http://www.amazon.de/gp/product/B0899Q9LZM/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1
- This reply was modified 2 years, 3 months ago by Matthias Runte.
Matthias RunteKeymasterHi Bo,
we appreciate your feedback. The Mattzobricks core development team is happy to hear about your success.We wish you best success for your all of your subsequent LEGO train projects. Feel free to share pictures and videos with us, so that we can publish your layout in the projects area.
Cheers,
MattzeMatthias RunteKeymasterHi Mike, good point. I am working with a single power supply on board, a standard LEGO 9V battery box. Make sure your ESP8266 board copes with that voltage!
Matthias RunteKeymasterDanke für die Info. Schau mal, ob der Arm richtig eingebaut wurde. Ggf. den Stellhebel mal aufnehmen und um ein Ritzel verdreht wieder einsetzen.
Matthias RunteKeymasterI am not sure what the problem is. My first suggestion is to that if you used the correct versions of the required libraries as stated in the documentation. I know that some newer versions of some libraries do not work, so the versions are important.
Matthias RunteKeymasterJust use the same Loco Id.
Matthias RunteKeymasterDas freut mich und das Team! Viel Erfolg noch weiterhin!
Matthias RunteKeymasterIn der MattzoLayoutController.ino findest Du folgenden Abschnitt:
// Default values for TrixBrix switches (in case servo angles are not transmitted)
const int SERVO_MIN_ALLOWED = 50; // minimum accepted servo angle from Rocrail. Anything below this value is treated as misconfiguration and is neglected and reset to SERVO_MIN.
const int SERVO_MIN = 75; // a good first guess for the minimum angle of TrixBrix servos is 70
const int SERVO_START = 80; // position after boot-up. For TrixBrix servos, this is more or less the middle position
const int SERVO_MAX = 85; // a good first guess for the maximum angle of TrixBrix servos is 90
const int SERVO_MAX_ALLOWED = 120; // maximum accepted servo angle from Rocrail. Anything above this value is treated as misconfiguration and is neglected and reset to SERVO_MAX.Um kleinere Werte als 50 zu erlauben, ändere bitte den Wert von SERVO_MIN_ALLOWED. Ich habe diese Parameter als Sicherheit eingeführt, damit unsere User nicht zu viele Weichenmotoren versehentlich verheizen. Gut zu wissen, dass es doch Situationen gibt, in denen kleinere Winkel als 50 notwendig sind. Ich passe den Standard-Wert für die Firmware 0.5 mal auf 45 an.
Ab Firmware 0.5 werden die Servos voraussichtlich nach ein paar Sekunden ohnehin abschalten und keine Stellkraft mehr erzeugen.
Matthias RunteKeymasterDas Problem ist:
const char* MQTT_BROKER_IP = “localhost”Hier musst Du die IP-Adresse eintragen, auf dem der MQTT läuft, z.B.:
const char* MQTT_BROKER_IP = “192.168.1.100”
oder wie auch immer die Adrese von Deinem Rechner lautet.
Gruß,
MattzeMatthias RunteKeymasterDeinstallier mal mosquitto 2.0 wieder… 🙂
Da läuft noch etwas anderes auf dem MQTT Port, vermutlich der mosquitto 2.0 Service.
- This reply was modified 2 years, 6 months ago by Matthias Runte.
Matthias RunteKeymasterBeobachte zunächst mal die Status-LED vom Controller. Wie man die anschließt ist in den Schaltplänen zu sehen. Diese muss ein paar mal blinken und dann ausgehen. Eine blinkende Status LED signalisiert kein Wifi bzw. keine Verbindung zum MQTT Server.
Hilfreich ist der Debug-Mode von mosquitto (mosquitto -c mosquitto-conf -v bzw. einfach mosquitto -v). Wenn dort keine Nachrichten auflaufen, wenn Du in Rocrail etwas tust, hast Du vermutlich keine Verbindung zum MQTT Server in Rocrail – entweder ein Konfigurationsproblem oder Deine Firewall macht Ärger.
Wenn auf dem MQTT etwas ankommt, würde ich als nächstes die Firmware mit Serial Debug Level “DEBUG” kompilieren, den Controller per USB am Rechner lassen und die Debug-Nachrichten an der Arduino-Konsole ansehen. Dort siehst Du, ob Kommandos von Rocrail eintreffen und wie diese verarbeitet werden.
-
AuthorPosts