Skip to content
  • 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!
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

nRF5 action!

Scheduled Pinned Locked Moved My Project
1.9k Posts 49 Posters 630.8k 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.
  • TerrenceT Terrence

    @NeverDie I was about to pull the trigger on some of those, but I can't seem to get my mind off of the potential long distance of the 840. I wonder when the world will be blessed with those modules?

    Looking forward to your experience with the Adafruit BLE boards.

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

    @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

    I wonder when the world will be blessed with those modules?

    I wouldn't wait for them. Will probably take at least half a year or so (according to Nordic)

    http://yveaux.blogspot.nl

    TerrenceT 1 Reply Last reply
    0
    • YveauxY Yveaux

      @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

      I wonder when the world will be blessed with those modules?

      I wouldn't wait for them. Will probably take at least half a year or so (according to Nordic)

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

      @Yveaux You are correct, use what is available, not what will be in the future.

      1 Reply Last reply
      0
      • TerrenceT Terrence

        @NeverDie I was about to pull the trigger on some of those, but I can't seem to get my mind off of the potential long distance of the 840. I wonder when the world will be blessed with those modules?

        Looking forward to your experience with the Adafruit BLE boards.

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

        @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

        @NeverDie I was about to pull the trigger on some of those, but I can't seem to get my mind off of the potential long distance of the 840.

        Same here, but hopefully (?) most of what I learn with the 832 will be applicable to the 840. The 840 is clearly more desirable, and I probably wouldn't have pulled the trigger on the 832 if I didn't know the 840 was coming.

        TerrenceT 1 Reply Last reply
        0
        • NeverDieN NeverDie

          @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

          @NeverDie I was about to pull the trigger on some of those, but I can't seem to get my mind off of the potential long distance of the 840.

          Same here, but hopefully (?) most of what I learn with the 832 will be applicable to the 840. The 840 is clearly more desirable, and I probably wouldn't have pulled the trigger on the 832 if I didn't know the 840 was coming.

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

          @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

          most of what I learn with the 832 will be applicable to the 840

          Right. I have been trying to get my head around the BT communication pattern. It is a different beast indeed.

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

            Looks as though the 52 Thingy might be a good starting point for some people:
            http://www.mouser.com/new/nordicsemiconductor/nordic-thingy-52/

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

              What I'm not sure about is whether the NRF52832 will have truly adequate indoor range. Max tx power is 4db, which is better than the 0db of the NRF24L01. Will that be enough? I can only guess. That's why I ordered two of the Adafruit NRF52832 feathers: to see for myself. If they disappoint, then I may shelve them until the 840 becomes more available, and then try again using the 840. On the other hand, if the 832 turns out to be "good enough", then the 840 may not matter so much.

              I do like that it apparently is programmable from within the Arduino IDE. That will make trying it out a lot easier. If the OTA uploads are easy to do, then I'll be really happy. :)

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

                @NeverDie
                nrf52832 is definitely better than nrf24l01. if i'm not wrong, 4db can double range in theory.
                For range, an important point is the antenna, as you already know.
                Chip antenna can be ok, depending on the environment and usecase, but can't compete with a rfm69. These antennas are not for long range, so the adafruit board. How to miniaturize antennas without loosing performance..

                NeverDieN JokgiJ 2 Replies Last reply
                0
                • scalzS scalz

                  @NeverDie
                  nrf52832 is definitely better than nrf24l01. if i'm not wrong, 4db can double range in theory.
                  For range, an important point is the antenna, as you already know.
                  Chip antenna can be ok, depending on the environment and usecase, but can't compete with a rfm69. These antennas are not for long range, so the adafruit board. How to miniaturize antennas without loosing performance..

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

                  @scalz said in Minimalist SAMD21 TQFP32 Pro Mini:

                  These antennas are not for long range, so the adafruit board. How to miniaturize antennas without loosing performance..

                  Good point. Looks as though the aliexpress module I referenced above, though, does have some kind of antenna connector on it:
                  alt text
                  So, maybe plugging something (?) into that would give better range?

                  Also, I just now read that these 832 modules can communicate with the older NRF24L01's. Is that true? That would be nice.

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

                    @NeverDie
                    yes these one looks better. looks like you can also tune ant (there are some footprints).
                    note the "meandered" antenna. it reduces antenna size, needs some tuning, a bit less efficient vs others type. but maybe better than chip antenna i think. and you have the ipex in case, cool!
                    Not so cheap (not fcc) but interesting i agree.

                    Yes, indeed! it's compatible with nrf24 thx to @d00616
                    You should try, i'm using my nrf52 board (aeos) with my esp32 gw (halo) :)
                    And the cherry, with VS Micro, and multiple serial monitors in same ide ;)

                    TerrenceT 1 Reply Last reply
                    1
                    • scalzS scalz

                      @NeverDie
                      yes these one looks better. looks like you can also tune ant (there are some footprints).
                      note the "meandered" antenna. it reduces antenna size, needs some tuning, a bit less efficient vs others type. but maybe better than chip antenna i think. and you have the ipex in case, cool!
                      Not so cheap (not fcc) but interesting i agree.

                      Yes, indeed! it's compatible with nrf24 thx to @d00616
                      You should try, i'm using my nrf52 board (aeos) with my esp32 gw (halo) :)
                      And the cherry, with VS Micro, and multiple serial monitors in same ide ;)

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

                      @scalz said in Minimalist SAMD21 TQFP32 Pro Mini:

                      And the cherry, with VS Micro, and multiple serial monitors in same ide

                      Guys I have been developing with VS Code (free) for Arduino type coding. been very happy with it. It does not have multi serial monitors (not that I know of).
                      Anyone else using VS Code?

                      NeverDieN 1 Reply Last reply
                      0
                      • TerrenceT Terrence

                        @scalz said in Minimalist SAMD21 TQFP32 Pro Mini:

                        And the cherry, with VS Micro, and multiple serial monitors in same ide

                        Guys I have been developing with VS Code (free) for Arduino type coding. been very happy with it. It does not have multi serial monitors (not that I know of).
                        Anyone else using VS Code?

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

                        @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

                        @scalz said in Minimalist SAMD21 TQFP32 Pro Mini:

                        And the cherry, with VS Micro, and multiple serial monitors in same ide

                        Guys I have been developing with VS Code (free) for Arduino type coding. been very happy with it. It does not have multi serial monitors (not that I know of).
                        Anyone else using VS Code?

                        What are its advantages that are the reason for your preferring it?

                        TerrenceT 1 Reply Last reply
                        0
                        • NeverDieN NeverDie

                          @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

                          @scalz said in Minimalist SAMD21 TQFP32 Pro Mini:

                          And the cherry, with VS Micro, and multiple serial monitors in same ide

                          Guys I have been developing with VS Code (free) for Arduino type coding. been very happy with it. It does not have multi serial monitors (not that I know of).
                          Anyone else using VS Code?

                          What are its advantages that are the reason for your preferring it?

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

                          @NeverDie I prefer it over the Arduino platform, not VS Micro.

                          It is a super lightweight editor, but really powerful with added extensions.
                          In Windows Explorer, right click a folder and click on "Open with Code' and the folder and all code files are there.

                          I have been using Visual Studio for work for a decade. It is a very heavy capable environment, but too heavy for simple ino projects.

                          I used VS Micro 3 years ago or so, but I can't compare the two.

                          https://code.visualstudio.com/

                          Here is a snip showing the Arduino extension.
                          0_1498766540886_upload-255eee95-5c42-464a-9769-e4795a8a3d73

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

                            I received the adafruit nrf52 feathers today, and I'm really quite shocked: adafruit doesn't supply any demo code (at least none that I can find) which would allow two nrf52 feathers to talk to one another. In fact, most of the demo code has nothing to do with bluetooth at all! This is very disappointing.

                            YveauxY 1 Reply Last reply
                            0
                            • NeverDieN NeverDie

                              I received the adafruit nrf52 feathers today, and I'm really quite shocked: adafruit doesn't supply any demo code (at least none that I can find) which would allow two nrf52 feathers to talk to one another. In fact, most of the demo code has nothing to do with bluetooth at all! This is very disappointing.

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

                              @NeverDie I guess they just rely on mySensors for the communication :-)

                              http://yveaux.blogspot.nl

                              NeverDieN 1 Reply Last reply
                              0
                              • YveauxY Yveaux

                                @NeverDie I guess they just rely on mySensors for the communication :-)

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

                                @Yveaux said in Minimalist SAMD21 TQFP32 Pro Mini:

                                @NeverDie I guess they just rely on mySensors for the communication :-)

                                Wait, does mysensors demo code already work using the nrf52832?

                                If not, does anyone know of some demo code somewhere that demos two 832's communicating (like there's plenty of demo code already for the NRF24L01)? I really don't want to figure this out from scratch using just the datasheet. Been there and done that already with the RFM69, and I don't want to have to do it again with the NRF52832. If there is not already a good "load and go" demo somewhere, then I'm going to return these modules to Amazon.

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

                                  @NeverDie
                                  Adafruit only provides examples for Bluetooth.

                                  regarding mysensors, i have answered here https://forum.mysensors.org/post/70297 ;)

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

                                    @NeverDie

                                    sidenote i forgot to say:

                                    your adafruit board should have a bootloader inside, so you can burn a sketch from arduino just by using ftdi (and allows some other features like ota etc). This is why i've also added dtr signal on my aeos in case.

                                    But I've not tried this configuration yet, and if i'm not wrong adafruit added freertos to their core files.
                                    So, i have no idea if burning a mysensors sketch by using adafruit boards in Arduino (so their core) will work out of the box.

                                    As, for the moment, i burn my mcus by using swd programmer (like for the atsam), and use the sandeep core files, in Arduino board manager, with custom board definition regarding my boards as i have not this adafruit board,I made mine before, else i would have ordered one :).

                                    I hope my explanations are clear, don't hesitate in case ;)

                                    NeverDieN 1 Reply Last reply
                                    0
                                    • scalzS scalz

                                      @NeverDie

                                      sidenote i forgot to say:

                                      your adafruit board should have a bootloader inside, so you can burn a sketch from arduino just by using ftdi (and allows some other features like ota etc). This is why i've also added dtr signal on my aeos in case.

                                      But I've not tried this configuration yet, and if i'm not wrong adafruit added freertos to their core files.
                                      So, i have no idea if burning a mysensors sketch by using adafruit boards in Arduino (so their core) will work out of the box.

                                      As, for the moment, i burn my mcus by using swd programmer (like for the atsam), and use the sandeep core files, in Arduino board manager, with custom board definition regarding my boards as i have not this adafruit board,I made mine before, else i would have ordered one :).

                                      I hope my explanations are clear, don't hesitate in case ;)

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

                                      @scalz
                                      I've been able to run Blink on the Adafruit NRF52 by compiling the Adafruit example Blink program within the Arduino IDE and then uploading it to the Adafruit NRF52 over the USB cable using the Arduino IDE, if that's what you mean. That part seems to work as intended, and it behaves just like any other Arduino in that respect. It's just that I had wrongly imagined that NRF52's would be communicating with each other using Bluetooth, and instead it sounds like (?) they'll actually be using a different, non-Bluetooth mode, for that--which is fine by me.

                                      If I understand you correctly, I should be able to just upload the mysensors demo code (one for a gateway and one for a node) to my two Adafruit NRF52's, and that's all it should take for them to then be communicating in a normal mysensors way. Is that right? If so, that would be very welcome news indeed.

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

                                        @NeverDie
                                        yes, you just need to do this

                                        NeverDieN 1 Reply Last reply
                                        0
                                        • scalzS scalz

                                          @NeverDie
                                          yes, you just need to do this

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

                                          @scalz
                                          Are you sure? I just tried compiling the SerialGateway example inside the Arduino IDE with the board set to "Adafruit Bluefruit NRF52 Feather, " and it won't even compile. Looking at mysensors.h file, I think I can see why:

                                          // Enable radio "feature" if one of the radio types was enabled
                                          #if defined(MY_RADIO_NRF24) || defined(MY_RADIO_RFM69) || defined(MY_RADIO_RFM95) || defined(MY_RS485)
                                          #define MY_SENSOR_NETWORK
                                          #endif
                                          
                                          // HARDWARE
                                          #if defined(ARDUINO_ARCH_ESP8266)
                                          #include "core/MyHwESP8266.cpp"
                                          #elif defined(ARDUINO_ARCH_AVR)
                                          #include "drivers/AVR/DigitalWriteFast/digitalWriteFast.h"
                                          #include "core/MyHwAVR.cpp"
                                          #elif defined(ARDUINO_ARCH_SAMD)
                                          #include "core/MyHwSAMD.cpp"
                                          #elif defined(__linux__)
                                          #include "core/MyHwLinuxGeneric.cpp"
                                          #endif
                                          

                                          The library seems to have no recognition capability for either the NRF52 nor for any board based on it.

                                          What do I need to modify to get it to work? Anyone know?

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


                                          17

                                          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
                                          • OpenHardware.io
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular