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 1.6k 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
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  19

                  Online

                  11.7k

                  Users

                  11.2k

                  Topics

                  113.1k

                  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