Forum Replies Created

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • in reply to: Missing XmlParser.h #4821
    Ulrich SchneiderUlrich Schneider
    Participant

    Sorry for the late reply. Error is on my side. As I am a Linux user, it needs to be “…/lib” in my case and not “..\lib”. Then it works as a charm. Sorry for the confusion.

    in reply to: Missing XmlParser.h #4679
    Ulrich SchneiderUlrich Schneider
    Participant

    It seems like the two files (XmlParser.h and XmlParser.cpp) should be in “/MTC4BT/lib/MCNetwork/” or “/MTC4BT/lib/MController/”. The other folders seem not to work for me.

    in reply to: Missing XmlParser.h #4656
    Ulrich SchneiderUlrich Schneider
    Participant

    I have copied it into three folders. Into the Arduino library folder, into the “MTC4BT/lib” folder, and into the “MTC4BT/lib/MController” folder. If I got time over the weekend, I might have a chance to look at which one is the right one.

    in reply to: Controller does not connect to WiFi #4541
    Ulrich SchneiderUlrich Schneider
    Participant

    Hi,

    thanks for pointing that out. I had some initial issues with the BT as well, but now the MTCBT works. So, I am staying with that one.

    Best,
    Uli

    in reply to: Missing XmlParser.h #4416
    Ulrich SchneiderUlrich Schneider
    Participant

    Yes, I do have opened the correct file and renamed the platformio.ini file.
    I just copied the file from the firmware lib in several other folders and it worked.

    in reply to: Controllers not connecting to MQTT #4407
    Ulrich SchneiderUlrich Schneider
    Participant

    Obviously, it is hard to tell without mich more information.
    I would focus on the MLCs. The config file must be MOVED, NOT COPIED into your Arduino folders. You are not allowed to have them in your folders with the other files.

    Sometimes the port is wrong. Instead of 1883, it is 8883 or so. Sometimes the IP of the MQTT changed.

    in reply to: Rocrail Issues #2009
    Ulrich SchneiderUlrich Schneider
    Participant

    Hoi Piet,

    It is almost impossible to predict what issue you have. Rocrail has numerous configurations, etc.
    A brief checklist would be:
    – Have you connected some (or all) switches to rocrail?
    – Have you installed sensors?
    – Have you at least one more free block than trains?
    – Have you configured routes?
    – Have you assigned sensors for routes and blocks?
    – Have you started automatic mode and started each train?

    Best,
    Uli

    in reply to: Power Supply for Trains #2007
    Ulrich SchneiderUlrich Schneider
    Participant

    I have two questions regarding the power supply of trains

    1. There seem to be 3 main sources: AA or AAA batteries (either 6 or 8) or a 9V block. I am curious about what their differences in runtime are. I would love to know how a rechargeable 9V block compares to the other options (e.g. 65% of runtime).

    2. I was wondering if there is already a control of the overtime loss in power in the two train controllers. Currently, it seems like there is none but some videos mention it. It also does not look like it is still on the schedule of future releases. I made the experience that I have to adjust the speeds in rocrail over time.

    in reply to: MTC4PU – MattzoTrainController for Powered Up #1999
    Ulrich SchneiderUlrich Schneider
    Participant

    For anyone wondering in the future: It does not make any difference if you use a PU train motor or a PU large motor. I am able to connect both to a single MTC4PU.

    in reply to: Wiring and Cabling #1978
    Ulrich SchneiderUlrich Schneider
    Participant

    Just a brief remark:

    The MTC4PF seems to have an outdated wiring diagram. Motor A should be connected to pins D3 and D4 and motor B should be connected to D5 and D6.

    in reply to: MTC4PU – MattzoTrainController for Powered Up #1977
    Ulrich SchneiderUlrich Schneider
    Participant

    Hi everyone,

    I got my controller working with a classic setup: One PU hub plus a PU train motor. However, I have trouble getting my crocodile working which does not have a train motor, but a PU Large Motor. I see that the hub is connected and I see that the controller sends Speed commands to the hub (or at least receives those via mosquito.). However, the crocodile is not moving in any direction. Do I have to change the config file to account that I have a PU Large Motor and not a PU train motor? And how would I do that?

    [remark: I noticed that with the LEGO controllers (the Bluetooth control), the crocodile differs from the train motor as it needs constant pressing down the speed button (and only knows one speed)). That is the reason, I suspect that it is not working.]

    in reply to: MTC4PF – MattzoTrainController for Power Functions #1975
    Ulrich SchneiderUlrich Schneider
    Participant

    Hallo Achim,

    die Adresse 100 ist in diesem Fall die richtige. Die Nummer des Mattzocontollers ist für Rocrail in diesem Fall unwichtig.

    An Linux liegt es sicherlich auch nicht, ich benutze auch Linux.

    Hast du die 2 inneren oder die 2 äußeren Kabel der Power Functions Kabel an deinen Motorshield angeschlossen? Richtig wären die beiden Inneren.

    Das Diagramm ist ein wenig veraltet. Du müsstest einen Motor, den du an “Motor A” angeschlossen hast an die Pins D3 und D4 des ESP8266 anschließen. Ist dein Motor and “motor B” angeschlossen, brauchst du die pins D5 und D6. Sonst GND an GND und VCC an Vin.

    Ein guter Tipp ist den Controller mit USB an den Computer anzuschließen und in der Arduino Application unter “Tools -> Serial Monitor” zu beobachten. Wenn alles Verbunden bist und in Rocrail die Geschwindigkeit änderst, zeigt dir das der Serial Monitor an? Wenn ja, dann haben rocrail und dein Controller eine Verbindung. Dann kann es nur an der Verkabelung liegen.

    Viele Grüße,
    Uli

    in reply to: MTC4PF – MattzoTrainController for Power Functions #1974
    Ulrich SchneiderUlrich Schneider
    Participant

    I found the issue.

    While the Wiring diagram showed that the pins of motor A should be connected to D2 and D3, the code actually wants them to connect to D3 and D4. Changed that. Now it works.

    in reply to: MTC4PF – MattzoTrainController for Power Functions #1966
    Ulrich SchneiderUlrich Schneider
    Participant

    Hi,

    While I had no trouble with the MTC4PF V0.2, I experience a weird issue with V3.0. It seems like I have power over the controller, but it is strangely reversed. When the speed is at 100% forward, the motor stops. When the speed is at 0% forward (or backward, or even 100% backward) the train is basically going at 100% speed. I have tried to set the motor to -1 instead of 1 in the configuration file and to invert it in rocrail but that has not solved the problem.

    Has someone an idea what else I could change to get this worked out?

    Best,
    Uli

Viewing 14 posts - 1 through 14 (of 14 total)