• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Unknown serial gateway port name (Windows 10)

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 3 Posters 923 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W Offline
      wint0178
      last edited by

      I am trying to setup a MySensor network on MyController server using Windows 10. I have decided to start with a serial gateway since my NodeMCU ESP8266 gateway wouldn't connect to WiFi for some reason. This seemed easier to start. I have some experience with Arduino, but I a newbee for sure. I followed the assembly instrcutions for the serial gateway using the Arduino nano and NRF24 posted on MySensors by PeteB and linked here on YouTube (https://youtu.be/TBvGrB094Co), but I am not able to get it to connect. I have the unit connected to my Server computer via USB and I have compiled the sketch to the nano, but only get giberish in the serial monitor on Arduino IDE when I sent the sketch and am not able to get the MyController server to add the gateway. I go to add the gateway in my localhost and enter the settings shown in the screenshot below. I think the problem is with the port name, but I am not able to get the full or correct port name. It is on COM6 in Windows 10, but from what I have put together the "/dev/cu." portion is also needed. Any help in figuring out how to connect this serial gateway would be appreciated. thanks!!Screenshot 2023-06-22 102401.png

      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @wint0178
        last edited by

        @wint0178 Welcome to MyController world.
        As you are starting your journey with MyController, I would recommend to you use MyController 2.x version.
        1.x is not maintained anymore.

        Regards the serial port. I have not that frequently used windows. but my assumption is, default MySensors sketch baud rate is 115200, you can change this on your sketch, above mysensors.h header, #define MY_BAUD_RATE (57600ul) or your preferred value.

        W 1 Reply Last reply Reply Quote 0
        • J Offline
          JeeLet
          last edited by

          ??? drivers ??

          http://www.wch-ic.com/search?q=CH340&t=downloads

          W 1 Reply Last reply Reply Quote 0
          • W Offline
            wint0178 @jkandasa
            last edited by

            @jkandasa thank you for your feedback. I had considered starting with 2.x, but it seemed like it was not officially released yet since, last week when I looked into this for the first time, the MyController.org homepage went to v1.5 and had a note that it would be replaced by v2.x when it was launched. Or that's how I interpreted it anyway. Either way, I will work on moving to 2.x.

            I can start a new topic on the new 2.x forum, but I'm curious how to pick which Server Setup Option to use.

            I am working on creating a set of weather station networks for use in several separated communities in Ecuador. What I mean by separated is that that they are not near oneanother. Each community's weather station network will need to include numerous sensors, perhaps a dozen, and nodes along with replicate gateways to ensure it can continue to transmit data even when a gateway or node goes down.

            I would love to have one master server in the United States that I manage locally (Windows or RaspPi), but am not sure if this is possible. If needed, I could install a RaspberryPi-based server in each community and it would have WiFi access and 120V power. Based on this description, can you recommend eitehr Server Setup otpion #1 or #2?

            Ultimately, I need to give data access to the communities themselves through the dashboard and SMS or email notifications. I would also like to have remote access to the data, but this is slightly less critical.

            jkandasaJ 1 Reply Last reply Reply Quote 0
            • W Offline
              wint0178 @JeeLet
              last edited by

              @JeeLet my NodeMCU on Windows 10 is using the CP2102 driver since the CH341 driver did not work with the boards I have. Once I installed the CP2102 driver, the device manager immediately recognized the boards and was able to communicate with them.

              1 Reply Last reply Reply Quote 0
              • jkandasaJ Offline
                jkandasa @wint0178
                last edited by

                @wint0178 Yes, 2.0.0 launched very recently 🙂

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post

                0

                Online

                586

                Users

                529

                Topics

                3.4k

                Posts
                Copyright © 2015-2025 MyController.org | Contributors | Localization