MakerGram Logo

    MakerGram

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags
    • Users
    • Groups

    Can't connect NodeMCU with MQTT

    Arduino
    3
    17
    1366
    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.
    • S
      sivanath @swalahamani last edited by

      @swalahamani Yeah!!

      swalahamani 1 Reply Last reply Reply Quote 0
      • swalahamani
        swalahamani @sivanath last edited by swalahamani

        @sivanath

        Oh okay.

        Please bring your device if you're coming for the upcoming MakerChat 0x13 tomorrow (IST). Either I and @salmanfaris or both of us will be there.

        Or else we can set up a call sometime this weekend or the next week and sort it out.

        Let me know.

        S 1 Reply Last reply Reply Quote 1
        • S
          sivanath @swalahamani last edited by

          @swalahamani I may not be able to come tomorrow. I think we could set up a call. How can I contact you personally?

          salmanfaris 1 Reply Last reply Reply Quote 0
          • salmanfaris
            salmanfaris @sivanath last edited by

            @sivanath From your last message looks like the MQTT broker already running on your computer. Could you please try to do a test with nodeRED and see it's working or not.

            S 1 Reply Last reply Reply Quote 0
            • S
              sivanath @salmanfaris last edited by

              @salmanfaris Actually, I can't connect my NodeMCU device with the localhost server. I can establish a connection using the test.mosquitto.org server.
              This is my required case: YouTube link

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

              Recent Posts

              • @codelery Awesome. That's great news. Kudos to @rafitc99 . 🙌

                @codelery Please keep us updated about your project, looking forward to seeing it in action 🤩

                • read more
              • C

                @rafitc99 I changed the buffer and that solved the problem. Thanks a lot for coming to my rescue.

                • read more
              • C

                @salmanfaris I did change the buffer size and everything is working perfectly. Thanks coming to my rescue.

                • read more
              • @codelery said in Help needed: Arduino Wireless Notice Board project:

                I am using the hardware serial (pin 0 and 1 on Arduino Uno)

                As @rafitc99 mentioned, you need to expand the Serila buffer, in the hardware serial also the Arduino board package implements a 64-byte ring buffer for send and receive on the hardware serial messages. So you need to change that to 256 as per your message length.

                • read more
              • C

                @rafitc99 The thing is that I am not using the SoftwareSerial library in receiving the message from the first microcontroller. I am using the hardware serial (pin 0 and 1 on Arduino Uno)

                • read more
              By MakerGram | A XiStart Initiative | Built with ♥ NodeBB
              Copyright © 2023 MakerGram, All rights reserved.
              Privacy Policy | Terms & Conditions | Disclaimer | Code of Conduct