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. Reusing arduinos?

Reusing arduinos?

Scheduled Pinned Locked Moved Troubleshooting
23 Posts 5 Posters 8.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.
  • hekH Online
    hekH Online
    hek
    Admin
    wrote on last edited by
    #6

    Tried clearing eeprom of gateway? Maybe a corrupt routing table?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      ajachierno
      wrote on last edited by
      #7

      yep, tried that as well when i cleared the sensor

      1 Reply Last reply
      0
      • hekH Online
        hekH Online
        hek
        Admin
        wrote on last edited by
        #8

        Is communication working all the way to the gateway?

        1 Reply Last reply
        0
        • V Offline
          V Offline
          virgus1970
          wrote on last edited by
          #9

          I have the same problem. After clearing EEPROM & deleting the node from Vera the same board doesn't want to be identified by GateWay Plugin. The communication is OK, cause hardware is the same & distance is minimum (all boards are on one table).
          I didn't try the above mentioned ways (restarting Vera, clearing EEPROM of GateWay board), but it seems it doesn't help :cry:
          Does any solution exist?

          1 Reply Last reply
          0
          • hekH Online
            hekH Online
            hek
            Admin
            wrote on last edited by
            #10

            I don't have any logical reason why it should behave like this. Never encountered it myself.

            You're sure node is working? When you look at the debug messages in serial monitor?

            1 Reply Last reply
            0
            • V Offline
              V Offline
              virgus1970
              wrote on last edited by
              #11

              It looks like this
              Скриншот 2015-03-01 19.40.10.png

              1 Reply Last reply
              0
              • hekH Online
                hekH Online
                hek
                Admin
                wrote on last edited by hek
                #12

                The node hasn't managed to receive a node id. As you can see it still using id 255.

                You're repeater(4) has a hard time ack:ing messages back to the node. You should add capacitor on that node and/or check powersource.

                So when including the node you should either move it close to the gateway (skip repeater during this initial phase) or fix radio communication between repeater and node.

                1 Reply Last reply
                0
                • V Offline
                  V Offline
                  virgus1970
                  wrote on last edited by virgus1970
                  #13

                  As I've mentioned already, the hardware was the same, and NRF-module has a capacitor. The power for board is enough (about 1A). And this Arduino board was identified without any problem at first.
                  Does any way exist to set node ID manually in this case?

                  1 Reply Last reply
                  0
                  • hekH Online
                    hekH Online
                    hek
                    Admin
                    wrote on last edited by
                    #14

                    Set a static id of 42 like this.

                    gw.begin(NULL, 42)
                    

                    Still, doesn't fix your ack problems that probably will lead to unnecessary parent-node-searches.

                    1 Reply Last reply
                    0
                    • A Offline
                      A Offline
                      ajachierno
                      wrote on last edited by
                      #15

                      I have no idea why but I was able to reuse 2 of my 4 boards like this no idea what changed or why. May just need to give it time?

                      1 Reply Last reply
                      0
                      • V Offline
                        V Offline
                        virgus1970
                        wrote on last edited by virgus1970
                        #16

                        As for me clearing the EEPROM of the board & restart of Vera (shutting off the power for couple of minutes) helped. Vera included early ignored board with the id1 (my first node was deleted from Vera about month ago).
                        Thanks to hek for advise.

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

                          I'm having a similar issue with a pro-mini clone. If I run the erase eeprom sketch, it completes, but if I then run the eeprom sketch to show all the values in the eeprom, it returns quite a few non-zero values, so not sure why it's not completely erasing. I used the gw.begin(NULL, xx) command to assign a node number to it for now.

                          Cheers
                          Al

                          hekH 1 Reply Last reply
                          0
                          • SparkmanS Sparkman

                            I'm having a similar issue with a pro-mini clone. If I run the erase eeprom sketch, it completes, but if I then run the eeprom sketch to show all the values in the eeprom, it returns quite a few non-zero values, so not sure why it's not completely erasing. I used the gw.begin(NULL, xx) command to assign a node number to it for now.

                            Cheers
                            Al

                            hekH Online
                            hekH Online
                            hek
                            Admin
                            wrote on last edited by
                            #18

                            @Sparkman

                            Strange. Could the clearing-sketch be writing to fast for the eeprom to handle it?

                            1 Reply Last reply
                            0
                            • H Offline
                              H Offline
                              HarryDutch
                              wrote on last edited by
                              #19

                              @Sparkman

                              If you mean EEPROM values above address 512 then you are right. The sketch only writes from 0 to 512. Your pro mini EEPROM however has 1024 addresses. Does this make sense?

                              1 Reply Last reply
                              0
                              • hekH Online
                                hekH Online
                                hek
                                Admin
                                wrote on last edited by
                                #20

                                Yes, but the id, parent and routing is in the lower region.

                                SparkmanS 1 Reply Last reply
                                0
                                • hekH hek

                                  Yes, but the id, parent and routing is in the lower region.

                                  SparkmanS Offline
                                  SparkmanS Offline
                                  Sparkman
                                  Hero Member
                                  wrote on last edited by
                                  #21

                                  @hek Which addresses are those values stored in? I'll create a sketch to run the erase slower and after each erase read the value from the address that was just erased and see how it behaves.

                                  @HarryDutch The read sketch showed values in the lower addresses as well after I ran the erase sketch.

                                  Cheers
                                  Al

                                  hekH 1 Reply Last reply
                                  0
                                  • SparkmanS Sparkman

                                    @hek Which addresses are those values stored in? I'll create a sketch to run the erase slower and after each erase read the value from the address that was just erased and see how it behaves.

                                    @HarryDutch The read sketch showed values in the lower addresses as well after I ran the erase sketch.

                                    Cheers
                                    Al

                                    hekH Online
                                    hekH Online
                                    hek
                                    Admin
                                    wrote on last edited by
                                    #22

                                    @Sparkman said:

                                    Which addresses are those values stored in

                                    Defined here:
                                    https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/MySensor.h#L44

                                    SparkmanS 1 Reply Last reply
                                    0
                                    • hekH hek

                                      @Sparkman said:

                                      Which addresses are those values stored in

                                      Defined here:
                                      https://github.com/mysensors/Arduino/blob/master/libraries/MySensors/MySensor.h#L44

                                      SparkmanS Offline
                                      SparkmanS Offline
                                      Sparkman
                                      Hero Member
                                      wrote on last edited by
                                      #23

                                      @hek Great, thanks!

                                      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