Forum Replies Created

Viewing 25 posts - 76 through 100 (of 201 total)
  • Author
    Posts
  • in reply to: Anleitung #5745
    Matthias RunteMatthias Runte
    Keymaster

    Ich hoffe die Bilder, die ich Dir per E-Mail gesendet hatte, haben ein bisschen geholfen.

    Ich habe in den letzten Tagen ein paar Regressionstests gemacht und bin auf einen witzigen Bug in der Firmware gestoßen, der in speziellen Konfigurationssituationen auftreten kann. Dieser ist mit Release V1.0.1 behoben. Bitte Firmware updaten, falls Du auch die orangenen Servo-Motoren für die Brücke verwendest.

    Matthias RunteMatthias Runte
    Keymaster

    Happy to hear that. I have reviewed all of the MLC example files. There will be a lot of changes, updates and improvements in firmware version 1.0.1.

    Matthias RunteMatthias Runte
    Keymaster

    Jepp, it’s the bug introduced by the MLC example configuration files in the bascule bridge configuration.

    You need to do two things:

    1.
    Please remove these lines (in the bascule bridge configuration section):

    //Must be defined, but are zero
    #define NUM_SIGNAL_ASPECTS 0
    #define NUM_SIGNAL_LEDS 0
    #define NUM_SIGNAL_SERVOS 0

    2.
    Please change (in the signal configuration section):

    >>
    // Number of signals
    const int NUM_SIGNALS = 8;
    // Maximum number of signal aspects (e.g. red, green, yellow)
    const int NUM_SIGNAL_ASPECTS = 3;
    // Number of signal LEDs (usually equal to NUM_SIGNAL_ASPECTS)
    const int NUM_SIGNAL_LEDS = 3;
    << into // Number of signals #define NUM_SIGNALS 8 // Maximum number of signal aspects (e.g. red, green, yellow) #define NUM_SIGNAL_ASPECTS 3 // Number of signal LEDs (usually equal to NUM_SIGNAL_ASPECTS) #define NUM_SIGNAL_LEDS 3 << Then it should be working. Cheers, Mattze

    Matthias RunteMatthias Runte
    Keymaster

    Meanwhile, could you check if you still have the following code in your controller_config.h in the level crossing section?

    // BASCULE BRIDGE CONFIGURATION
    // General switch for bascule bridge (false = no bridge connected; true = bridge connected)
    bool BASCULE_BRIDGE_CONNECTED = false;
    // Must be defined, but are zero
    #define NUM_SIGNAL_ASPECTS 0
    #define NUM_SIGNAL_LEDS 0
    #define NUM_SIGNAL_SERVOS 0

    This was the problem that I fixed yesterday. You need to delete these defines from your configuration, as these values override the mentioned parameters by accident.

    Matthias RunteMatthias Runte
    Keymaster

    Could you send or paste your complete conf/my/controller_config.h file, please?

    Matthias RunteMatthias Runte
    Keymaster

    Thanks. 🙂 Let me know how it worked out.

    Matthias RunteMatthias Runte
    Keymaster

    Hi Fabian,
    you are doing everything fine. There is a bug in the example files for the MLC in release V1.0. This is the reason why the light signals do not work. I just found bug myself this evening while uploading the firmware to one of the “MLC megas” that I am presently building.

    I just fixed the bug and pushed the bugfix it to the development branch. The fix will be included in the next release 1.0.1, which we are going to release soon.

    If you know how to check out the development branch, just go for it. If not, drop me a message, then I will help you.

    But thanks for your feedback anyways!

    Cheers,
    Mattze

    in reply to: Anleitung #5719
    Matthias RunteMatthias Runte
    Keymaster

    Eine IO-Datei habe ich leider nicht. Von dem Prototypen gibt nur die Bilder auf der Website und das Video.

    Wenn ich Zeit und Lust habe, baue ich aber noch eine anständige Brücke auf Basis der Trixbrix-Brückenelemente, die voraussichtlich 6 oder 8 Standard-Geraden lang sein wird. Vielleicht mache ich dazu eine IO-Datei.

    Matthias RunteMatthias Runte
    Keymaster

    Wenn da Lampen blinken, nimmt der MLC ja zumindest schon mal Kommandos von Rocrail an. Das ist schon mal sehr gut und 90% der Miete. Funktionieren die Weichenmotoren denn am MLC ohne Port Extender?

    in reply to: Battery status #5605
    Matthias RunteMatthias Runte
    Keymaster

    We have already done some preparations for that, also on the hardware level. We are planning to work on this matter in the future.

    in reply to: Slow response of controller #5604
    Matthias RunteMatthias Runte
    Keymaster

    Happy to hear that. Somewhere on the website there are some tipps for improving performance of the automation. Did you find that?

    May I also propose to shift the discussion to the MTC4BT topic? This is the MTC4PU forum. 🙂

    Thanks!

    in reply to: Slow response of controller #5599
    Matthias RunteMatthias Runte
    Keymaster

    We have optimized some internal settings within MTC4BT to speed up processing. We will publish a new release soon and also plan to open up the git repository to the public. Stay tuned…

    in reply to: Need a little BIG help.. #5576
    Matthias RunteMatthias Runte
    Keymaster

    Released V0.6.1 with a bugfix for the MTC4BT. Hope it helps.

    in reply to: Battery Level Indicator #5561
    Matthias RunteMatthias Runte
    Keymaster

    We are working on that for both MTC4BT and MTC4PF. The aim is to correct the train speed for decreasing battery power as long as possible.

    in reply to: Cant upload firmware #5471
    Matthias RunteMatthias Runte
    Keymaster

    Happy to hear that. Thank you for the feedback.

    in reply to: MLC – Fehler beim Kompilieren #5462
    Matthias RunteMatthias Runte
    Keymaster

    Hallo Volkmar,
    wir haben das Problem identifiziert und mit der neuen Firmware 0.6 hoffentlich auch gelöst. Hintergrund war, dass abs() keine unsigned integers schluckt (eigentlich logisch), und daher bei einigen Compilern Fehler wirft.

    Schau mal, ob es jetzt funktioniert, falls das Problem noch aktuell ist.

    Gruß,
    Mattze

    in reply to: error by verifying #5461
    Matthias RunteMatthias Runte
    Keymaster

    Andrew, did it work?

    in reply to: Cant upload firmware #5460
    Matthias RunteMatthias Runte
    Keymaster

    Hello Karoly,
    we investigated the abs() problem again and we found the solution for it (or Hilbert did, to be precisely).

    I have just released firmware 0.6. The problem should be fixed now.

    Cheers,
    Mattze

    in reply to: Trying to use two MTC4BT #5411
    Matthias RunteMatthias Runte
    Keymaster

    True. If you’ve never worked with microcontrollers before, it’s a steep hill to climb. But it’s worth it and many people have valued up their layouts with our train automation system. We appreciate every new user and layout, so: welcome to the club!

    in reply to: MTC4BT Tips for Setup #5410
    Matthias RunteMatthias Runte
    Keymaster

    Just wonderful! Thanks a lot for sharing your experience.

    in reply to: Narrow Gauge train motor #5409
    Matthias RunteMatthias Runte
    Keymaster

    Hi Max,
    that sounds pretty cool. I have a lot of narrow gauge tracks, switches and crossings here, but I just played around with them a little bit – nothing serious yet. I didn’t have time to get into the science of building rolling stock for narrow gauge yet, so I have no practical experience in that yet. But I have a strong desire to dive into that matter later. So, maybe I ping you one day for exchanging a bit more of your experience.

    Did you check out the track planning section on Mattzobricks yet? I have added narrow gauge tracks to the Trixbrix library for Bluebrick, so Track Planning should be quite easy also for narrow gauge.

    in reply to: Trying to use two MTC4BT #5405
    Matthias RunteMatthias Runte
    Keymaster

    Hi Max,
    ad 1: well, while traffic also does play a role, it’s more the number of connected Bluetooth devices that is relevant. It’s no deterministic science as of now, but we are tracking the problem down as good as we can.

    Ad 2: will be hopefully resolved soon.

    Thanks for your patience.

    in reply to: Trying to use two MTC4BT #5399
    Matthias RunteMatthias Runte
    Keymaster

    Hi Max,
    I believe your problem relates to a bug in the MTC4BT that we are presently tracking down. At present, I would recommend not to use too many PU or SBrick units with one MTC4BT. Using only a limited number of hubs improves the stability of the controller significantly. Our hope is that we get the problem fixed soon, then it should no longer matter.

    So, the short answer is: invest in one or even two more controllers.

    Cheers,
    Mattze

    in reply to: MQTT credentials in network_config #5381
    Matthias RunteMatthias Runte
    Keymaster

    For 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.

    in reply to: MattzoSwitchController #5377
    Matthias RunteMatthias Runte
    Keymaster

    Theoretically 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.

Viewing 25 posts - 76 through 100 (of 201 total)