Forum Replies Created

Viewing 25 posts - 251 through 275 (of 291 total)
  • Author
    Posts
  • in reply to: MTC4PF – MattzoTrainController for Power Functions #2431
    Matthias RunteMatthias Runte
    Keymaster

    Poste bitte mal die MQTT loco messages und welche Richtung du jeweils erwartest. Auch die Serial Logs vom MattzoTrainController wären hilfreich.

    in reply to: MattzoSwitchController #2407
    Matthias RunteMatthias Runte
    Keymaster

    Hallo allerseits,
    könnt Ihr mal probieren, auf dem verdächtigen Controller das ganz einfache Beispiel-Sketch laufen zu lassen und einfach den Servo ein bisschen zu drehen? Vorsicht mit dem zulässigen Winkelbereich, zerschießt Euch nicht die Weichenmotoren. Danke!

    Nur der MTC4PU braucht bislang einen ESP-32, alle anderen Controller benötigen einen ESP12 / ESP8266.

    Gruß,
    Mattze

    in reply to: MTC4PF – MattzoTrainController for Power Functions #2388
    Matthias RunteMatthias Runte
    Keymaster

    The code is on GitHub, but it’s not public. We have plans to set the repository to public at a later stage.

    in reply to: MTC4PU – MattzoTrainController for Powered Up #2333
    Matthias RunteMatthias Runte
    Keymaster

    General Section

    Section “emergency brake”.

    in reply to: MTC4PF – MattzoTrainController for Power Functions #2320
    Matthias RunteMatthias Runte
    Keymaster

    Happy to hear that.

    And here is your chance for compensation: 🙂
    – If you build a beautiful LEGO train layout, send me the track plan and media like photos and videos, so that I can publish it in the projects section on the website! My e-mail address can be found in the imprint (Impressum) section.

    Thanks!

    in reply to: MTC4PF – MattzoTrainController for Power Functions #2316
    Matthias RunteMatthias Runte
    Keymaster

    The last part of the lightEvent() function should be changed like this:

    
           case LightEventType::REVERSE:
            mcLog("Light event reverse");
            // UPDATE THIS CODE SO THAT IT FITS YOUR NEEDS!
            functionCommand[i] = ((i == 0) || (i == 3));
            break;
          }
        }
      }
    }
    

    Let me know if it works.

    We have plans to make the light configuration both simpler and more powerful in the future.

    in reply to: MTC4PF – MattzoTrainController for Power Functions #2295
    Matthias RunteMatthias Runte
    Keymaster

    If you could post:
    1. the relevant sections of the config file (MTC4PF_Configuration.h or similar),
    2. your lightEvent() function in MTC4PF.ino,
    then I could try to comment on that.

    Thanks!

    in reply to: MTC4PF – MattzoTrainController for Power Functions #2286
    Matthias RunteMatthias Runte
    Keymaster

    Hello Herbert,
    welcome! At present, we have no plans to support the old RC Infrared prototcol, though I am aware that people have reengineered it and replaced the infrared remote control with their own devices. So it should theoretically be possible to do that.

    The MattzoLayoutController will be based on the ESP8266 as well. You may order some PCA9685 port extenders as well if you’re planning larger layouts.

    Cheers,
    Mattze

    in reply to: MTC4PU – MattzoTrainController for Powered Up #2282
    Matthias RunteMatthias Runte
    Keymaster

    Hi everybody,
    for your information: we put some substantial work into the bugfix for the MTC4PU, but we did not eliminate the problems completely yet.

    We are actively working on it and hope to find and eliminate the root cause soon.

    Cheers,
    Mattze

    in reply to: MTC4PF – MattzoTrainController for Power Functions #2277
    Matthias RunteMatthias Runte
    Keymaster

    Thanks!

    in reply to: MattzoSwitchController #2275
    Matthias RunteMatthias Runte
    Keymaster

    But you need to send me pictures, track plans and videos for the “Projects” section. 🙂

    in reply to: MattzoSwitchController #2272
    Matthias RunteMatthias Runte
    Keymaster

    Ha ha, permission granted. 🙂

    in reply to: MTC4PF – MattzoTrainController for Power Functions #2261
    Matthias RunteMatthias Runte
    Keymaster

    I would recommend to wait a bit. We are not finally decided on unifying the MattzoTrainControllers yet. The ESP8266 based controllers work absolutely stable and without any problems. As you know, we are still struggeling a bit with the stability of the ESP32. Before we haven’t sorted out all problems, I am not willing to give up the ESP-8266 yet. Anyways, you can always use your ESP8266 for building layout controllers (sensors, switches, signals…).

    in reply to: MTC4PF – MattzoTrainController for Power Functions #2260
    Matthias RunteMatthias Runte
    Keymaster

    I didn’t try this yet. At least the i2c connectivity will require some code changes, I suppose.

    Be careful that your Wemos D1 mini doesn’t smoke off when you connect it to power. It does not cope with 9V. You need a step-down module between the battery and the microcontroller.

    in reply to: MTC4PF – MattzoTrainController for Power Functions #2253
    Matthias RunteMatthias Runte
    Keymaster
    in reply to: MTC4PF – MattzoTrainController for Power Functions #2249
    Matthias RunteMatthias Runte
    Keymaster

    That’s a little bug in Firmware 0.3. Change it to L9110 and you’ll be fine. Will be fixed with the bugfix release 0.3.1 (presently scheduled for Sunday or next week).

    in reply to: MattzoSwitchController #2241
    Matthias RunteMatthias Runte
    Keymaster

    Congratulations!

    in reply to: MTC4PU – MattzoTrainController for Powered Up #2232
    Matthias RunteMatthias Runte
    Keymaster

    Oops, my bad. The topics should no be visible in the forum.

    in reply to: MattzoSwitchController #2227
    Matthias RunteMatthias Runte
    Keymaster

    Excellent, good luck! 🙂

    in reply to: MTC4PU – MattzoTrainController for Powered Up #2224
    Matthias RunteMatthias Runte
    Keymaster

    Nikos, thanks for sharing your findings! This is indeed very helpful. We are interested in more feedback from the user base, so we are keen to hear more results from others as well.

    Henk from the core developer team has pretty much nailed down the problem, we just need some more empirical basis for issueing the fix for the firmware.

    Thank you all!

    in reply to: MattzoSwitchController #2220
    Matthias RunteMatthias Runte
    Keymaster

    I suggest to read the documentation first:

    MattzoSwitchController

    Or for the other MattzoControllers:

    Controllers

    Wiring diagrams are included.

    Nevertheless I agree that some basic knowledge about microcontrollers, networking and IT is helpful when building MattzoControllers. I had no clue at least about microcontrollers a short while ago, but buying an Arduino starter set and watching some Arduino youtube tutorial videos helped me a lot.

    You may start a topic in the forum for beginners yourself. Why don’t you call it “MattzoBricks Train Automation for Beginners” or something similar?

    in reply to: MattzoSwitchController #2200
    Matthias RunteMatthias Runte
    Keymaster

    Don’t forgot to take the servo motors out of the casing first, else they could be damage with this test script. Safe angles are usually between 70 and 80 degrees for Trixbrix servos. After calibration, you usually end-up between ca. 60 and 90 degrees (depends on the specific servo, must be checked for every single servo).

    in reply to: MTC4PF – MattzoTrainController for Power Functions #2163
    Matthias RunteMatthias Runte
    Keymaster

    Hi Lucas,
    the IR LED is not connected to D5 and 3.3V, it’s connected to D5 and GND. I will compile an exact list of the components that I used. So far, I didn’t burn any of the controllers or IR LEDs in that setup, and it ran over several weeks. Overstressing components is not good, but the infrared pulses are extremely short, which may help a bit to protect the LED even if overpowered.

    Cheers,
    Mattze

    in reply to: MTC4PF – MattzoTrainController for Power Functions #2162
    Matthias RunteMatthias Runte
    Keymaster

    That might be because the Lego Infrared Receiver has only 7 power levels. That makes accelerating and braking and bit less smooth.

    in reply to: MattzoSwitchController #2094
    Matthias RunteMatthias Runte
    Keymaster

    Arduino IDE has some built-in example sketches for servos. But be careful not to break your switch motors. It might be a good idea to take the servo out of the casing before testing with the standard sketches.

Viewing 25 posts - 251 through 275 (of 291 total)