Forum Replies Created

Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • in reply to: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8626
    VenderwelVenderwel
    Participant

    Hey 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. ky-003 lego traintrack

    • This reply was modified 3 weeks ago by Venderwel.
    • This reply was modified 3 weeks ago by Venderwel.
    in reply to: MTC4BT Esp32 and rocrail #8624
    VenderwelVenderwel
    Participant

    Oh and for all, the mqtt Explorer is a real handy tool for all that use mqtt!!!

    I also use IoT mqtt panel on my phone. It allows you to send mqtt messages to that same broker, allowing you to (quick) test (different parts of) your setup.

    • This reply was modified 3 weeks ago by Venderwel.
    in reply to: MTC4BT Esp32 and rocrail #8623
    VenderwelVenderwel
    Participant

    I 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!

    in reply to: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8621
    VenderwelVenderwel
    Participant

    Oh 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?

    in reply to: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8620
    VenderwelVenderwel
    Participant

    Well…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!

    in reply to: MTC4BT Esp32 and rocrail #8618
    VenderwelVenderwel
    Participant

    Check….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.

    in reply to: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8614
    VenderwelVenderwel
    Participant

    Do you think the DFR0626 could be used with an esp8266 for the hall sensors??

    in reply to: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8612
    VenderwelVenderwel
    Participant

    Oh and is the mega also to slow when there is a onboard esp8266 for the wifi?

    in reply to: Create MLC with Arduino Mega 2560 and Mega Sensor Shield #8611
    VenderwelVenderwel
    Participant

    Thank 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.

    in reply to: MLC build goes wrong #6542
    VenderwelVenderwel
    Participant

    I 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!

    in reply to: No BLE: Discovered shown? #6540
    VenderwelVenderwel
    Participant

    Okay, started over again with brand new download and workspace, now it works! Also got it running in RocView!

    in reply to: No BLE: Discovered shown? #6511
    VenderwelVenderwel
    Participant

    Grrrr….downloaded new, but no run into other errors. Any change you can have a look with me?

    • This reply was modified 2 years, 1 month ago by Venderwel.
    • This reply was modified 2 years, 1 month ago by Venderwel.
    • This reply was modified 2 years ago by Venderwel.
    in reply to: No BLE: Discovered shown? #6509
    VenderwelVenderwel
    Participant

    Check, maybe I’ll do a new download too.

    If I then encouter the same problems as you did, maybe I can help you.

    in reply to: No BLE: Discovered shown? #6502
    VenderwelVenderwel
    Participant

    Do you know what you did to solve the first problem, because I have the exact same problem, MTC4BT is not scanning for Bluetooth items.
    Wifi and broker are working.

    • This reply was modified 2 years, 1 month ago by Venderwel.
    in reply to: PTC4PU won’t connect to mqtt #3823
    VenderwelVenderwel
    Participant

    Rrrrrrrrr……ofcourse. Always quadruple check the board and use the right one! Now it seems so connect!!! On to the next station in my project!

    in reply to: PTC4PU won’t connect to mqtt #3822
    VenderwelVenderwel
    Participant

    There’s no such option with the ESP32 boards.

    in reply to: PTC4PU won’t connect to mqtt #3820
    VenderwelVenderwel
    Participant

    Sadly 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?

    in reply to: PTC4PU won’t connect to mqtt #3818
    VenderwelVenderwel
    Participant

    Come to think of it, I’m not really sure it connects to wifi.

    in reply to: Failed to connect to mqtt, state=-2 #3794
    VenderwelVenderwel
    Participant

    Solved! 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.

Viewing 19 posts - 1 through 19 (of 19 total)