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. My Project
  3. nRF5 action!

nRF5 action!

Scheduled Pinned Locked Moved My Project
1.9k Posts 49 Posters 630.9k Views 44 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.
  • NeverDieN Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by NeverDie
    #56

    What do you guys think of the NRF51822?
    https://www.aliexpress.com/item/NRF51822-2-4G-Wireless-Module-Wireless-Communication-Module-Bluetooth-module-zigbee-module-DMX512/32726191346.html?spm=2114.01010208.3.16.u9URcX&ws_ab_test=searchweb0_0,searchweb201602_5_10152_10065_10151_10068_10130_10136_10137_10060_10155_10062_437_10154_10056_10055_10054_10059_303_100031_10099_10103_10102_10096_10052_10053_10142_10107_10050_10051_5030014_10084_10083_10119_10080_10082_10081_10178_10110_519_10111_10112_10113_10114_10182_10078_10079_10073_10123_10120_10189_142,searchweb201603_1,ppcSwitch_4&btsid=bdb83fff-e500-45cf-becd-3dfdfd896dad&algo_expid=5ab8c3b2-cd02-4c0a-8ea8-941792ebfedc-2&algo_pvid=5ab8c3b2-cd02-4c0a-8ea8-941792ebfedc
    The dev boards are really cheap, and they come with a capable mcu.

    NeverDieN TerrenceT 2 Replies Last reply
    0
    • NeverDieN NeverDie

      What do you guys think of the NRF51822?
      https://www.aliexpress.com/item/NRF51822-2-4G-Wireless-Module-Wireless-Communication-Module-Bluetooth-module-zigbee-module-DMX512/32726191346.html?spm=2114.01010208.3.16.u9URcX&ws_ab_test=searchweb0_0,searchweb201602_5_10152_10065_10151_10068_10130_10136_10137_10060_10155_10062_437_10154_10056_10055_10054_10059_303_100031_10099_10103_10102_10096_10052_10053_10142_10107_10050_10051_5030014_10084_10083_10119_10080_10082_10081_10178_10110_519_10111_10112_10113_10114_10182_10078_10079_10073_10123_10120_10189_142,searchweb201603_1,ppcSwitch_4&btsid=bdb83fff-e500-45cf-becd-3dfdfd896dad&algo_expid=5ab8c3b2-cd02-4c0a-8ea8-941792ebfedc-2&algo_pvid=5ab8c3b2-cd02-4c0a-8ea8-941792ebfedc
      The dev boards are really cheap, and they come with a capable mcu.

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

      https://www.youtube.com/watch?v=WmCmqN2i_Xo

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

        What I find even more interesting than that, though, is "extended range" Bluetooth, which might very well be the all-in-one tiny module that does it all: http://www.cypress.com/blog/psoc-creator-news-and-information/design-long-range-bluetooth-applications-new-ez-ble-psoc-xtxr
        No need to add an NRF24L01 or an RFM69 module, because for home automation, the extended range version of bluetooth should have adequate range already. And it has a capable ARM MCU built in.

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

          @NeverDie radio mcus are nice ;)

          1 Reply Last reply
          0
          • NeverDieN NeverDie

            What do you guys think of the NRF51822?
            https://www.aliexpress.com/item/NRF51822-2-4G-Wireless-Module-Wireless-Communication-Module-Bluetooth-module-zigbee-module-DMX512/32726191346.html?spm=2114.01010208.3.16.u9URcX&ws_ab_test=searchweb0_0,searchweb201602_5_10152_10065_10151_10068_10130_10136_10137_10060_10155_10062_437_10154_10056_10055_10054_10059_303_100031_10099_10103_10102_10096_10052_10053_10142_10107_10050_10051_5030014_10084_10083_10119_10080_10082_10081_10178_10110_519_10111_10112_10113_10114_10182_10078_10079_10073_10123_10120_10189_142,searchweb201603_1,ppcSwitch_4&btsid=bdb83fff-e500-45cf-becd-3dfdfd896dad&algo_expid=5ab8c3b2-cd02-4c0a-8ea8-941792ebfedc-2&algo_pvid=5ab8c3b2-cd02-4c0a-8ea8-941792ebfedc
            The dev boards are really cheap, and they come with a capable mcu.

            TerrenceT Offline
            TerrenceT Offline
            Terrence
            wrote on last edited by
            #60

            @NeverDie I love the new 51840 (the one that does the long distance, the 832 is the High throughput chip) Please work with the 840.

            I have the nRF52840 Preview DK, but have not fired it up yet. Still trying to understand how to code Bluetooth.
            http://www.nordicsemi.com/eng/Products/nRF52840-Preview-DK.

            SiLabs has an interesting Gecko BT5 chip as well.
            http://www.silabs.com/products/wireless/bluetooth/blue-gecko-bluetooth-smart-socs

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

              1 megabyte of flash and 256K of RAM! And long range too! Wow, that NRF52840 takes things to a whole new level. When will we be seeing regular modules with it beyond just the developer kits?

              Also, the inevitable question: is it programmable through the Arduino IDE? I sure hope the answer is yes.

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

                840 is pretty new, and if i'm not wrong, final version is planned in few month for end of year (it's a bga package, and preview version), there are a very few modules actually, but expensive to order, for a beta though. So if there is a support for it in Arduino, it could be not complete yet. i'll tell you more when i'll get mine :)

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

                  OK, so if we wanted to make something today (or, at least before the end of the year), what module should we use now such that the nRF52840 will be an easy upgrade when it arrives later and sells for (hopefully) cheap on Aliexpress? Would it be the nRF51422 (which I don't believe does long range)? In fact, I'm not sure whether Nordic has anything long range before this nRF52840. That's kinda why I was looking at the cypress or silicon labs product lines, not knowing that Nordic had something in the wings already.

                  When it does become available, it looks as though it will be around $7 for quantity 1: http://www.mouser.com/ProductDetail/Nordic-Semiconductor/nRF52840-QIAA-R7/?qs=sGAEpiMZZMve4%2FbfQkoj%252bGh7uW9JJ8VYnj7XFjezTdQ%3D

                  Actually, it says 16 week lead time, so that's more or less consistent with what Scalz said.

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

                    This whole topic has been brewing in the back of my mind for a couple years now:
                    https://forum.mysensors.org/topic/1788/nrf51822-as-an-all-in-one
                    and
                    https://forum.mysensors.org/topic/3836/anyone-besides-me-looking-into-long-range-bluetooth-for-their-wireless-nodes

                    With the nRF52840, it looks as though the moment has finally arrived to tie it all together and give it a try. :)

                    I just have no idea where to even begin though. Just order the nRF52840 preview DK? Is it fairly quick to get something up and running, or is it a fairly steep learning curve?

                    JokgiJ 1 Reply Last reply
                    0
                    • TerrenceT Terrence

                      @NeverDie I love the new 51840 (the one that does the long distance, the 832 is the High throughput chip) Please work with the 840.

                      I have the nRF52840 Preview DK, but have not fired it up yet. Still trying to understand how to code Bluetooth.
                      http://www.nordicsemi.com/eng/Products/nRF52840-Preview-DK.

                      SiLabs has an interesting Gecko BT5 chip as well.
                      http://www.silabs.com/products/wireless/bluetooth/blue-gecko-bluetooth-smart-socs

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

                      @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

                      @NeverDie I love the new 51840 (the one that does the long distance, the 832 is the High throughput chip) Please work with the 840.

                      I have the nRF52840 Preview DK, but have not fired it up yet. Still trying to understand how to code Bluetooth.
                      http://www.nordicsemi.com/eng/Products/nRF52840-Preview-DK.

                      SiLabs has an interesting Gecko BT5 chip as well.
                      http://www.silabs.com/products/wireless/bluetooth/blue-gecko-bluetooth-smart-socs

                      Even though you said 840 rather than 832, might the 832 yet still be a decent way to get started?
                      https://www.adafruit.com/product/3406
                      And then transition to the 840 when it becomes more available? At least the 832 is in the same nRF52 samily as the 840.

                      My hunch is that bluetooth long range is going to win, because regular bluetooth is already baked into everything.

                      TerrenceT 1 Reply Last reply
                      0
                      • NeverDieN NeverDie

                        @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

                        @NeverDie I love the new 51840 (the one that does the long distance, the 832 is the High throughput chip) Please work with the 840.

                        I have the nRF52840 Preview DK, but have not fired it up yet. Still trying to understand how to code Bluetooth.
                        http://www.nordicsemi.com/eng/Products/nRF52840-Preview-DK.

                        SiLabs has an interesting Gecko BT5 chip as well.
                        http://www.silabs.com/products/wireless/bluetooth/blue-gecko-bluetooth-smart-socs

                        Even though you said 840 rather than 832, might the 832 yet still be a decent way to get started?
                        https://www.adafruit.com/product/3406
                        And then transition to the 840 when it becomes more available? At least the 832 is in the same nRF52 samily as the 840.

                        My hunch is that bluetooth long range is going to win, because regular bluetooth is already baked into everything.

                        TerrenceT Offline
                        TerrenceT Offline
                        Terrence
                        wrote on last edited by Terrence
                        #66

                        @NeverDie I think the 832 would be a good start until the 840 is available. I think all programming will be the same for when we switch over the 840. I am not 100% sure though.

                        I have been looking at the AdaFruit 832 since it came out, but have not pulled the trigger yet, as I have not yet opened my 840 dev kit.

                        We can definitely program the AdaFruit 832 with Arduino.

                        I agree with you that BT5 long range is the way to the future due to it's low energy, great built in security, long range and no additional chip required.... and >>because regular bluetooth is already baked into everything.

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

                          I agree with @Terrence ;)
                          For end users, i think you won't see a big diff in Arduino when 840 will be released. but they are not really the same inside..
                          Also 840 is Nordic flagship, so it won't be as cheap as nrf51 series soon. And the same applies to 832 which is still affordable regarding specs. That's why they've released the 810, for lower cost, same RF perf as 832, but less memory.

                          TerrenceT 1 Reply Last reply
                          1
                          • scalzS scalz

                            I agree with @Terrence ;)
                            For end users, i think you won't see a big diff in Arduino when 840 will be released. but they are not really the same inside..
                            Also 840 is Nordic flagship, so it won't be as cheap as nrf51 series soon. And the same applies to 832 which is still affordable regarding specs. That's why they've released the 810, for lower cost, same RF perf as 832, but less memory.

                            TerrenceT Offline
                            TerrenceT Offline
                            Terrence
                            wrote on last edited by
                            #68

                            @scalz said in Minimalist SAMD21 TQFP32 Pro Mini:

                            same RF perf as 832, but less memory

                            but no long range right?

                            So scalz it is your understanding that the coding will be the same on the 832 and when we start getting the 840, but the distance will just increase?

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

                              I tried looking at the description on Mouser for the nRF52840 Preview Development Kit,

                              http://www.mouser.com/ProductDetail/Nordic-Semiconductor/nRF52840-PDK/?qs=%2Fha2pyFadujrE9AVVmPVBpOa%252bRshwNjVw0YuauBixIIKnbHMaxozcw%3D%3D

                              and it's not obvious as to whether it even comes with any of the modules. So, I guess I could get it to do mcu tricks, but I'm wondering now whether it can even communicate with anything wirelessly until 16 weeks from now?

                              Also, it's not clear to me yet whether the Nordic modules are truly "long range" rather than just better range. I get the impression they do some coding gain without actually increasing transmit power. That's fine, I suppose, although the datasheet (http://www.mouser.com/ds/2/297/nRF52840_OPS_v0.5-1074816.pdf) does describe the link budget (with coding gain?) as being only 104dB, which isn't exactly awesome.

                              TerrenceT 1 Reply Last reply
                              0
                              • NeverDieN NeverDie

                                I tried looking at the description on Mouser for the nRF52840 Preview Development Kit,

                                http://www.mouser.com/ProductDetail/Nordic-Semiconductor/nRF52840-PDK/?qs=%2Fha2pyFadujrE9AVVmPVBpOa%252bRshwNjVw0YuauBixIIKnbHMaxozcw%3D%3D

                                and it's not obvious as to whether it even comes with any of the modules. So, I guess I could get it to do mcu tricks, but I'm wondering now whether it can even communicate with anything wirelessly until 16 weeks from now?

                                Also, it's not clear to me yet whether the Nordic modules are truly "long range" rather than just better range. I get the impression they do some coding gain without actually increasing transmit power. That's fine, I suppose, although the datasheet (http://www.mouser.com/ds/2/297/nRF52840_OPS_v0.5-1074816.pdf) does describe the link budget (with coding gain?) as being only 104dB, which isn't exactly awesome.

                                TerrenceT Offline
                                TerrenceT Offline
                                Terrence
                                wrote on last edited by
                                #70

                                @NeverDie
                                The nRF52840 PDK is a versatile single board development kit for Bluetooth 5, Bluetooth low energy, ANT, 802.15.4 and 2.4GHz proprietary applications using the nRF52840 SoC. This kit supports development for the nRF52840 SoC.

                                http://www.nordicsemi.com/eng/Products/nRF52840-Preview-DK
                                https://devzone.nordicsemi.com/blogs/1093/

                                Cool drone video of 840 long range.
                                https://www.youtube.com/watch?v=w4PbxVwg83M

                                1 Reply Last reply
                                1
                                • tbowmoT Offline
                                  tbowmoT Offline
                                  tbowmo
                                  Admin
                                  wrote on last edited by
                                  #71

                                  @Terrence

                                  That's pretty impressive..

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

                                    A better test would have been to test the range while still maintaining a sufficiently low packet error rate. Their test criteria was just "still receiving packets," which could have meant a very high packet error rate, which isn't really useful information.

                                    At the end of the day, it's the link budget that seems to matter most in comparing different radios. The higher the link budget, the better the range (in apples to apples comparison, where a particular packet error rate is what determines practical "range").

                                    So, for comparison, a LoRa radio has a link budget as high as around 156dB (that's with the lowest bitrate and the highest coding gain). It's arguably far more than you need for home automation, but then again, I'd rather have overkill than underkill.

                                    Nca78N 1 Reply Last reply
                                    0
                                    • NeverDieN NeverDie

                                      A better test would have been to test the range while still maintaining a sufficiently low packet error rate. Their test criteria was just "still receiving packets," which could have meant a very high packet error rate, which isn't really useful information.

                                      At the end of the day, it's the link budget that seems to matter most in comparing different radios. The higher the link budget, the better the range (in apples to apples comparison, where a particular packet error rate is what determines practical "range").

                                      So, for comparison, a LoRa radio has a link budget as high as around 156dB (that's with the lowest bitrate and the highest coding gain). It's arguably far more than you need for home automation, but then again, I'd rather have overkill than underkill.

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

                                      @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                                      A better test would have been to test the range while still maintaining a sufficiently low packet error rate. Their test criteria was just "still receiving packets," which could have meant a very high packet error rate, which isn't really useful information.

                                      I think at the moment the guy says he doesn't see a single drop, or something like that. I understood "all packets arrived".

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

                                        I notice though that they show the link budet for the 840 is 111dB. Well, that's encouraging. The datasheet says "104 dB link budget for Bluetooth low energy," so I guess they're using a different mode.

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

                                          I was really keen to try the nrf52832, in lieu of the nRF52840 until it became available, because of the OTA wireless update capability. Then I dug a bit further, and on the Adafruit website (https://learn.adafruit.com/bluefruit-nrf52-feather-learning-guide/using-the-bootloader) it says "This option is not actively support nor recommended by Adafruit, and we are still working on making this as safe as possible for users via our Bluefruit LE Connect application. Use OTA DFU at your own risk knowing you can brick your device and may need a Segger J-Link or similar device to regain control of it!"

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


                                          15

                                          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