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. Reliability?

Reliability?

Scheduled Pinned Locked Moved Troubleshooting
reliability
51 Posts 9 Posters 20.4k Views 5 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.
  • greglG Offline
    greglG Offline
    gregl
    Hero Member
    wrote on last edited by
    #6

    Try pulling power from Vera and see if the sensors come back to life....
    I think those fails will occur if the g/w doesnt respond also.

    i didnt have the best reliability with my Veralite and USB ( was using a hub + usb memory stick for datamine ) - much happier now with ethernet g/w.

    RJ_MakeR 1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #7

      It could be the radio entering some weird state due to power issues (spikes etc). Have to tried some other power source on the sensor and adding a capacitor?

      RJ_MakeR 1 Reply Last reply
      0
      • greglG gregl

        @ServiceXp said:

        I should add that I have another sensor built from the same batch of mini pro's, but uses the DHT22 for temp and humidity.

        So the problem may be related to the DS18B20's, but really don't know how to determine why they are locking up.

        And does this sensor NOT lockup??

        Is so hows it all wired up? do you have the resistor installed for the ds18b20's? - what happens if you disconnect the temp sensor?

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

        @gregl said:> @ServiceXp said:

        I should add that I have another sensor built from the same batch of mini pro's, but uses the DHT22 for temp and humidity.

        So the problem may be related to the DS18B20's, but really don't know how to determine why they are locking up.

        And does this sensor NOT lockup??

        Is so hows it all wired up? do you have the resistor installed for the ds18b20's? - what happens if you disconnect the temp sensor?

        Ooops. That is correct the sensor using the DHT22 has not locked up after running for 48+ hours, and I can't remember it locking up in the past either.

        The 2 DS18B20's have a 4K7 resister installed. The sensor on one is soldered to the prototype pcb, and the other uses a screw type connector

        I have not tested to see what happens with the sensor disconnected.

        RJ_Make

        1 Reply Last reply
        0
        • greglG gregl

          Try pulling power from Vera and see if the sensors come back to life....
          I think those fails will occur if the g/w doesnt respond also.

          i didnt have the best reliability with my Veralite and USB ( was using a hub + usb memory stick for datamine ) - much happier now with ethernet g/w.

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

          @gregl said:> Try pulling power from Vera and see if the sensors come back to life....

          I think those fails will occur if the g/w doesnt respond also.

          i didnt have the best reliability with my Veralite and USB ( was using a hub + usb memory stick for datamine ) - much happier now with ethernet g/w.

          Will try, and report back

          RJ_Make

          1 Reply Last reply
          0
          • hekH hek

            It could be the radio entering some weird state due to power issues (spikes etc). Have to tried some other power source on the sensor and adding a capacitor?

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

            @hek said:> It could be the radio entering some weird state due to power issues (spikes etc). Have to tried some other power source on the sensor and adding a capacitor?

            Wouldn't a power cycle or reset (button on the mini pro) correct that? It's almost like the eeprom is getting scrambled.

            RJ_Make

            1 Reply Last reply
            0
            • RJ_MakeR Offline
              RJ_MakeR Offline
              RJ_Make
              Hero Member
              wrote on last edited by
              #11

              last night I upped the cap on the radio to 47uf on one of the sensors, and left the other one alone. This morning the one with the cap was still running, but the other was locked up.

              I power cycled the serial gateway, and it **appears **that the sensor came back up. So I decided to install the 47uf on the locked up sensor.

              Until next time.

              RJ_Make

              DammeD 1 Reply Last reply
              0
              • RJ_MakeR RJ_Make

                last night I upped the cap on the radio to 47uf on one of the sensors, and left the other one alone. This morning the one with the cap was still running, but the other was locked up.

                I power cycled the serial gateway, and it **appears **that the sensor came back up. So I decided to install the 47uf on the locked up sensor.

                Until next time.

                DammeD Offline
                DammeD Offline
                Damme
                Code Contributor
                wrote on last edited by
                #12

                @ServiceXp One major stability change I did was using shorter wire bewteen radio and arduino.

                RJ_MakeR 1 Reply Last reply
                0
                • DammeD Damme

                  @ServiceXp One major stability change I did was using shorter wire bewteen radio and arduino.

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

                  @Damme
                  Thanks.

                  Unfortunately, I can't get any closer in my environment without going to a custom designed pcb. All my wires are soldered and are only 2" max in length. :-)

                  RJ_Make

                  1 Reply Last reply
                  0
                  • RJ_MakeR Offline
                    RJ_MakeR Offline
                    RJ_Make
                    Hero Member
                    wrote on last edited by
                    #14

                    Well locked up again. I have confirmed that rebooting the gateway and or the Vera has NO effect. The only fix is to clear the eeprom and start over with the sensor.

                    At this point I dont think its the gateway but I am not sure where to go at this point?

                    RJ_Make

                    1 Reply Last reply
                    0
                    • greglG Offline
                      greglG Offline
                      gregl
                      Hero Member
                      wrote on last edited by
                      #15

                      This is very weird...but the wierdest bit to me is that you need to clear the eeprom to get it going again!

                      Are you using the example sketches un-modified for these sensors?

                      Few ideas:

                      1. What about adding some code to void setup to print out all values in the eeprom - to test your idea in them being corrupt?

                      2. What about swapping the mini pro's from your working DHT22 sensor and using it for the temp sensor...see if the problem follows....

                      3. Change the resistor/add capacitor to the temp sensor in case the output is not ideal from the pro-mini http://www.picaxeforum.co.uk/archive/index.php/t-11268.html
                        ( i have some ds18b20's on long cables using parasite power and i needed to drop the resistor value for stability)

                      4. Change the powersupply AND cable !. Are you using a USB port on your computer??
                        Hows it all connected up? ( post a photo )

                      RJ_MakeR 2 Replies Last reply
                      0
                      • greglG gregl

                        This is very weird...but the wierdest bit to me is that you need to clear the eeprom to get it going again!

                        Are you using the example sketches un-modified for these sensors?

                        Few ideas:

                        1. What about adding some code to void setup to print out all values in the eeprom - to test your idea in them being corrupt?

                        2. What about swapping the mini pro's from your working DHT22 sensor and using it for the temp sensor...see if the problem follows....

                        3. Change the resistor/add capacitor to the temp sensor in case the output is not ideal from the pro-mini http://www.picaxeforum.co.uk/archive/index.php/t-11268.html
                          ( i have some ds18b20's on long cables using parasite power and i needed to drop the resistor value for stability)

                        4. Change the powersupply AND cable !. Are you using a USB port on your computer??
                          Hows it all connected up? ( post a photo )

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

                        @gregl said:> This is very weird...but the wierdest bit to me is that you need to clear the eeprom to get it going again!

                        Are you using the example sketches un-modified for these sensors?

                        Few ideas:

                        1. What about adding some code to void setup to print out all values in the eeprom - to test your idea in them being corrupt?

                        2. What about swapping the mini pro's from your working DHT22 sensor and using it for the temp sensor...see if the problem follows....

                        3. Change the resistor/add capacitor to the temp sensor in case the output is not ideal from the pro-mini http://www.picaxeforum.co.uk/archive/index.php/t-11268.html
                          ( i have some ds18b20's on long cables using parasite power and i needed to drop the resistor value for stability)

                        4. Change the powersupply AND cable !. Are you using a USB port on your computer??
                          Hows it all connected up? ( post a photo )

                        Yes, using the default sketch, with only a hard coded C to F conversion change.

                        1. Not sure how to do that??
                        2. I should be able to do that.
                        3. How do I determine the appropriate size resistor and or cap? The wire length on one sensor is the standard DS18B20 length, The other sensor has been lengthened slightly to pass under a freezer door gasket. (Pic Below)
                        4. These are battery powered sensors, and until the MySensors step up regulator is release I think it's my only option.

                        The flat section is a SATA cable, very well spiced in.

                        20140904_072228_Android.jpg

                        20140904_072241_Android.jpg

                        The only difference in this sensor build compared to the other is I started using screw in connector blocks for the sensor connection. (and of course the SATA cable splice.)
                        20140904_072324_Android.jpg

                        RJ_Make

                        1 Reply Last reply
                        0
                        • RJ_MakeR Offline
                          RJ_MakeR Offline
                          RJ_Make
                          Hero Member
                          wrote on last edited by
                          #17

                          Thinking out loud.... In both area's I have z-wave extenders in close proximity of the sensors. Hmmmmm

                          RJ_Make

                          DammeD 1 Reply Last reply
                          0
                          • RJ_MakeR RJ_Make

                            Thinking out loud.... In both area's I have z-wave extenders in close proximity of the sensors. Hmmmmm

                            DammeD Offline
                            DammeD Offline
                            Damme
                            Code Contributor
                            wrote on last edited by
                            #18

                            @ServiceXp Now when you sayit... I had a wireless mouse that lowerd my reception. A cheap brand, I did't like it and everytime a sensor transmitted the mouse got laggy.

                            1 Reply Last reply
                            0
                            • greglG gregl

                              This is very weird...but the wierdest bit to me is that you need to clear the eeprom to get it going again!

                              Are you using the example sketches un-modified for these sensors?

                              Few ideas:

                              1. What about adding some code to void setup to print out all values in the eeprom - to test your idea in them being corrupt?

                              2. What about swapping the mini pro's from your working DHT22 sensor and using it for the temp sensor...see if the problem follows....

                              3. Change the resistor/add capacitor to the temp sensor in case the output is not ideal from the pro-mini http://www.picaxeforum.co.uk/archive/index.php/t-11268.html
                                ( i have some ds18b20's on long cables using parasite power and i needed to drop the resistor value for stability)

                              4. Change the powersupply AND cable !. Are you using a USB port on your computer??
                                Hows it all connected up? ( post a photo )

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

                              @gregl said:> This is very weird...but the wierdest bit to me is that you need to clear the eeprom to get it going again!

                              Are you using the example sketches un-modified for these sensors?

                              Few ideas:

                              1. What about adding some code to void setup to print out all values in the eeprom - to test your idea in them being corrupt?

                              2. What about swapping the mini pro's from your working DHT22 sensor and using it for the temp sensor...see if the problem follows....

                              3. Change the resistor/add capacitor to the temp sensor in case the output is not ideal from the pro-mini http://www.picaxeforum.co.uk/archive/index.php/t-11268.html
                                ( i have some ds18b20's on long cables using parasite power and i needed to drop the resistor value for stability)

                              4. Change the powersupply AND cable !. Are you using a USB port on your computer??
                                Hows it all connected up? ( post a photo )

                              Still dealing with this...

                              1. Built up a completely new freezer sensor, connected it, and it locked up 8hrs later. My EH40 project with the DS18B20 is also locking up. This is driving me crazy..

                              2. I added a cap (.22uF) to my EH40, but it still locked up.

                              I've removed all near by z-wave devices, so I now know that is not causing it..

                              RJ_Make

                              1 Reply Last reply
                              0
                              • RJ_MakeR Offline
                                RJ_MakeR Offline
                                RJ_Make
                                Hero Member
                                wrote on last edited by
                                #20

                                Let me ask you guys this.. Is it 'OK' to power the mini pro via the VCC terminal on the side? This is how I've been powering all my sensors...
                                Should I be using the RAW pin?

                                I've been powering the DS18B20 directly from the stepped up 3.3v output of the module (not the mini pro)

                                RJ_Make

                                korttomaK 1 Reply Last reply
                                0
                                • RJ_MakeR RJ_Make

                                  Let me ask you guys this.. Is it 'OK' to power the mini pro via the VCC terminal on the side? This is how I've been powering all my sensors...
                                  Should I be using the RAW pin?

                                  I've been powering the DS18B20 directly from the stepped up 3.3v output of the module (not the mini pro)

                                  korttomaK Offline
                                  korttomaK Offline
                                  korttoma
                                  Hero Member
                                  wrote on last edited by korttoma
                                  #21

                                  @ServiceXp
                                  If you are feeding 3.3v to the VCC pin it should be ok but if you are in fact feeding 3.3v to the RAW pin it might not be enough (Input Voltage 3.35 -12 V (3.3V model))

                                  http://arduino.cc/en/Main/ArduinoBoardProMini

                                  • Tomas
                                  1 Reply Last reply
                                  0
                                  • RJ_MakeR Offline
                                    RJ_MakeR Offline
                                    RJ_Make
                                    Hero Member
                                    wrote on last edited by RJ_Make
                                    #22

                                    Locked up again this morning @ 7:37am with a temp of -0.1. So a .47uF cap isn't the answer.... I think my last option before giving up on this is to remove the stepup regulator.

                                    Any other idea's?

                                    RJ_Make

                                    1 Reply Last reply
                                    0
                                    • greglG Offline
                                      greglG Offline
                                      gregl
                                      Hero Member
                                      wrote on last edited by
                                      #23

                                      @ServiceXp
                                      Could you try running a sketch which just uses the dallas temp lib eg: there is is an example called "Single" with the DallasTemperature lib. RUn it for 24hrs and see if it survives.

                                      Likewise... in your existing sketch...stop reading the temps ( but leave everything connected) and just send a value every say 30sec to Vera .... and leave for 24hrs or so...see if that survives.

                                      Also have you tried a different PIN for the onewire sensor?

                                      RJ_MakeR 2 Replies Last reply
                                      0
                                      • greglG gregl

                                        @ServiceXp
                                        Could you try running a sketch which just uses the dallas temp lib eg: there is is an example called "Single" with the DallasTemperature lib. RUn it for 24hrs and see if it survives.

                                        Likewise... in your existing sketch...stop reading the temps ( but leave everything connected) and just send a value every say 30sec to Vera .... and leave for 24hrs or so...see if that survives.

                                        Also have you tried a different PIN for the onewire sensor?

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

                                        @gregl said:> @ServiceXp

                                        Could you try running a sketch which just uses the dallas temp lib eg: there is is an example called "Single" with the DallasTemperature lib. RUn it for 24hrs and see if it survives.

                                        Likewise... in your existing sketch...stop reading the temps ( but leave everything connected) and just send a value every say 30sec to Vera .... and leave for 24hrs or so...see if that survives.

                                        Also have you tried a different PIN for the onewire sensor?

                                        1. and 2) ---- will do and report back.

                                        Do you think the wire it self could be a/the problem. Since much of the sensor line is also subject to low temps, maybe it's breaking down some how... (Although I'm using 3 different DS18B20 sensors) just talking out loud..... ;-) ....

                                        1. I have not, but I can add that to the 'things to try' list..

                                        Thanks for you help @gregl

                                        RJ_Make

                                        1 Reply Last reply
                                        0
                                        • B Offline
                                          B Offline
                                          Bandra
                                          wrote on last edited by
                                          #25

                                          @ServiceXp

                                          My PCBs are winging their way to you (sorry, got forgot to send them for a week or two). They may solve your problem. Let me know when you get them.

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


                                          12

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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