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. OpenHardware.io
  3. 💬 MySensors NRF5 Platform

💬 MySensors NRF5 Platform

Scheduled Pinned Locked Moved OpenHardware.io
contest2017nrf52mysensorsnrf5nrf51
210 Posts 20 Posters 42.9k Views 18 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.
  • O Omemanti

    This post is deleted!

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

    @omemanti Shot in the dark: did you swap Tx/Rx by accident?

    http://yveaux.blogspot.nl

    1 Reply Last reply
    1
    • O Offline
      O Offline
      Omemanti
      wrote on last edited by
      #149
      This post is deleted!
      1 Reply Last reply
      0
      • O Offline
        O Offline
        Omemanti
        wrote on last edited by
        #150

        I'm not sure if I destroyed something on the board.ill try another one.. to not fill-up this forum threat I'll delete my previous posts

        1 Reply Last reply
        0
        • monteM Offline
          monteM Offline
          monte
          wrote on last edited by
          #151

          Hello, @d00616. Could you tell me which ESB library did you use to port it to arduino environment? The one that comes with Nordic SDK? After searching for few hours I haven't find any other realization of ESB mode for arduino IDE except your port included with MySensors. It's a pity. Are you going to release general purpose library, maybe?

          d00616D 1 Reply Last reply
          0
          • monteM monte

            Hello, @d00616. Could you tell me which ESB library did you use to port it to arduino environment? The one that comes with Nordic SDK? After searching for few hours I haven't find any other realization of ESB mode for arduino IDE except your port included with MySensors. It's a pity. Are you going to release general purpose library, maybe?

            d00616D Offline
            d00616D Offline
            d00616
            Contest Winner
            wrote on last edited by
            #152

            @monte said in 💬 MySensors NRF5 Platform:

            Hello, @d00616. Could you tell me which ESB library did you use to port it to arduino environment? The one that comes with Nordic SDK? After searching for few hours I haven't find any other realization of ESB mode for arduino IDE except your port included with MySensors. It's a pity. Are you going to release general purpose library, maybe?

            The ESB library is written from scratch. At the time of of starting the Nordic SDK license was incompatible with open source projects. I have no plans to release this as stand-alone library. At the moment there is only an subset of the ESB protocol implemented. Enough to be compatible with MySensors RF24 devices.

            Feel free to use my code to create a stand-alone library. If required, we can talk about dual licensing to code with an additional open source license.

            monteM 1 Reply Last reply
            1
            • d00616D d00616

              @monte said in 💬 MySensors NRF5 Platform:

              Hello, @d00616. Could you tell me which ESB library did you use to port it to arduino environment? The one that comes with Nordic SDK? After searching for few hours I haven't find any other realization of ESB mode for arduino IDE except your port included with MySensors. It's a pity. Are you going to release general purpose library, maybe?

              The ESB library is written from scratch. At the time of of starting the Nordic SDK license was incompatible with open source projects. I have no plans to release this as stand-alone library. At the moment there is only an subset of the ESB protocol implemented. Enough to be compatible with MySensors RF24 devices.

              Feel free to use my code to create a stand-alone library. If required, we can talk about dual licensing to code with an additional open source license.

              monteM Offline
              monteM Offline
              monte
              wrote on last edited by
              #153

              @d00616 thanks for a reply. I will evaluate my skills for this task, when I actually will get a chip to try it on. I need some really small pcb for my project, and single chip with mcu and rf with the size of nrf51 fits perfectly, but it requires quiet simple communications and full MySensors library will be overkill and hard to adapt for my needs.

              d00616D 2 Replies Last reply
              0
              • monteM monte

                @d00616 thanks for a reply. I will evaluate my skills for this task, when I actually will get a chip to try it on. I need some really small pcb for my project, and single chip with mcu and rf with the size of nrf51 fits perfectly, but it requires quiet simple communications and full MySensors library will be overkill and hard to adapt for my needs.

                d00616D Offline
                d00616D Offline
                d00616
                Contest Winner
                wrote on last edited by
                #154

                @monte said in 💬 MySensors NRF5 Platform:

                @d00616 thanks for a reply. I will evaluate my skills for this task, when I actually will get a chip to try it on. I need some really small pcb for my project, and single chip with mcu and rf with the size of nrf51 fits perfectly, but it requires quiet simple communications and full MySensors library will be overkill and hard to adapt for my needs.

                You can use the MY_CORE_ONLY mode -> https://forum.mysensors.org/post/76627

                monteM 2 Replies Last reply
                0
                • d00616D d00616

                  @monte said in 💬 MySensors NRF5 Platform:

                  @d00616 thanks for a reply. I will evaluate my skills for this task, when I actually will get a chip to try it on. I need some really small pcb for my project, and single chip with mcu and rf with the size of nrf51 fits perfectly, but it requires quiet simple communications and full MySensors library will be overkill and hard to adapt for my needs.

                  You can use the MY_CORE_ONLY mode -> https://forum.mysensors.org/post/76627

                  monteM Offline
                  monteM Offline
                  monte
                  wrote on last edited by
                  #155

                  @d00616 great tip, thanks! I didn't know about that option, to bad it's buried on the deepest level of documentation. I guess this will do the thing. I greatly appreciate your help, it's a pleasure when people are willing to share their knowledge with others :)

                  1 Reply Last reply
                  1
                  • d00616D d00616

                    @monte said in 💬 MySensors NRF5 Platform:

                    @d00616 thanks for a reply. I will evaluate my skills for this task, when I actually will get a chip to try it on. I need some really small pcb for my project, and single chip with mcu and rf with the size of nrf51 fits perfectly, but it requires quiet simple communications and full MySensors library will be overkill and hard to adapt for my needs.

                    You can use the MY_CORE_ONLY mode -> https://forum.mysensors.org/post/76627

                    monteM Offline
                    monteM Offline
                    monte
                    wrote on last edited by monte
                    #156

                    @d00616 one more question. Is your driver able to send broadcast messages, without defined address, or should I just use the same node address on multiple receiving nodes?

                    d00616D 1 Reply Last reply
                    0
                    • monteM monte

                      @d00616 one more question. Is your driver able to send broadcast messages, without defined address, or should I just use the same node address on multiple receiving nodes?

                      d00616D Offline
                      d00616D Offline
                      d00616
                      Contest Winner
                      wrote on last edited by
                      #157

                      @monte Thank you.

                      @monte said in 💬 MySensors NRF5 Platform:

                      @d00616 one more question. Is your driver able to send broadcast messages, without defined address, or should I just use the same node address on multiple receiving nodes?

                      The broad cast address is hard coded to 0xff (255). Each node must have a uniqe address, because it's not possible to send packages to a node with the same address.

                      1 Reply Last reply
                      0
                      • monteM monte

                        @d00616 thanks for a reply. I will evaluate my skills for this task, when I actually will get a chip to try it on. I need some really small pcb for my project, and single chip with mcu and rf with the size of nrf51 fits perfectly, but it requires quiet simple communications and full MySensors library will be overkill and hard to adapt for my needs.

                        d00616D Offline
                        d00616D Offline
                        d00616
                        Contest Winner
                        wrote on last edited by
                        #158

                        @monte said in 💬 MySensors NRF5 Platform:

                        @d00616 thanks for a reply. I will evaluate my skills for this task, when I actually will get a chip to try it on. I need some really small pcb for my project, and single chip with mcu and rf with the size of nrf51 fits perfectly, but it requires quiet simple communications and full MySensors library will be overkill and hard to adapt for my needs.

                        If possible use the nRF52 series. There are some improvements like better radio sensivity, lower current consumption, more RAM and flash, better ADC and a better CPU. Maybe in the future there is a Firmware update OTA functionality which is easier to adapt to the NRF52 than the NRF51 platform. Another reason to use the NRF52 is, that the official Arduino NRF5 port only supports the NRF52. This port has a lot more capabilities than the arduino-nrf5 port, but MySensors is not compatible at the moment.

                        1 Reply Last reply
                        1
                        • Nca78N Offline
                          Nca78N Offline
                          Nca78
                          Hardware Contributor
                          wrote on last edited by
                          #159

                          Should we worry about that ?

                          0_1517109432461_primo_retired.png

                          d00616D 1 Reply Last reply
                          1
                          • Nca78N Nca78

                            Should we worry about that ?

                            0_1517109432461_primo_retired.png

                            d00616D Offline
                            d00616D Offline
                            d00616
                            Contest Winner
                            wrote on last edited by
                            #160

                            @nca78 said in 💬 MySensors NRF5 Platform:

                            Should we worry about that ?

                            No. There are some ports of Arduino for NRF5. At the moment MySensors is not compatible with the Primo Port, because it comes with the SoftDevice. It changes nothing for the current state.

                            1 Reply Last reply
                            0
                            • O Offline
                              O Offline
                              Omemanti
                              wrote on last edited by
                              #161

                              What is the best way to use a pin interrupt to wake up form a sleep?

                              like for instance, I got some sort of motion connected to PIN 8.

                              1 Reply Last reply
                              0
                              • NeverDieN Offline
                                NeverDieN Offline
                                NeverDie
                                Hero Member
                                wrote on last edited by
                                #162

                                The source code for the PIR project gives one possible answer.

                                O 1 Reply Last reply
                                0
                                • NeverDieN NeverDie

                                  The source code for the PIR project gives one possible answer.

                                  O Offline
                                  O Offline
                                  Omemanti
                                  wrote on last edited by Omemanti
                                  #163

                                  @neverdie
                                  I've been dealing with that code but for some reason, I don't get it to work, code-wise it seems I'm lacking..

                                  First i get this error: struct NRF_UARTE_Type' has no member named 'TASKS_SUSPEND
                                  And when I comment that out it seems like its not waking up.

                                  I made a test sketch, which reported the status every 1000ms. this worked accurately for the last 3 days so it doesn't look like it is a sensor problem.

                                  So my hope was that there was an easier methode available..

                                  NeverDieN 1 Reply Last reply
                                  0
                                  • O Omemanti

                                    @neverdie
                                    I've been dealing with that code but for some reason, I don't get it to work, code-wise it seems I'm lacking..

                                    First i get this error: struct NRF_UARTE_Type' has no member named 'TASKS_SUSPEND
                                    And when I comment that out it seems like its not waking up.

                                    I made a test sketch, which reported the status every 1000ms. this worked accurately for the last 3 days so it doesn't look like it is a sensor problem.

                                    So my hope was that there was an easier methode available..

                                    NeverDieN Offline
                                    NeverDieN Offline
                                    NeverDie
                                    Hero Member
                                    wrote on last edited by
                                    #164

                                    @omemanti Sounds like maybe you're either missing a library or else not linking to one that's required.

                                    O 1 Reply Last reply
                                    0
                                    • NeverDieN NeverDie

                                      @omemanti Sounds like maybe you're either missing a library or else not linking to one that's required.

                                      O Offline
                                      O Offline
                                      Omemanti
                                      wrote on last edited by
                                      #165

                                      @neverdie

                                      What am I missing, I just reinstalled the whole shabang.

                                      • Arduino IDE
                                      • Sandeep
                                      • Mysensors 2.2.0

                                      thats all there is installed..

                                      NeverDieN 1 Reply Last reply
                                      0
                                      • O Omemanti

                                        @neverdie

                                        What am I missing, I just reinstalled the whole shabang.

                                        • Arduino IDE
                                        • Sandeep
                                        • Mysensors 2.2.0

                                        thats all there is installed..

                                        NeverDieN Offline
                                        NeverDieN Offline
                                        NeverDie
                                        Hero Member
                                        wrote on last edited by
                                        #166

                                        @omemanti You want the mysensors development fork.

                                        1 Reply Last reply
                                        0
                                        • NeverDieN Offline
                                          NeverDieN Offline
                                          NeverDie
                                          Hero Member
                                          wrote on last edited by
                                          #167

                                          Also, this: https://github.com/d00616/ArduinoHwNRF5

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


                                          10

                                          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