Verfasste Forenbeiträge
-
AutorBeiträge
-
November 17, 2025 um 10:07 Uhr als Antwort auf: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8626
Venderwel
TeilnehmerHey Matthias, thinks for the insights, I’ll order some new reedsensors and give them an other try in my new test setup. Could be I did something wrong there or had the wrong reedsensors.
As for the KY-003 hall sensors, I didn’t test one yet with the MLC software, before the posts above, but just now I did and they work without a changing the firmware! So that is cool.Nice thing is, they just fit in between the studs of the traintrack.

Venderwel
TeilnehmerVenderwel
TeilnehmerI read that part a few times, I must miss the part where the rocrail connection is show. I’ll give it a go tommorow and I’ll let you know!
Thanx anyway!
November 16, 2025 um 20:15 Uhr als Antwort auf: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8621Venderwel
TeilnehmerOh and do you think it’s best to add a whole new type/class to all of the mlc software? Ofcourse based on the reed sensors part?
November 16, 2025 um 20:11 Uhr als Antwort auf: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8620Venderwel
TeilnehmerWell…a few years ago I already started with trying to automate, first BAP and then different versions of your work. Also tried reed sensors, but with different succes. Got a lot of missed reads on the sensors. Now I did a test with KY-003 hall sensors where I had 4 sensors set up and a train passed by all of them 200 times. Not a single one missed. So that is the way I want it to give it a go. Didn’t try a hall sensor yet with the mlc software and a esp8266, maybe I should do that first before thinking of expanding. Hahaha
Anyway, thanx for the goodwork in this great hobby!
Venderwel
TeilnehmerCheck….there I was looking how to get the ID…
Oh I use Mqtt Explorer on windows to see all mqtt messages to the mqtt broker, pretty nice!
Then I still seem to miss the section to connect/add the train in rocrail.
November 16, 2025 um 18:43 Uhr als Antwort auf: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8614November 16, 2025 um 13:47 Uhr als Antwort auf: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8612Venderwel
TeilnehmerOh and is the mega also to slow when there is a onboard esp8266 for the wifi?
November 16, 2025 um 13:46 Uhr als Antwort auf: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8611Venderwel
TeilnehmerThank you for the fast response.
Ahhh, sorry to hear that. The mega has so many ports that can be used without soldering something.
I do have a PCA9685 that works like a charm. Looking for a board like that (with a x number of 3 pins in a row) for my hall sensors then.
Venderwel
TeilnehmerI think I disabled a few lines in the code, because at first they gave errors red (underlines) when I opened the files. And I thought I didn’t need them. Now I see they don’t give errors anymore (no more red underlines) No Idea how, but reabled the lines and all works like a charm!
Venderwel
TeilnehmerOkay, started over again with brand new download and workspace, now it works! Also got it running in RocView!
Venderwel
TeilnehmerVenderwel
TeilnehmerCheck, maybe I’ll do a new download too.
If I then encouter the same problems as you did, maybe I can help you.
Venderwel
TeilnehmerVenderwel
TeilnehmerRrrrrrrrr……ofcourse. Always quadruple check the board and use the right one! Now it seems so connect!!! On to the next station in my project!
Venderwel
TeilnehmerThere’s no such option with the ESP32 boards.
Venderwel
TeilnehmerSadly not. I think I’m doing something wrong. Is there someone Who is willing to help me out and maybe take a look with Zoom or Teams?
Venderwel
TeilnehmerCome to think of it, I’m not really sure it connects to wifi.
Venderwel
TeilnehmerSolved! had to set 1883 port in firewall settings. Also had to go back to mosquitto version 1.6.9 to make MQTT work for Rocrail.
-
AutorBeiträge
