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. Cannot send ID

Cannot send ID

Scheduled Pinned Locked Moved Troubleshooting
10 Posts 8 Posters 4.6k 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.
  • H Offline
    H Offline
    Hacker007
    wrote on last edited by
    #1

    Hi. I am new to MySensors.
    I made a serial gateway and relay actuator. I do not have a controller yet. I try manually set the Relay-unit ID. Serial data I collected from gateway is:
    0;0;3;0;14;Gateway startup complete.
    0;0;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0:
    255;255;3;0;3;
    0;0;3;0;14;Gateway startup complete.

    After I reset gateway; I reset relay-node (It prints: "req node id" on its serial). I get is the above text. In a second or so I manually send text "255;255;3;0;1"+LineFeed

    All I get is a stuck gateway?!?!

    What to do? How to manually assign ID number?
    I use unmodified scatches.
    Tnx4help.

    1 Reply Last reply
    0
    • D Offline
      D Offline
      diamantmatch
      wrote on last edited by
      #2

      i have the exact same problem.
      i use freedomotics as my controller with mysensors plugin and when my sensor asks for a unique ID the controller never responds. how come the controller never responds?

      bump

      1 Reply Last reply
      0
      • daulagariD Offline
        daulagariD Offline
        daulagari
        Hero Member
        wrote on last edited by
        #3

        "255;255;3;0;1"+LineFeed

        Looking at http://www.mysensors.org/build/serial_api you can decode this message:

        • 255;255 = node-id and child-sensor-id. 255;255 means something like broadcast
        • 3 = message-type: Internal
        • 0 = ack, so No ack
        • 1 = sub-type for Internal sub-type 3 means I_ID_REQUEST

        To provide an ID you need to send a I_ID_RESPONSE message or, probably better, use one of the controllers that support MySensors.

        1 Reply Last reply
        0
        • H Offline
          H Offline
          Hacker007
          wrote on last edited by
          #4

          Hi.
          I have figured it out why I still have problems with nrf24l01+ modules. They simply do not work well. Tx success is 1 in 5-10. If I change them with NRF24L01+PA+LNA modules communication works well (success rate 1/3).
          I have a 47uF cap next to modules and separate 3.3V switching supply for them. I measure something from 2.6-3.3V which is enough as specs declare. AVRs are pro mini 5V. Testing environment: modules are 20cm apart.

          Any idea?

          hekH K m26872M 3 Replies Last reply
          0
          • H Hacker007

            Hi.
            I have figured it out why I still have problems with nrf24l01+ modules. They simply do not work well. Tx success is 1 in 5-10. If I change them with NRF24L01+PA+LNA modules communication works well (success rate 1/3).
            I have a 47uF cap next to modules and separate 3.3V switching supply for them. I measure something from 2.6-3.3V which is enough as specs declare. AVRs are pro mini 5V. Testing environment: modules are 20cm apart.

            Any idea?

            hekH Offline
            hekH Offline
            hek
            Admin
            wrote on last edited by
            #5

            @Hacker007

            Sounds really bad. Do you use the MySensors library with the patch I created two days ago. It could explain failing transmissions.

            1 Reply Last reply
            0
            • L Offline
              L Offline
              lowang
              wrote on last edited by
              #6

              Doesn't the 1 for sub-type 3 means I_Time?
              I guess it should be 3, Am I right?
              So 255;255;3;0;3 ?

              1 Reply Last reply
              0
              • H Hacker007

                Hi.
                I have figured it out why I still have problems with nrf24l01+ modules. They simply do not work well. Tx success is 1 in 5-10. If I change them with NRF24L01+PA+LNA modules communication works well (success rate 1/3).
                I have a 47uF cap next to modules and separate 3.3V switching supply for them. I measure something from 2.6-3.3V which is enough as specs declare. AVRs are pro mini 5V. Testing environment: modules are 20cm apart.

                Any idea?

                K Offline
                K Offline
                kalle
                wrote on last edited by
                #7

                @Hacker007
                Hi, you use a 47uF Cap?
                I've soldered a 4.7uF capicator for decoupling directly between the GND and VCC PIN's on the NRF24 chip which works great. The description on http://www.mysensors.org/build/connect_radio says 4**.**7uF, but you use a 47uF capicator, maybe that is the problem.

                upload-947dfc37-ab1c-49a5-8cae-0dd15ce86c08

                1 Reply Last reply
                0
                • H Hacker007

                  Hi.
                  I have figured it out why I still have problems with nrf24l01+ modules. They simply do not work well. Tx success is 1 in 5-10. If I change them with NRF24L01+PA+LNA modules communication works well (success rate 1/3).
                  I have a 47uF cap next to modules and separate 3.3V switching supply for them. I measure something from 2.6-3.3V which is enough as specs declare. AVRs are pro mini 5V. Testing environment: modules are 20cm apart.

                  Any idea?

                  m26872M Offline
                  m26872M Offline
                  m26872
                  Hardware Contributor
                  wrote on last edited by
                  #8

                  @Hacker007 said:

                  Hi.
                  I have figured it out why I still have problems with nrf24l01+ modules. They simply do not work well. Tx success is 1 in 5-10. If I change them with NRF24L01+PA+LNA modules communication works well (success rate 1/3).
                  I have a 47uF cap next to modules and separate 3.3V switching supply for them. I measure something from 2.6-3.3V which is enough as specs declare. AVRs are pro mini 5V. Testing environment: modules are 20cm apart.

                  Any idea?

                  I'd say the root couse is the swtiching supply rather than the capacitor. Try with a separate 2x1,5V battery supply instead. If that works well and you still want your other supply you can try to complement with low-ESR caps (like 1-100pF ceramic caps).

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

                    It' always interesting to see how different solutions work for different people while the same exact solutions don't for others. In my environment using 2 AA batts with a step module, the ONLY way I could get stable transmission with MySensors 1.4 was with a 47uf cap.

                    Here is my sorted tale of power management gone wrong...

                    Not sure how / what power supply you are using, (most wall warts are switching) but I would agree with @m26872 , take a very close look at the power supply. If you are building your own up, you can use the solution I've worked out in this thread as it works perfectly for me. (make sure you read the last post)

                    RJ_Make

                    1 Reply Last reply
                    0
                    • H Offline
                      H Offline
                      Hacker007
                      wrote on last edited by Hacker007
                      #10

                      Hi. Thank you all for advice.
                      I have tried ceramic caps on small 24l01 but no success. I have not tried battery supply yet, but I will when time allows it. I installed 1.4.1 version, but did not see any difference... I continue to use NRF24L01+PA+LNA. Will change to small 24L01 when I achieve success.

                      For my bench supply I use old PC ATX supply unit. I use 12V. Both Mysensor-units get voltage from 12V to their RAW pin. 12V also goes to my KIS-3R33S modules and 3V3 afterwards via 47uF elco to NRF. In both sketches I use delay(1000) as the first command for the NRF power supply to settle(?!?) then I use gw.begin...

                      There is something new. If my hand is close to antenna of button/relay-sketch-unit (10cm or closer), the TX/RX is better (i.e. working). No difference if I touch gateway unit. Any idea? Maybe the whole problem is interference...

                      ADDED: I have tried battery supply. Instead of 12V from old ATX PC supply I have tried 9V battery. There is no difference. Amplified NRF communication is 100% if both LNA units are used. If I mix them, or use only small 24L01+ all I get is "fail".

                      Rok

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


                      30

                      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