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.
  • scalzS Offline
    scalzS Offline
    scalz
    Hardware Contributor
    wrote on last edited by scalz
    #345

    @mtiutiu there is a little confusion :) this is the reference sch for nrf51. It is a bit different for nrf52.

    @Mike_Lemo no you dont need to set these pins which could be removed from the init function.
    Yes these functions are used for ble comm.
    I think sharing my unfinished code is useless (arduino & phone) if you have troubles with arduino examples. I have no time for an howto actually and little bit out of mysensors scope imho .

    The arduino examples are working fine.
    There are already written howtos at sparkfun, adafruit, blogs etc
    If you need more infos, maybe you can get more help on arduino forum too..
    And for general understanding of ble and its mechanisms (providers, services, characteristics..), you can take a look at bluetooth sig.
    Finally for custom phone app, you have to code with your preferred techno or use nordics app for simple debug

    mtiutiuM 1 Reply Last reply
    0
    • scalzS scalz

      @mtiutiu there is a little confusion :) this is the reference sch for nrf51. It is a bit different for nrf52.

      @Mike_Lemo no you dont need to set these pins which could be removed from the init function.
      Yes these functions are used for ble comm.
      I think sharing my unfinished code is useless (arduino & phone) if you have troubles with arduino examples. I have no time for an howto actually and little bit out of mysensors scope imho .

      The arduino examples are working fine.
      There are already written howtos at sparkfun, adafruit, blogs etc
      If you need more infos, maybe you can get more help on arduino forum too..
      And for general understanding of ble and its mechanisms (providers, services, characteristics..), you can take a look at bluetooth sig.
      Finally for custom phone app, you have to code with your preferred techno or use nordics app for simple debug

      mtiutiuM Offline
      mtiutiuM Offline
      mtiutiu
      Hardware Contributor
      wrote on last edited by mtiutiu
      #346

      @scalz

      My bad. I corrected the initial post. Hope is all well now.

      I'm going to try this one too when I have time wt51822-s4at

      This is the cheapest of all that I found so far and yes it's not a nrf52832 but a nrf51822 - for my purpose this one is very good too. It doesn't have all the pins exposed - only 7 of them but again it should fit my general usage. I'm curious about its performance though. I'll see that when I get my hands on it. This is the official datasheet(or so it seems): https://4tronix.co.uk/picobot2/WT51822-S4AT.pdf

      Nca78N 1 Reply Last reply
      0
      • NeverDieN NeverDie

        They sent me two files, but I have no idea what they are, or how to open them. Maybe someone here recognizes them or can open them?
        0_1500890784640_E73-2G4M04S-PCBLIB.PCBLIB
        0_1500890793687_E73-2G4M04S-PCB-V1.0.PCBDOCPreview

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

        @NeverDie said in nRF5 Bluetooth action!:

        They sent me two files, but I have no idea what they are, or how to open them. Maybe someone here recognizes them or can open them?
        0_1500890784640_E73-2G4M04S-PCBLIB.PCBLIB
        0_1500890793687_E73-2G4M04S-PCB-V1.0.PCBDOCPreview

        Opening the first file in notepad, I notice that it says, "PCB 6.0 Binary Library File ". I had asked Ebyte for either the module schematic or a reference design using their part, so I'm guessing this is it, in some sort of PCB CAD file.

        mtiutiuM 2 Replies Last reply
        0
        • NeverDieN NeverDie

          @NeverDie said in nRF5 Bluetooth action!:

          They sent me two files, but I have no idea what they are, or how to open them. Maybe someone here recognizes them or can open them?
          0_1500890784640_E73-2G4M04S-PCBLIB.PCBLIB
          0_1500890793687_E73-2G4M04S-PCB-V1.0.PCBDOCPreview

          Opening the first file in notepad, I notice that it says, "PCB 6.0 Binary Library File ". I had asked Ebyte for either the module schematic or a reference design using their part, so I'm guessing this is it, in some sort of PCB CAD file.

          mtiutiuM Offline
          mtiutiuM Offline
          mtiutiu
          Hardware Contributor
          wrote on last edited by
          #348

          @NeverDie

          I think they use Altium Designer and that those are files generated with it.

          T 1 Reply Last reply
          1
          • mtiutiuM mtiutiu

            @NeverDie

            I think they use Altium Designer and that those are files generated with it.

            T Offline
            T Offline
            Toyman
            wrote on last edited by
            #349

            @mtiutiu if so, the free viewer is available at their site

            1 Reply Last reply
            0
            • mtiutiuM mtiutiu

              @scalz

              My bad. I corrected the initial post. Hope is all well now.

              I'm going to try this one too when I have time wt51822-s4at

              This is the cheapest of all that I found so far and yes it's not a nrf52832 but a nrf51822 - for my purpose this one is very good too. It doesn't have all the pins exposed - only 7 of them but again it should fit my general usage. I'm curious about its performance though. I'll see that when I get my hands on it. This is the official datasheet(or so it seems): https://4tronix.co.uk/picobot2/WT51822-S4AT.pdf

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

              @mtiutiu I have ordered a few of those modules too, the big question is antenna performance as it seems rather small.
              It's incredibly cheap and has enough pins to drive most of the MySensors nodes, too bad it's missing the 32K crystal for low power Bluetooth :(

              mtiutiuM NeverDieN 2 Replies Last reply
              1
              • Nca78N Nca78

                @mtiutiu I have ordered a few of those modules too, the big question is antenna performance as it seems rather small.
                It's incredibly cheap and has enough pins to drive most of the MySensors nodes, too bad it's missing the 32K crystal for low power Bluetooth :(

                mtiutiuM Offline
                mtiutiuM Offline
                mtiutiu
                Hardware Contributor
                wrote on last edited by
                #351

                @Nca78

                I think that if we use a serial gw based on nrf24l01 pa lna variant should help cover a regular house. At least this is my intent but until then I need to prepare some test environment. And if using nrf5 repeater nodes also should help with coverage - this doesn't work for battery powered nodes I know. But I think there should be some nrf5 nodes that are powered permanently - like actuators for example.

                1 Reply Last reply
                0
                • NeverDieN NeverDie

                  @NeverDie said in nRF5 Bluetooth action!:

                  They sent me two files, but I have no idea what they are, or how to open them. Maybe someone here recognizes them or can open them?
                  0_1500890784640_E73-2G4M04S-PCBLIB.PCBLIB
                  0_1500890793687_E73-2G4M04S-PCB-V1.0.PCBDOCPreview

                  Opening the first file in notepad, I notice that it says, "PCB 6.0 Binary Library File ". I had asked Ebyte for either the module schematic or a reference design using their part, so I'm guessing this is it, in some sort of PCB CAD file.

                  mtiutiuM Offline
                  mtiutiuM Offline
                  mtiutiu
                  Hardware Contributor
                  wrote on last edited by mtiutiu
                  #352

                  @NeverDie

                  Can you upload those files somewhere so that I can download them? I can't do that from the links you pasted here in this forum.

                  I also found this altium -> kicad online converter but I don't know how well it works.

                  NeverDieN 1 Reply Last reply
                  0
                  • mtiutiuM mtiutiu

                    @NeverDie

                    Can you upload those files somewhere so that I can download them? I can't do that from the links you pasted here in this forum.

                    I also found this altium -> kicad online converter but I don't know how well it works.

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

                    @mtiutiu said in nRF5 Bluetooth action!:

                    Can you upload those files somewhere so that I can download them? I can't do that from the links you pasted here in this forum.

                    https://spaces.hightail.com/space/WMbime1pXn

                    mtiutiuM 1 Reply Last reply
                    0
                    • NeverDieN NeverDie

                      @mtiutiu said in nRF5 Bluetooth action!:

                      Can you upload those files somewhere so that I can download them? I can't do that from the links you pasted here in this forum.

                      https://spaces.hightail.com/space/WMbime1pXn

                      mtiutiuM Offline
                      mtiutiuM Offline
                      mtiutiu
                      Hardware Contributor
                      wrote on last edited by
                      #354

                      @NeverDie

                      Doesn't work for me so maybe it would be best to obtain a pdf or something readable for all of us from the manufacturer.

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

                        Is no one else able to download the files either?

                        mfalkviddM 1 Reply Last reply
                        0
                        • Nca78N Nca78

                          @NeverDie how many GND pins did you connect ?
                          It might be a stupid suggestion but maybe all GND pins are not connected together ?

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

                          @Nca78 said in nRF5 Bluetooth action!:

                          @NeverDie how many GND pins did you connect ?
                          It might be a stupid suggestion but maybe all GND pins are not connected together ?

                          Good question. I connected to just one GND pin. However, I just now checked with a DMM, and all the exposed GND pins on the module have continuity to one another. So, based on that, I'm assuming any additional outside connections would be redundant anyway?

                          1 Reply Last reply
                          1
                          • NeverDieN NeverDie

                            Is no one else able to download the files either?

                            mfalkviddM Offline
                            mfalkviddM Offline
                            mfalkvidd
                            Mod
                            wrote on last edited by
                            #357

                            @NeverDie said in nRF5 Bluetooth action!:

                            Is no one else able to download the files either?

                            From the forum, no. From hightail, yes.
                            I don't know which program to open them in though.

                            NeverDieN Nca78N 2 Replies Last reply
                            1
                            • mfalkviddM mfalkvidd

                              @NeverDie said in nRF5 Bluetooth action!:

                              Is no one else able to download the files either?

                              From the forum, no. From hightail, yes.
                              I don't know which program to open them in though.

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

                              @mfalkvidd said in nRF5 Bluetooth action!:

                              I don't know which program to open them in though

                              The current theory (see above) is that maybe it's Altium Designer, which has a free viewer.

                              1 Reply Last reply
                              0
                              • NeverDieN NeverDie

                                One thing I notice on the Ebyte module is that no RESET pin is exposed. Isn't that a bit odd?

                                Also, there appears to be a typo on the silkscreen, where there are two pin 7's on the silkscreen, but probably one of them is actually pin 6.

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

                                @NeverDie said in nRF5 Bluetooth action!:

                                One thing I notice on the Ebyte module is that no RESET pin is exposed. Isn't that a bit odd?

                                Correction: According to the Nordic datasheet, PO.21, which is exposed on the Ebyte modle, can also serve as the reset pin. I was thrown off because Sparkfun labeled it RESET on their board's silkscreen, not "PO.21".

                                1 Reply Last reply
                                0
                                • Nca78N Nca78

                                  @mtiutiu I have ordered a few of those modules too, the big question is antenna performance as it seems rather small.
                                  It's incredibly cheap and has enough pins to drive most of the MySensors nodes, too bad it's missing the 32K crystal for low power Bluetooth :(

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

                                  @Nca78 said in nRF5 Bluetooth action!:

                                  I have ordered a few of those modules too,

                                  Do let us know if either of you are able to program it. After this Ebyte experience, I won't be taking it for granted anymore.

                                  mfalkviddM 1 Reply Last reply
                                  0
                                  • NeverDieN NeverDie

                                    @Nca78 said in nRF5 Bluetooth action!:

                                    I have ordered a few of those modules too,

                                    Do let us know if either of you are able to program it. After this Ebyte experience, I won't be taking it for granted anymore.

                                    mfalkviddM Offline
                                    mfalkviddM Offline
                                    mfalkvidd
                                    Mod
                                    wrote on last edited by mfalkvidd
                                    #361

                                    @NeverDie not sure if it applies to this case, but at 18:04 in https://youtu.be/JXQLI-nXqmQ it is mentioned that the chip's identifier needs to be included in some list when the softdevice is compiled (or something along those lines, I am not yet familiar with the vocabulary).

                                    NeverDieN 1 Reply Last reply
                                    0
                                    • mfalkviddM mfalkvidd

                                      @NeverDie not sure if it applies to this case, but at 18:04 in https://youtu.be/JXQLI-nXqmQ it is mentioned that the chip's identifier needs to be included in some list when the softdevice is compiled (or something along those lines, I am not yet familiar with the vocabulary).

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

                                      @mfalkvidd said in nRF5 Bluetooth action!:

                                      @NeverDie not sure if it applies to this case, but at 18:04 in https://youtu.be/JXQLI-nXqmQ it is mentioned that the chip's identifier needs to be included in some list when the softdevice is compiled (or something along those lines, I am not yet familiar with the vocabulary).

                                      My understanding (which may be wrong) is that in this context a "softdevice" is a veiled reference to the bluetooth stack and/or related bluetooth code, which at present the mysensors code isn't using. In any case, when I programmed both the adafruit and the sparkfun using the mysensors code, I didn't include a chip identifier in a list, nor any soft devices, and it worked anyway.

                                      d00616D mfalkviddM 2 Replies Last reply
                                      1
                                      • NeverDieN Offline
                                        NeverDieN Offline
                                        NeverDie
                                        Hero Member
                                        wrote on last edited by
                                        #363

                                        I was thinking that maybe the Ebyte module is stuck in some kind of reset mode, but I just now checked pin P0.21 (the reset pin), and it measures high at 3.3v. This is the same as for the Sparkfun board, which I have no trouble programming. Reset is active low.

                                        T JokgiJ 2 Replies Last reply
                                        0
                                        • NeverDieN NeverDie

                                          @mfalkvidd said in nRF5 Bluetooth action!:

                                          @NeverDie not sure if it applies to this case, but at 18:04 in https://youtu.be/JXQLI-nXqmQ it is mentioned that the chip's identifier needs to be included in some list when the softdevice is compiled (or something along those lines, I am not yet familiar with the vocabulary).

                                          My understanding (which may be wrong) is that in this context a "softdevice" is a veiled reference to the bluetooth stack and/or related bluetooth code, which at present the mysensors code isn't using. In any case, when I programmed both the adafruit and the sparkfun using the mysensors code, I didn't include a chip identifier in a list, nor any soft devices, and it worked anyway.

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

                                          @NeverDie said in nRF5 Bluetooth action!:

                                          My understanding (which may be wrong) is that in this context a "softdevice" is a veiled reference to the bluetooth stack and/or related bluetooth code, which at present the mysensors code isn't using. In any case, when I programmed both the adafruit and the sparkfun using the mysensors code, I didn't include a chip identifier in a list, nor any soft devices, and it worked anyway.

                                          I haven't tested MySensors with a present SoftDevice. The drivers/NVM code (EEPROM emulation) conflicts with the DFU bootloader.

                                          It's better to see the SoftDevice as an Operating System providing BLE functionality and some hardware abstraction, while MySensors is directly ported to the hardware.

                                          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.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