Forum Replies Created
-
AuthorPosts
-
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.
Matthias Runte
KeymasterWe 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.
Matthias Runte
KeymasterHappy to hear that. Thank you for the feedback.
Matthias Runte
KeymasterHallo 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ß,
MattzeMatthias Runte
KeymasterAndrew, did it work?
Matthias Runte
KeymasterHello 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 -
AuthorPosts