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.
  • scalzS scalz

    @NeverDie on the pic there was multiple nrf52832 nodes, only the dk was 840, the gw had nrf24.
    Atm, the nrf52840 arduino core is not finished, so the additional features 840 can provide (security, zigbee etc), won't be available soon for arduino+mysensors. And there is still work to do for getting all 832 features. I think for the moment 840 is maybe interesting for the additional range only, or if you don't have enough memory with a 832..
    Sometimes I'm wondering what's the best?? focusing and getting a solid core/framework for a very few mcu, or handling lot of mcus :muscle: with unfinished cores (+lot of maintenance)?
    But I agree with you, tech stuff is sexy (I'm not the last at testing lot of mcus though) ;)

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

    @scalz I'm still wondering: was your 840 able to send and receive with the 832's?

    In the near-term I'd settle for the additional range that the 840 has to offer. IIRC, it has a 4db higher Tx and a 4db better Rx than the 832. So, 840 to 840 should have an 8db better link budget, which is significant.

    1 Reply Last reply
    0
    • scalzS Offline
      scalzS Offline
      scalz
      Hardware Contributor
      wrote on last edited by scalz
      #200

      @NeverDie I think I tried once, but I'm not sure; so take it as 'nope' :) But all nrf were compatible as they were talking to gw..
      I agree 840 should have more range. but that's just datasheet numbers, in 2.4ghz band, and still not 20dB. for a direct replacement, you win range sure. but good 832 design choices can work as good as bad 840 design choices.
      I have a different strategy. and I already got 832s ic for 2€. Because bt840f has not really a nice price imho. for what ?? a mcu few passives, pcb antenna, and just a few IOs exposed to castellated pins (I have no time to debug when there is a bad solder point on bottom pads..).
      bt840 is more affordable but you loose all the range.
      Then, you can find module from chinese brands. price is ok too. but the same lower range. On my side I would prefer spend money on good sensors.

      NeverDieN 1 Reply Last reply
      1
      • scalzS scalz

        @NeverDie I think I tried once, but I'm not sure; so take it as 'nope' :) But all nrf were compatible as they were talking to gw..
        I agree 840 should have more range. but that's just datasheet numbers, in 2.4ghz band, and still not 20dB. for a direct replacement, you win range sure. but good 832 design choices can work as good as bad 840 design choices.
        I have a different strategy. and I already got 832s ic for 2€. Because bt840f has not really a nice price imho. for what ?? a mcu few passives, pcb antenna, and just a few IOs exposed to castellated pins (I have no time to debug when there is a bad solder point on bottom pads..).
        bt840 is more affordable but you loose all the range.
        Then, you can find module from chinese brands. price is ok too. but the same lower range. On my side I would prefer spend money on good sensors.

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

        @scalz Fanstel has by far the best antenna design in its F series of all the nRF52 modules that I've tested (well, at least on an nRF52832 module, and I presume it carries over to the nRF52840 as well), so you do get some extra value for the extra money. Of course, if you can do your own, then you don't need Fanstel. I'd say you have above pretty good skills when it comes both to soldering and PCB antenna design, and so you are better able to build rather than buy. That's great! In my case, for the nRF52 chips, I pretty much have to buy modules instead. I suspect the same is true for most people here.

        NeverDieN 1 Reply Last reply
        0
        • NeverDieN NeverDie

          @scalz Fanstel has by far the best antenna design in its F series of all the nRF52 modules that I've tested (well, at least on an nRF52832 module, and I presume it carries over to the nRF52840 as well), so you do get some extra value for the extra money. Of course, if you can do your own, then you don't need Fanstel. I'd say you have above pretty good skills when it comes both to soldering and PCB antenna design, and so you are better able to build rather than buy. That's great! In my case, for the nRF52 chips, I pretty much have to buy modules instead. I suspect the same is true for most people here.

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

          Actually, the nRF52840 chip looks incredibly hard to solder (well, to me anyway):
          0_1536631559017_nrf52840_chip.png

          1 Reply Last reply
          0
          • alowhumA Offline
            alowhumA Offline
            alowhum
            Plugin Developer
            wrote on last edited by
            #203

            Has anyone got MySensors running on a Micro-bit?

            I'd like to create a simple motion sensor for MySensors, and a microbit has all I need on board.

            In general, MySensors and MicroBit could be a great combination for education and fun?

            NeverDieN Nca78N 2 Replies Last reply
            0
            • alowhumA alowhum

              Has anyone got MySensors running on a Micro-bit?

              I'd like to create a simple motion sensor for MySensors, and a microbit has all I need on board.

              In general, MySensors and MicroBit could be a great combination for education and fun?

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

              @alowhum Sounds like a good idea.

              1 Reply Last reply
              0
              • alowhumA alowhum

                Has anyone got MySensors running on a Micro-bit?

                I'd like to create a simple motion sensor for MySensors, and a microbit has all I need on board.

                In general, MySensors and MicroBit could be a great combination for education and fun?

                Nca78N Offline
                Nca78N Offline
                Nca78
                Hardware Contributor
                wrote on last edited by
                #205

                @alowhum it's an nrf51822 so you can, but the interrupt management on nrf51822/arduino needs some tweaking to get really low power.

                1 Reply Last reply
                0
                • alowhumA Offline
                  alowhumA Offline
                  alowhum
                  Plugin Developer
                  wrote on last edited by
                  #206

                  @Nca78 I ordered one, it should arrive tomorrow. Would you be willing to help me out in making it ultra low power once I get started?

                  Nca78N 1 Reply Last reply
                  0
                  • alowhumA alowhum

                    @Nca78 I ordered one, it should arrive tomorrow. Would you be willing to help me out in making it ultra low power once I get started?

                    Nca78N Offline
                    Nca78N Offline
                    Nca78
                    Hardware Contributor
                    wrote on last edited by
                    #207

                    @alowhum said in 💬 MySensors NRF5 Platform:

                    @Nca78 I ordered one, it should arrive tomorrow. Would you be willing to help me out in making it ultra low power once I get started?

                    If you're planning to use only one interrupt, it will not be very difficult, @NeverDie made some code for the low power comparator, search "LPCOMP" to find the posts in the NRF5 thread.
                    The constraint is you need the interrupt pin to be in the range of 1-8 (not 100% sure, you need to double check what pin numbers are available with LPCOMP).

                    1 Reply Last reply
                    1
                    • phil2020P Offline
                      phil2020P Offline
                      phil2020
                      wrote on last edited by
                      #208

                      Are there any plans to update the mysensors nRF5 boards definition to now support the nRF52840? I saw that Adafruit have now added support and are offering a feather based on this module https://www.adafruit.com/product/4062. There is also this listing for a module with 1.27 mm spacing on Alibaba https://www.alibaba.com/product-detail/low-energy-mesh-network-UART-module_60816297852.html

                      1 Reply Last reply
                      0
                      • T Offline
                        T Offline
                        Toyman
                        wrote on last edited by
                        #209

                        I thought I mastered nrf5 platform bit it looks I am not.
                        I have a PCB where i2c sensor is hardwired to po30 and po31 of nrf52832.
                        What changes I have to make in MyBoardNRF5.cpp?
                        Shall I bring lines 28/29 that have "A4" and "A5" in their desciption to 30th and 31st position in the list?

                        1 Reply Last reply
                        0
                        • nagelcN Offline
                          nagelcN Offline
                          nagelc
                          wrote on last edited by
                          #210

                          I think you can just set the I2C pins in MyBoardNRF5.h without remapping the pins in MyBoardNRF5.cpp.
                          Look in MyBoardNRF5.h, under the Wire Interfaces section. Set SDL and SCA to 30 and 31 as appropriate for your board.

                          1 Reply Last reply
                          1
                          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.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