Forum Replies Created
-
AuthorPosts
-
Matthias Runte
KeymasterThe lobby machinery is working… 🙂
We will look into it and get back to the matter in the forum.
Matthias Runte
KeymasterIn der Tat, die mechanische Lösung zum Abtrennen der Waggons finde ich auch am realistischsten. Ich hatte so etwas mal überlegt für einen unidirektional Zug mit einer Dampflok vorn, der in einen Kopfbahnhof fährt, dort die Waggons abkuppelt, die Waggons umfährt und sich dann nach ein wenig Rangieren an das andere Ende des Zuges setzt und aus dem Bahnhof mit Lok vorn wieder ausfährt. In Rocrail alles abbildbar.
Idealerweise arbeiten wir mit den orangenen Motoren, die ich auch für die Klappbrücke verwendet haben. Die haben die typischen Servo/Dupont-Stecker und sind ohne Motorshield direkt am Controller anschließbar. Die Integration in die MTC4PF Firmware kriegen wir schon hin.
Wenn der MTC4BT als Basis genommen wird, könnte man an einen freien Port des SBrick oder Powered Up Hub einfach einen passenden kleinen Lego-Motor o.ä. anschließen. Auch hier bin ich sicher, dass wir die Firmware entsprechend erweitert bekommen.
-
This reply was modified 2 years, 10 months ago by
Matthias Runte.
Matthias Runte
KeymasterHi Max!
As a general rule, you should always upgrade to the latest version. This is presently 1.0.1, and 1.0.2 is expected to come soon.
Did you check the performance tips in the documentation? They are important.
Matthias Runte
KeymasterThere is a number of options that come into my mind:
– Install a camera in the shadow station.
– Install one or more sensors in the shadow station. Monitor the sensor in Rocrail and stop the train.
– Use a mobile phone or tablet as an additional device for Rocrail. This relieves you from sitting on your laptop.If I may, let’s go one step back and look at it from a distance. Then the following suggestions come into my mind:
– Install sensors. Yes, it’s a lot of them, but they are the key to automating your layout completely. And that’s really fun!
– Do not build a shadow station, but a visible fiddle yard instead. Maybe use plexi glas somewhere to be able to see what’s happening. You have more fun with LEGO trains if you actually see them. An investment in an loco shed is also better when you can actually see it.
– Do not use too many switches in the shadow station; use staging blocks instead.…
Maybe somebody has more ideas for you?
Matthias Runte
KeymasterYes, the performance improvement came with V1.0.0. The improvements are indeed significant.
Matthias Runte
KeymasterKlingt interessant. Das sehen wir uns bei Gelegenheit mal an.
Matthias Runte
KeymasterThank you, we are giving our best.
As you said, you need a memory card and a speaker for train sounds. We are going to implement that one day. Until then, you can use the built-in sounds in Rocrail, if that’s a possible interim solution for you.
Matthias Runte
KeymasterNa ja, kann man so machen. Idee war eigentlich, das in der MotorShield Configuration zu machen. Aber was läuft das läuft. 🙂
Matthias Runte
KeymasterVisual Studio Code, um genau zu sein. Schau Dir mal die Doku von platform.io an, dort wirst Du fündig (platform.io serial monitor). Unten in der Symbolleiste den kleinen Stecker klicken.
Matthias Runte
KeymasterSchau doch mal in den seriellen Monitor. Das sieht dann in etwa so aus:
MattzoController booting…
Loaded mattzoControllerId from EEPROM: 52708
Connecting as MLC-SignalOvershoot-52708 to Wifi Railnet
.
MattzoController setup completed.
Wifi connected. My IP address is 192.168.178.49.Matthias Runte
KeymasterDas Verzeichnis der WLAN-Geräte im lokalen Netzwerk kann meist im Router aufgelistet werden. Bei der Fritzbox geht dies z.B. über Heimnetz/Netzwerk.
Aber wozu brauchst Du das? Für OTA?
January 1, 2023 at 23:40 in reply to: MLC – with 2 MCP23017 and one PCA9685- Sensor work, Signal not working #5746Matthias Runte
KeymasterJust released firmware V1.0.1.
Matthias Runte
KeymasterIch 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.
December 31, 2022 at 13:22 in reply to: MLC – with 2 MCP23017 and one PCA9685- Sensor work, Signal not working #5742Matthias Runte
KeymasterHappy 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.
December 31, 2022 at 01:51 in reply to: MLC – with 2 MCP23017 and one PCA9685- Sensor work, Signal not working #5738Matthias Runte
KeymasterJepp, 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 02.
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, MattzeDecember 30, 2022 at 20:16 in reply to: MLC – with 2 MCP23017 and one PCA9685- Sensor work, Signal not working #5736Matthias Runte
KeymasterMeanwhile, 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 0This 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.
December 30, 2022 at 20:08 in reply to: MLC – with 2 MCP23017 and one PCA9685- Sensor work, Signal not working #5733Matthias Runte
KeymasterCould you send or paste your complete conf/my/controller_config.h file, please?
December 30, 2022 at 15:28 in reply to: MLC – with 2 MCP23017 and one PCA9685- Sensor work, Signal not working #5728Matthias Runte
KeymasterThanks. 🙂 Let me know how it worked out.
December 30, 2022 at 00:24 in reply to: MLC – with 2 MCP23017 and one PCA9685- Sensor work, Signal not working #5722Matthias Runte
KeymasterHi 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,
MattzeMatthias Runte
KeymasterEine 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.
December 27, 2022 at 18:41 in reply to: MLC sendet an den Port Extender aber keine Reaktion der Weichenmotoren #5702Matthias Runte
KeymasterWenn 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?
Matthias Runte
KeymasterWe have already done some preparations for that, also on the hardware level. We are planning to work on this matter in the future.
Matthias Runte
KeymasterHappy 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!
Matthias Runte
KeymasterWe 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…
Matthias Runte
KeymasterReleased V0.6.1 with a bugfix for the MTC4BT. Hope it helps.
-
This reply was modified 2 years, 10 months ago by
-
AuthorPosts
