Forum Replies Created
-
AuthorPosts
-
Matthias Runte
KeymasterHi folks,
I have read your comments above. I am pretty busy at the moment, but I have just created a bug report in our internal bug tracking tool. I will check out if I can reproduce the problems with the new ESP-8266 firmware (V3.x.x). I will also have a look at the proposed abs() / fabs() work-around.Thanks for your esteem.
Cheers,
MattzeSeptember 23, 2021 at 17:53 in reply to: Would it be possible to combine the LayoutController and the MTC4PU controller? #3753Matthias Runte
KeymasterHi Joos,
thanks for your comment and your interest in our technology. I am happy to hear that you are going to build a layout with MattzoControllers.To your question: the issue is that the MattzoLayoutController has been developed for an ESP-8266, while the MTC4PU is designed for the ESP32 board. It would be possible to integrate both firmwares into one and base it all on an ESP-32, but this is complicated, takes a lot of time and testing. This is why we do not have plans to allocate our time on this matter at the moment.
So, my recommendation is for buy a couple of ESP-8266s and one or two ESP-32 for a start. It is useful not to centralize the layout control too much. When your layout grows, you should rather allocate a couple of MattzoLayoutControllers on different parts on your layout. Especially switches do not react too well when the cable lengths become too long.
I wish you good success with your automation. It’s big fun!
And stay tuned for the latest MattzoController which we are (hopefully) going to release very soon. It will be called MattzoController for Bluetooth (MTC4BT), and controls both LEGO Powered Up devices and SBricks.
Cheers,
MattzeMatthias Runte
KeymasterHi ROb,
thanks. This part of the wiring is not required at the moment as we are not using the voltage information on A0 of the microcontroller yet. Will will do this in a future release of the MTC4PF. So feel free to just leave that part out for now.Cheers,
MattzeMatthias Runte
KeymasterIch meine die Datei “MattzoController_Library.h”. Bitte diese Datei auch aktualisieren falls noch nicht geschehen.
Der Update-Prozess ist derzeit noch etwas hakelig. Wir arbeiten dran.
-
This reply was modified 4 years, 7 months ago by
Matthias Runte.
Matthias Runte
KeymasterOkay. Und das Library File hattet Ihr aktualisiert, oder?
Matthias Runte
KeymasterWas für einen ESP-32 Controller-Typ habt Ihr verwendet?
-
This reply was modified 4 years, 8 months ago by
Matthias Runte.
Matthias Runte
KeymasterI added download links for older firmware versions on the firmware page.
Matthias Runte
KeymasterIch lade die alten Versionen demnächst mal hoch und baue ein Archiv auf. Meine Behauptung wäre jedoch, dass die 0.4.1 besser ist als die 0.3.
Was mir noch eingefallen ist: als Ihr das Update heruntergeladen habt, habt Ihr da auch die Datei MattzoController_Library.h im Arduino-Library Verzeichnis aktualisiert? Da waren auch Änderungen drin.
Matthias Runte
KeymasterReset button should do, powering the unit off for 20+ seconds might help in severe crash situations.
Matthias Runte
KeymasterHmm, good question. Sure you try to connect to a 2.4 GHz network? ESP32s can not connect to 5 GHz networks.
Matthias Runte
KeymasterHi Chris,
I have my roots in the golden 12V age as well.We have experienced a couple of problems on ESP32 boards when trying to connect to connect to WiFi and Bluetooth concurrently. Usually it helps to reboot the controller a couple of times.
Please make sure you are using Firmware 0.4 or above – we have improved the stability of the connection procedere with 0.4. WiFi connectivity should be working now without a problem. The controller will now establish the WiFi connection at first and only thereafter start to connect to Bluetooth devices. This seems to work more reliably on most boards.
We are actively working on improving to control bluetooth devices. The next version of the MTC4PU will likely also connect to SBricks and is (hopefully) going to work significantly better in terms of reliability and stability.
Cheers,
MattzeMatthias Runte
KeymasterSuper, freut mich. Bin gespannt auf die neuen Boards!
Matthias Runte
KeymasterHallo Herbert,
ich habe nachgesehen und erstaunt festgestellt, dass ich die Steuerung mehrerer Züge über Infrarot mit einem einzigen MTC4PF tatsächlich nicht realisiert hatte. Liegt daran, dass ich selbst den MTC4PF immer in den Zug eingebaut hatte und das Multitrain-Setup selbst nicht getestet hatte. Ich nehme das mit auf die Liste. Bis dahin bitte einen Controller je IR-Empfänger verwenden.Gruß,
MattzeMatthias Runte
KeymasterGreat work!
Matthias Runte
KeymasterGreat work!
Matthias Runte
KeymasterConfiguration looks okay, the debug message from the controller as well.
What IR LEDs did you use? I used these ones here:
Worked perfectly.
-
This reply was modified 4 years, 9 months ago by
Matthias Runte.
-
This reply was modified 4 years, 9 months ago by
Matthias Runte.
Matthias Runte
KeymasterSuper! Sieht wirklich toll aus. Wir sprechen!
Matthias Runte
Keymaster1023
Matthias Runte
KeymasterKlar, MIN_ARDUINO_POWER kannst Du anpassen. Wenn notwendig, kannst Du den Wert sogar auf 0 setzen.
Matthias Runte
KeymasterIn Rocrail musst Du für Richtungswechsel die logische Fahrtrichtung ändern.
Matthias Runte
KeymasterDas sieht ja toll aus! Check your e-mail… 🙂
Matthias Runte
KeymasterSieht so aus als würden Rocrail und der Controller alles richtig machen. Wenn die Lok trotzdem immer vorwärts fährt, ist möglicherweise das Motor Shield falsch angeschlossen. Check doch mal, ob Du mit einem einfachen Motorshield Sketch aus der Beispiel-Bibliothek der Arduino IDE der Motor überhaupt andersherum gedreht bekommst. Ansonsten würde mich Deine MattzoController Konfigurationsdatei (MTC4PF_Configuration.h) interessieren.
Matthias Runte
KeymasterPoste bitte mal die MQTT loco messages und welche Richtung du jeweils erwartest. Auch die Serial Logs vom MattzoTrainController wären hilfreich.
Matthias Runte
KeymasterHallo 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ß,
MattzeMatthias Runte
KeymasterThe code is on GitHub, but it’s not public. We have plans to set the repository to public at a later stage.
-
This reply was modified 4 years, 9 months ago by
Matthias Runte.
-
This reply was modified 4 years, 7 months ago by
-
AuthorPosts
