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. DHT22 sensor node locked up with blinking LED

DHT22 sensor node locked up with blinking LED

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 4 Posters 2.7k Views 1 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.
  • bjornhallbergB Offline
    bjornhallbergB Offline
    bjornhallberg
    Hero Member
    wrote on last edited by
    #1

    I had my first sensor node (1) lock up last night. It's a standard DHT22 sensor node, battery powered, 10k resistor on DHT22. Located on the patio so basically subjected to cold weather close to freezing these last couple of days. Using 1.4 code base from the middle of September. The sensor has been running and reporting data pretty much flawlessly for the past 3-4 weeks.

    When I went to examine the sensor I expected the batteries to be dead or something but instead the activity light was blinking, not unlike the default blink example. Resetting the device seems to have brought it back into the fold. Haven't done any other troubleshooting yet.

    Any ideas about this?

    RJ_MakeR YveauxY 2 Replies Last reply
    0
    • daulagariD Offline
      daulagariD Offline
      daulagari
      Hero Member
      wrote on last edited by daulagari
      #2

      Can you connect to the serial output of the sensor? Is is printing out something?

      bjornhallbergB 1 Reply Last reply
      0
      • bjornhallbergB bjornhallberg

        I had my first sensor node (1) lock up last night. It's a standard DHT22 sensor node, battery powered, 10k resistor on DHT22. Located on the patio so basically subjected to cold weather close to freezing these last couple of days. Using 1.4 code base from the middle of September. The sensor has been running and reporting data pretty much flawlessly for the past 3-4 weeks.

        When I went to examine the sensor I expected the batteries to be dead or something but instead the activity light was blinking, not unlike the default blink example. Resetting the device seems to have brought it back into the fold. Haven't done any other troubleshooting yet.

        Any ideas about this?

        RJ_MakeR Offline
        RJ_MakeR Offline
        RJ_Make
        Hero Member
        wrote on last edited by
        #3

        @bjornhallberg GOOD LUCK finding the cause of that one.. This thread brings back scary memories for me... Perfect day for it I guess.. ;-)

        RJ_Make

        1 Reply Last reply
        0
        • daulagariD daulagari

          Can you connect to the serial output of the sensor? Is is printing out something?

          bjornhallbergB Offline
          bjornhallbergB Offline
          bjornhallberg
          Hero Member
          wrote on last edited by bjornhallberg
          #4

          @daulagari I could I guess, but it's too late now as I reset the node and it has been working for a day without any hickups. May work for weeks before it happens again. I assume it wouldn't be printing anything of interest as long as it is working. Also, doesn't the arduino auto-reset when you open a serial monitor (assuming you kept the batteries connected while moving it to the computer in the first place) unless you apply some resistor hack or some such?

          But what would cause this weird blink behavior? What is there in the code to control the LED? The only blink I've seen is the ever so slight blip when the radio transmits or whatever it is. This was a great deal longer in duration, hundreds of milliseconds, much like the blink example. Kind of like a boot-loop in other terms.

          I should go check the batteries first thing I do and see what happened to them at any rate.

          1 Reply Last reply
          0
          • bjornhallbergB bjornhallberg

            I had my first sensor node (1) lock up last night. It's a standard DHT22 sensor node, battery powered, 10k resistor on DHT22. Located on the patio so basically subjected to cold weather close to freezing these last couple of days. Using 1.4 code base from the middle of September. The sensor has been running and reporting data pretty much flawlessly for the past 3-4 weeks.

            When I went to examine the sensor I expected the batteries to be dead or something but instead the activity light was blinking, not unlike the default blink example. Resetting the device seems to have brought it back into the fold. Haven't done any other troubleshooting yet.

            Any ideas about this?

            YveauxY Offline
            YveauxY Offline
            Yveaux
            Mod
            wrote on last edited by
            #5

            @bjornhallberg As it's battery powered, I suppose it is a sleeping sensor, right?
            What bootloader do you use?
            Does your sketch do anything watchdog related?
            Any idea of the delay between the blink patterns?

            http://yveaux.blogspot.nl

            bjornhallbergB 1 Reply Last reply
            0
            • YveauxY Yveaux

              @bjornhallberg As it's battery powered, I suppose it is a sleeping sensor, right?
              What bootloader do you use?
              Does your sketch do anything watchdog related?
              Any idea of the delay between the blink patterns?

              bjornhallbergB Offline
              bjornhallbergB Offline
              bjornhallberg
              Hero Member
              wrote on last edited by
              #6

              @Yveaux Yes, it is sleeping for 10 minutes before checking the sensor again. I use the standard bootloader afaik. No changes since I got it from Ebay. The APM is also a standard Ebay/Ali model as it looked a few months ago.

              Sketch is completely stock directly from the repository.

              I'd say that the blinks are pretty much like the "blink example", so up to 1000 ms on / 1000 ms off.

              YveauxY 1 Reply Last reply
              0
              • bjornhallbergB bjornhallberg

                @Yveaux Yes, it is sleeping for 10 minutes before checking the sensor again. I use the standard bootloader afaik. No changes since I got it from Ebay. The APM is also a standard Ebay/Ali model as it looked a few months ago.

                Sketch is completely stock directly from the repository.

                I'd say that the blinks are pretty much like the "blink example", so up to 1000 ms on / 1000 ms off.

                YveauxY Offline
                YveauxY Offline
                Yveaux
                Mod
                wrote on last edited by
                #7

                @bjornhallberg Google a bit. There are multiple posts on the net of Arduino's getting stuck in watchdog reboots because it fires and doesn't get disabled correctly on startup. Some bootloaders handle this situation better then others.
                Only question is why the watchdog timer would trip...

                http://yveaux.blogspot.nl

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                25

                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