Forum Replies Created

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • in reply to: MattzoSensorController #2289
    Paul VerkaikPaul Verkaik
    Participant

    Argh !! Never mind, fixed it !
    Me not doing basic troubleshooting, and me using el-cheapo chinese components was the problem.
    3! sensors in a row were defective, so using my multi-meter, testing before soldering yet another one did the trick.
    Lesson learned (again): never assume, make sure!

    BTW love the idea above from Nikos !

    Greetings,

    Paul

    in reply to: MattzoSensorController #2288
    Paul VerkaikPaul Verkaik
    Participant

    Hello Everyone,

    I’m having some trouble with the sensorcontroller. Up to 7 sensors it works ok, as soons as I connect sensor 8 , the control-led turns on and does not go off.
    I think that I have connected everything ok, sensor 1-7 to D1-7 and ground, sensor 8 to D8 and 3v3. and also the control-led to D0 and gnd.
    I tried another sensor but the same effect.
    Any ideas??

    Greetings,

    Paul

    in reply to: MattzoSwitchController #2100
    Paul VerkaikPaul Verkaik
    Participant

    Hi Max and Piet,

    I’m using cheap chinese boards.
    Bought a whole bunch of them.
    The defective one was one of the same ones I have, so I think my problem was just a bad production one.

    For my test I power everything with a big powerbank.
    In the future for my trainlayout I will have to use other powersupllies but I have not bought them yet..

    I buy them on Aliexpress look for ” Wireless module CH340/CP2102 NodeMcu V3 V2 Lua WIFI Internet of Things development board based ESP8266 ESP-12F with pcb Antenna”

    Greetings,

    Paul

    in reply to: MattzoSwitchController #1854
    Paul VerkaikPaul Verkaik
    Participant

    Hello Matze and Thorsten, fixed it !
    It was the last thing I expected, the esp board itself!
    Changed to a new one and now it works perfectly.
    Thanks to Thorsten for the tip on using the serial-monitor. When I say that working all ok ( I could see the commands being parsed) the only thing left was the output of the board itself. Even after reflashing it, no joy.
    So after replacing it, all is well 🙂

    Thank you guys for your input.
    I really love this project and it works (with some small hick-ups) perfectly.
    Keep up the good work,

    Greetings from the Netherlands,
    Paul

    in reply to: MattzoSwitchController #1852
    Paul VerkaikPaul Verkaik
    Participant

    Hello Matze,
    Yes i can see it parsing the command from rocrail via MQTT to the esp/servo but nothing happens.
    Also at boot the servo does not do anything ( I suppose it should check its position?)
    I will try a different esp and see what happens,

    Thanks for your input, I keep ou posted about my progress.

    Paul

    in reply to: MattzoSwitchController #1847
    Paul VerkaikPaul Verkaik
    Participant

    I can see the commands being send from Rocrail to Mosquitto to the controller.
    In the serial monitor I can see that it send the “58” or “85” angle command is send.
    So,.. this means that the servo is not responding, I checked this one and it works in a test sketch so it;s not defective.

    In my answer above I asked: Also I remember you had a design for the controller with the txs0108e, is that not needed anymore?
    Is this still needed or is it “just” a power issue ?

    Greetings,

    Paul

    in reply to: MattzoSwitchController #1846
    Paul VerkaikPaul Verkaik
    Participant

    In Mosquitto I can see the controller and its “number” so that’s also working.
    At this point I have one servo connected to the Vin of the esp-board, should I connect the servo to a seperate power supply?
    In the Arduino IDE I also see the controller boot.
    In Rocrail I have a switch defined and in Rocrail its switches. (on screen)

    Can you tell me what the controlLED should do, does it light up when the switch is used?
    I only see it blink a few times at boot.
    Also I remember you had a design for the controller with the txs0108e, is that not needed anymore?

    Hope to figure this out soon, it’s the last one, all other controllers work perfectly.
    I have a smaal test setup now with 2 signals and 2 blocks and 4 sensors. When the switchcontroller works I can expand!

    Greetings

    Paul

    in reply to: MattzoSwitchController #1834
    Paul VerkaikPaul Verkaik
    Participant

    Hello Everyone,

    Got a lot of stuff working already ( sensor/signal and controller) perfectly, but…
    I don not seem to get the switchcontroller to work.
    It boots, the control led blinks several times then is goes off.
    Mosquitto “sees” the switchcontroller (29266 inmy case) so everything looks fine.
    In Rocrail I added a switch with the adress and port nr ( 29266 port 1) so it should work.
    But when I control the switch in Rocrail it does not respond.
    I checked the servo (brand new but you never know) but in a test sketch it works perfectly.

    Is there any way to manually ( from Rocrail) to test the switch?
    Should the controlled light up when a servo is used?

    Hope you guys can help out,

    Paul

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