Forum Replies Created

Viewing 25 posts - 1 through 25 (of 72 total)
  • Author
    Posts
  • in reply to: MattzoBricks Train Automation for Beginners #4548
    Thomas RodriguesMax
    Participant

    — Possible Layout Controller Settings (not for TrixBrix Servos)

    //Controller1
    const int SERVO_MIN_ALLOWED = ; // i.e. 80
    const int SERVO_MIN = 85;
    const int SERVO_START = 92;
    const int SERVO_MAX = 98;
    const int SERVO_MAX_ALLOWED = ; // i.e. 105

    //Controller2
    const int SERVO_MIN_ALLOWED = ; // i.e. 80
    const int SERVO_MIN = 84;
    const int SERVO_START = 92;
    const int SERVO_MAX = 100;
    const int SERVO_MAX_ALLOWED = ; // i.e. 105

    in reply to: TrixBrix Servos Defekt #4546
    Thomas RodriguesMax
    Participant

    Hallo Ralf,

    aus meiner Erfahrung kann ich dir nur “Try and Error” empfehlen da jede Weiche und jeder Controller da leider individuell sind. Fange mit relativ kleinem Winkel (min / max Werten) an.

    Z.B.

    //Controller1
    const int SERVO_MIN_ALLOWED = ; // z.B. 80
    const int SERVO_MIN = 85;
    const int SERVO_START = 92;
    const int SERVO_MAX = 98;
    const int SERVO_MAX_ALLOWED = ; // z.B. 105

    Oder:

    //Controller2
    const int SERVO_MIN_ALLOWED = ; // z.B. 80
    const int SERVO_MIN = 84;
    const int SERVO_START = 92;
    const int SERVO_MAX = 100;
    const int SERVO_MAX_ALLOWED = ; // z.B. 105

    Ist eine Weichenstellung erkennbar kann feinjustiert werden. Zum Schluss dann MIN_ALLOWED und MAX_ALLOWED einstellen.

    Auch empfehle ich zunächst ein einfaches Layout zu testen (zwei drei Weichen je Controller) und mit etwas Erfahrung kann dann größer skaliert werden.

    Melde dich mal, obs klappt 🙂

    • This reply was modified 2 years, 4 months ago by Thomas RodriguesMax.
    • This reply was modified 2 years, 4 months ago by Thomas RodriguesMax.
    in reply to: MQTT and Mosquitto Issues #3932
    Thomas RodriguesMax
    Participant

    Generell nochmal zum Thema Software / Verkabelung:
    Schau ob du den Code auf einem gleichen, nackten Board fehlerfrei compilieren kannst.
    Damit solltest du Fehler in der Verkabelung nachgehen können.

    Debug:
    Port – Serial definieren
    Level – 1. generell gilt, je weniger desto einfach zu lesen 2. wenn man nicht weiß was man angeben soll / kann, mehr wählen

    Jetzt gehts ans eingemachte. Du benötigst:
    1. Debug aus Arduino IDE -> was empfängt / verarbeitet das Board
    2. MQTT Log -> was empfängt / verarbeitet MQTT
    3. Rocrail -> was empfängt / verarbeitet Rocrail

    Schau mal ob hier das Log Rocrail -> MQTT -> Board soweit passt.

    in reply to: MQTT and Mosquitto Issues #3913
    Thomas RodriguesMax
    Participant

    Hast du mal geschaut, ob MQTT nicht schon läuft?
    Testmeldungen getriggert?

    in reply to: MQTT and Mosquitto Issues #3910
    Thomas RodriguesMax
    Participant

    Hi!

    Zu den Ansatz von Matze möchte ich dir noch den Guide zur Fehlersuche ans Herz legen.
    Den findest du hier: Guide

    Bei mir lag es seinerzeit an einer falschen Schaltung.
    Sei dir also sicher, dass alles korrekt verdrahtet ist.

    Grüße Thomas

    in reply to: MattzoLayoutController #3839
    Thomas RodriguesMax
    Participant

    Hey Joos thank you for your feedback!

    in reply to: Syslog.h missing #3833
    Thomas RodriguesMax
    Participant

    Hi Max,

    personally I would rather verify the settings prior to install a foreign lib.

    Did you already found https://mattzobricks.com/de/forums/topic/mattzobricks-train-automation-for-beginners#post-2244?

    Greetings Thomas

    • This reply was modified 2 years, 6 months ago by Thomas RodriguesMax.
    Thomas RodriguesMax
    Participant

    Hi Mike,

    das ist in der Tat eine schwierige Angelegenheit.

    MQTT basiert auf TCP/IP. D.h. wir können auf der Ebende Probleme beim Transport nahezu ausschließen.

    Ich würde eher Richtung WLAN mit der Analyse der Ursache beginnen:

    1. eine dedizierte 2,5Ghz SSID einrichten
    2. die wahl des Kanals prüfen (möglichst ohne eine Überlappung anderer SSIDs)
    3. Sender und Empfänger möglichst nahe bei einander
    4. keine Firewall zwischen Client, MQTT Server und Rocrail Server

    Was auch reinspielen könnte ist, dass wenn MQTT und Rocrail auf einem Server läuft könnte es sich auch um ein Problem mit dem Server handeln.
    Da sprechen wir jedoch von einer gänzlich anderen Herangehensweise zur Ursachenforschung.

    MQTT kann sehr einfach auch Testnachrichten generieren. Vielleicht versuchst du das mal und schaust wie schnell das geht.

    Grüße Thomas

    in reply to: Keine WLan Verbindung #3677
    Thomas RodriguesMax
    Participant

    Hallo Andy,

    sry, ich meinte natürlich die COM Schnittstelle 🙂

    in reply to: Keine WLan Verbindung #3675
    Thomas RodriguesMax
    Participant

    Hallo Andy,

    vielleicht magst du noch eine Sache versuchen.
    Richte im Router mal eine neue 2,5G SSID ein und passe die Konfig über die Konsole an.

    Ich hatte in meinem Netz beobachtet, dass trotz gleicher SSID/PSK zweier verschiedener Router, die Controller ausschließlich mit einem der beiden Router verbinden wollten.

    Abhilfe schaffte nur, die Controller mittels Konsole neu zu konfigurieren.

    in reply to: Keine WLan Verbindung #3672
    Thomas RodriguesMax
    Participant

    Hallo Andy,

    schau mal dass du unter WLAN -> Funknetz -> 2,4-GHz-Frequenzband aktiv hast. Die Boards können ausschließlich 2,4Ghz.
    Alternativ könntest du vorübergehend eine SSID für Gäste ausstrahlen und es damit versuchen.

    Grüße

    Max

    Thomas RodriguesMax
    Participant

    Sehr cool geworden, top!

    Thomas RodriguesMax
    Participant

    Hallo Achim, damit in diesem Forum Bilder angezeigt werden, musst du diese auf einer entsprechend öffentlichen Plattform hochladen und den Link dann hier teilen 🙂

    Max

    in reply to: Forumstruktur #3587
    Thomas RodriguesMax
    Participant

    schön das Ihr das jetzt umgesetzt habt 😉

    Hallo Andy, danke fürs Feedback! Ist deutlich übersichtlicher geworden.
    Dennoch, wenn euch was fehlt, immer her mit den Vorschlägen!

    Grüße Max

    Thomas RodriguesMax
    Participant

    Lässt sich dies eventuell im Sketch umstellen?

    Hallo Achim, wir sind sehr darum bemüht die Sketches so umfangreich und gleichzeitig so plausibel wie möglich zu gestalten. Das umstellen ist nicht möglich.

    Solltest du mit deinen Signalen vorankommen, würden wir uns freuen wenn du diese in MattzoBricks Integration vorstellst 🙂

    Thomas RodriguesMax
    Participant

    Hallo Achim, ohne nähere Informationen befürchte ich, können wir dir nicht weiterhelfen.

    Grüße Max

    in reply to: MattzoBricks Integration #3367
    Thomas RodriguesMax
    Participant

    I am very proud to introduce my latest project:

    The dual motorized 10194 Emerald Night loco!

    I ever wanted to optimize it’s motorization with one goal in mind. Keep the drivers cabin somehow in place. The solution was, to place two PF L motors in the front. And here it is!

    Some summarized facts:
    – Electronic components can be stored in the tender
    – Two PF L motors in the front to power the loco
    – Traditional motorization with IR receiver is not tested

    The instruction can be found here: rebrickable.com – MOC-77974

    And of cause a bit of a preview:

    2021-10194-emerald-night-4

    2021-10194-emerald-night-3

    2021-10194-emerald-night-2

    2021-10194-emerald-night

    20210522-120942

    20210524-191015

    20210524-191400

    • This reply was modified 2 years, 11 months ago by Thomas RodriguesMax.
    in reply to: Forumstruktur #3358
    Thomas RodriguesMax
    Participant

    Hallo Andy,

    tatsächlich arbeiten wir bereits an einer Möglichkeit die Struktur des Forums übersichtlicher zu gestalten. Bis es soweit ist, bitten wir noch um etwas Geduld 😉

    Viele Grüße Max

    in reply to: Keine WLan Verbindung #3318
    Thomas RodriguesMax
    Participant

    Hallo Achim, vielen Dank für die Lösung!
    Ich werde diese im Thread MattzoBricks Train Automation for Beginners dokumentieren.

    Grüße Max

    in reply to: MTC4PU – MattzoTrainController for Powered Up #3317
    Thomas RodriguesMax
    Participant

    Hi Olivier,

    thank you for this solution! We’ll analyse this and include it in the next version as a fix.

    Stay tuned! 🙂

    in reply to: MattzoLayoutController #3309
    Thomas RodriguesMax
    Participant

    Hi Rod! I did not forget you 🙂
    Rather to get a workaround working, I would like to have your original setup (with the PCA9685) working as it is the more prefered solution..

    – You wrote that you have 5 switches and 3 signals.
    As the main feature from the PCA is that it is powered down between the switch commands you should connect the signals directly to the ESP.

    – The config of your ESP with a connected PCA as follows:
    1. LayoutController needs to #include “MattzoLayoutController_Configuration_PCA9685.h”
    2. Swap the value of “// Digital pins for signal LEDs” and “// Digital input PINs for hall, reed or other digital sensors” and vice versa.

    I.E:
    // Digital pins for signal LEDs
    const int NUM_SIGNALPORTS = 5;
    uint8_t SIGNALPORT_PIN[NUM_SIGNALPORTS] = { D3, D4, D5, D6, D7 };
    uint8_t SIGNALPORT_PIN_TYPE[NUM_SIGNALPORTS] = { 0, 0, 0, 0, 0 };

    // Digital input PINs for hall, reed or other digital sensors
    const int NUM_SENSORS = 8;
    uint8_t SENSOR_PIN[NUM_SENSORS] = { D3, D4, D5, D6, D7 };
    uint8_t SENSOR_PIN_TYPE[NUM_SENSORS] = { 8, 9, 10, 11, 12, 13, 14, 15 };
    uint8_t SENSOR_PIN_TYPE[NUM_SENSORS] = { 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40, 0x40 };

    The corresponding port in Rocrail begins with 0.

    If this does not help, we need your Rocrail and ESP config.

    Greetings!

    in reply to: MattzoLayoutController #3297
    Thomas RodriguesMax
    Participant

    Hi Rob, what kind of power supply do you use and is everything connected trough a breadboard?

    in reply to: Meine ersten Erfahrungen mit MattzoBricks #3270
    Thomas RodriguesMax
    Participant

    Hallo Guido,
    herzliches willkommen bei Mattzobricks!
    Klasse, dass die ersten Schritte geklappt haben.
    Für weitere Ideen und Tips kann ich dir folgende Topics empfehlen:
    MattzoBricks Train Automation for Beginners
    MattzoBricks Integration

    Viele Grüße

    • This reply was modified 3 years ago by Thomas RodriguesMax.
    in reply to: MattzoBricks Integration #3156
    Thomas RodriguesMax
    Participant

    A short integration of a switch servo case:

    Instruction: rebrickable – MOC-74140

    Servo: SG90

    20210405-150323

    20210405-150014

    20210405-150550

    20210405-150729

    20210203-161307-001

    How to cut switches: LEGO Train Junction “Outward” Hack, Simple LEGO Train Hack : Shorter Junctions and Crossover

    If they are available, you can buy relatively good and cheap switches here: steingemachtes.de

    • This reply was modified 3 years ago by Thomas RodriguesMax.
    in reply to: Weichen stellen – welche Optionen gibt es? #3146
    Thomas RodriguesMax
    Participant

    Edit: Ich habe einen Post zum Thema verfasst unter mattzobricks-integration

    • This reply was modified 3 years ago by Thomas RodriguesMax.
    • This reply was modified 3 years ago by Thomas RodriguesMax.
Viewing 25 posts - 1 through 25 (of 72 total)