Forum Replies Created

Viewing 8 posts - 276 through 283 (of 283 total)
  • Author
    Posts
  • in reply to: MTC4PU – MattzoTrainController for Powered Up #2037
    Matthias RunteMatthias Runte
    Keymaster

    Hi Nikos,
    that’s interesting. I did not experience that hub name problem here, and neither did any of the testers. We will observe if we get more feedback into this direction.

    I agree that the PU hubs sometimes do not reconnect so quickly after uploading a new firmware to the ESP-32, but as they are specifically addressed with their MAC ID, a real bluetooth pairing as such should not be required at all. But please keep on posting your findings, they are all interesting.

    Cheers,
    Mattze

    in reply to: MTC4PU – MattzoTrainController for Powered Up #2036
    Matthias RunteMatthias Runte
    Keymaster

    Hello Erik,
    looks as if you did not choose the correct ESP32 controller in the Arduino IDE.

    Cheers,
    Mattze

    in reply to: Wiring and Cabling #2006
    Matthias RunteMatthias Runte
    Keymaster

    Wiring and pin configuration depend on each other. I think you are right that the example configuration does not exactly match the wiring diagram. I try to fix that with the next release. Anyway, there will be never be one example configuration file that fits all possible scenarios, so a bit of adaption is always required.

    in reply to: MattzoSwitchController #1853
    Matthias RunteMatthias Runte
    Keymaster

    Ok. Can you post the lines from the serial monitor where the controller parses the command and tries to flip the switch?

    in reply to: MattzoSwitchController #1851
    Matthias RunteMatthias Runte
    Keymaster

    Hi Paul,
    we believe that we do no longer need the logic level controller. Sufficient power should do. You should power up a switch controller with an USB-Charger of 2 Amps minimum. Higher voltage is helpful as well.

    But I am not sure that this is the problem here. Did you connect your MattzoSwitchController to your PC and checked the output on the serial monitor? Do you see that it is connected to WiFi and MQTT and actually parsing the switch commands and trying to turn the servo?

    One more important thing is the mapping of the port numbers. Port No. 1 in Rocrail corresponds to port no. 0 internally in the controller.

    Good luck!

    Cheers,
    Mattze

    in reply to: MattzoSwitchController #1844
    Matthias RunteMatthias Runte
    Keymaster

    Paul Verkaik,
    did you monitor MQTT, e.g. with mosquitto_sub? What do you see there? And does the switch visibly switch on the Rocrail layout?

    Cheers,
    Mattze

    in reply to: MattzoSwitchController #1843
    Matthias RunteMatthias Runte
    Keymaster

    Hello Henk Jansen, did you try to upload a simple sketch from the standard demos that just turns a servo back and forth? You should probably try to get such a sketch working first. Be careful not to break your switch motor, you should only use angles between 70 and 80 for testing if it’s a TrixBrix switch motor.

    Cheers,
    Mattze

    in reply to: MTC4PF – MattzoTrainController for Power Functions #1798
    Matthias RunteMatthias Runte
    Keymaster

    As written in the documentation, the wiring to measure the battery voltage on pin A0 are not required for the present version of the firmware, as they are not really used to recalibrate the train speed when the battery voltage decreases. Anyways, you can build the controller now as specified and wait for the firmware upgrade in which the logic will be introduced.

Viewing 8 posts - 276 through 283 (of 283 total)