Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. A lot of NACKs

A lot of NACKs

Scheduled Pinned Locked Moved Troubleshooting
8 Posts 2 Posters 2.0k Views 2 Watching
  • 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.
  • mppM Offline
    mppM Offline
    mpp
    wrote on last edited by mpp
    #1

    The following code results in a st=NACK for send msg2 and msg3:

    send(msg1);
    send(msg2);
    send(msg3);
    

    This results in a st=OK for all

    send(msg1);
    wait(LONG_WAIT);
    send(msg2);
    wait(LONG_WAIT);
    send(msg3);
    

    A power issue perhaps?

    MyController with USB powered WeMos D1/mini ESP8266 MQTT Gateways and battery powered Arduino Pro Mini using the RFM69 radio

    mfalkviddM 1 Reply Last reply
    0
    • mppM mpp

      The following code results in a st=NACK for send msg2 and msg3:

      send(msg1);
      send(msg2);
      send(msg3);
      

      This results in a st=OK for all

      send(msg1);
      wait(LONG_WAIT);
      send(msg2);
      wait(LONG_WAIT);
      send(msg3);
      

      A power issue perhaps?

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by
      #2

      @mpp yes this is a common problem. Adding delays seems to be the most popular solution but a more stable power supply might be good as well.

      1 Reply Last reply
      0
      • mppM Offline
        mppM Offline
        mpp
        wrote on last edited by
        #3

        Unfortunately adding delays will cost battery. I'll do some testing with different power supplies.

        MyController with USB powered WeMos D1/mini ESP8266 MQTT Gateways and battery powered Arduino Pro Mini using the RFM69 radio

        mfalkviddM 1 Reply Last reply
        0
        • mppM mpp

          Unfortunately adding delays will cost battery. I'll do some testing with different power supplies.

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @mpp or skip the power supply and run directly off the batteries :)

          1 Reply Last reply
          0
          • mppM Offline
            mppM Offline
            mpp
            wrote on last edited by
            #5

            :) that's the idea yes. But the thing is, I'm seeing these messages through the serial interface when USB powered. Not sure what to expect when I power the node from the battery.

            MyController with USB powered WeMos D1/mini ESP8266 MQTT Gateways and battery powered Arduino Pro Mini using the RFM69 radio

            mfalkviddM 1 Reply Last reply
            0
            • mppM mpp

              :) that's the idea yes. But the thing is, I'm seeing these messages through the serial interface when USB powered. Not sure what to expect when I power the node from the battery.

              mfalkviddM Offline
              mfalkviddM Offline
              mfalkvidd
              Mod
              wrote on last edited by
              #6

              @mpp disconnect Vcc from the usb and run the node from batteries while looking at the serial output maybe?

              1 Reply Last reply
              0
              • mppM Offline
                mppM Offline
                mpp
                wrote on last edited by
                #7

                Thx for the tip. Only vcc or vcc and ground? Wouldn't want to damage my laptop...

                MyController with USB powered WeMos D1/mini ESP8266 MQTT Gateways and battery powered Arduino Pro Mini using the RFM69 radio

                mfalkviddM 1 Reply Last reply
                0
                • mppM mpp

                  Thx for the tip. Only vcc or vcc and ground? Wouldn't want to damage my laptop...

                  mfalkviddM Offline
                  mfalkviddM Offline
                  mfalkvidd
                  Mod
                  wrote on last edited by
                  #8

                  @mpp ground needs to be connected, otherwise the signal levels for the serial won't match.

                  1 Reply Last reply
                  0

                  Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                  Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                  With your input, this post could be even better 💗

                  Register Login
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  12

                  Online

                  12.0k

                  Users

                  11.2k

                  Topics

                  113.4k

                  Posts


                  Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  • First post
                    Last post
                  0
                  • MySensors
                  • OpenHardware.io
                  • Categories
                  • Recent
                  • Tags
                  • Popular