Forum Replies Created
-
AuthorPosts
-
Matthias Runte
KeymasterFor the Arduino based controllers (MLC and MTC4PF) it should be quite simple: just add username and password to the connect method of the PubSubClient. Check https://pubsubclient.knolleary.net/api#connect
I will ask Ray to check how this would be done for the MTC4BT.
Matthias Runte
KeymasterTheoretically yes, if you use a Arduino upload plug-in. Nevertheless, the code and the directory structure for most of the controllers is presently optimized for Arduino.
Matthias Runte
KeymasterHi 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 Runte
KeymasterI 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 Runte
KeymasterI 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 Runte
KeymasterThe location on my machine is:
C:\Users\mattze\Documents\Arduino\libraries\tinyxml2
There should be two files inside:
tinyxml2.cpp
tinyxml2.hMatthias Runte
KeymasterDoes that help?
Matthias Runte
KeymasterIf 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 Runte
KeymasterWhat’s the use case exactly? On what even shall the LEDs do what?
Matthias Runte
KeymasterThe 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 Runte
KeymasterHmm… kannst Du mal Deine controller_config.h hochladen oder mir irgendwie zukommen lassen?
Matthias Runte
KeymasterDie 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 3 years, 11 months ago by
Matthias Runte.
Matthias Runte
KeymasterHi 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 Runte
KeymasterHm, 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 Runte
KeymasterCan you post your MTC4PF configuration file, please?
Matthias Runte
KeymasterHi 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 Runte
KeymasterI 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 4 years, 2 months ago by
Matthias Runte.
Matthias Runte
KeymasterHi 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 Runte
KeymasterHi 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 Runte
KeymasterDanke 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 Runte
KeymasterI 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 Runte
KeymasterJust use the same Loco Id.
Matthias Runte
KeymasterDas freut mich und das Team! Viel Erfolg noch weiterhin!
Matthias Runte
KeymasterIn 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 Runte
KeymasterDas 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ß,
Mattze -
This reply was modified 3 years, 11 months ago by
-
AuthorPosts
