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 651.5k 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.
  • M Mike_Lemo

    Also If I want to change the UART pins to other pins would it work without errors or If I want to use 2 or more UARTS? same with I2C

    Also what are the debugging options available sins the RS232 is not connected to the MCU like in an arduino how would I set stop points or peek at variables values to see if the code runs as expected?

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

    @Mike_Lemo said in nRF5 Bluetooth action!:

    Also If I want to change the UART pins to other pins would it work without errors or If I want to use 2 or more UARTS? same with I2C

    The Chip has a lot of periphery on it. You can connect most components to pins. There is only one hardware UART, which can be connected. Please look at the Infocenter The arduino-nrf5 port is limited to things are implemented with arduino-samd by the author. This is the reason I have implemented an extension for hwPinMode() in MySensors.

    Another fine thing is the implementation of Shortcuts and the PPI. You can do a lot without using the CPU.

    @Mike_Lemo said in nRF5 Bluetooth action!:

    Also what are the debugging options available sins the RS232 is not connected to the MCU like in an arduino how would I set stop points or peek at variables values to see if the code runs as expected?

    Debugging depends on your programmer and flashing tool. I think you can start by search for "openocd gdb". OpenOCD is the flashing tool in arduino-nrf5 for all supported programmers.

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

      It looks as though raytec does make two modules for the nRF52832 that has a PCB antenna rather than a chip antenna: the MDBT42Q-P and the MDBT-42V-P:
      http://statics3.seeedstudio.com/assets/file/bazaar/product/MDBT42Q-Version_B.pdf
      alt text
      The MDBT-42V-P looks nice because of its small size. Anyone know where it can be purchased? All of a sudden, buying a module that comes with a proper datasheet seems appealing.

      M 1 Reply Last reply
      0
      • NeverDieN NeverDie

        It looks as though raytec does make two modules for the nRF52832 that has a PCB antenna rather than a chip antenna: the MDBT42Q-P and the MDBT-42V-P:
        http://statics3.seeedstudio.com/assets/file/bazaar/product/MDBT42Q-Version_B.pdf
        alt text
        The MDBT-42V-P looks nice because of its small size. Anyone know where it can be purchased? All of a sudden, buying a module that comes with a proper datasheet seems appealing.

        M Offline
        M Offline
        Mike_Lemo
        wrote on last edited by
        #300

        @NeverDie I had mine from seeed studio

        NeverDieN 1 Reply Last reply
        0
        • M Mike_Lemo

          @NeverDie I had mine from seeed studio

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

          @Mike_Lemo said in nRF5 Bluetooth action!:

          @NeverDie I had mine from seeed studio

          This one? https://www.seeedstudio.com/MDBT42Q-nRF52832-based-BLE-module-p-2736.html

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

            I was just now noticing that Nordic has a very convenient list of third party modules (and their dimensions) that use the Nordic nRF52832 chips: https://www.nordicsemi.com/eng/Products/3rd-Party-Bluetooth-low-energy-Modules

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

              FWIW, I just now sent an email to support@cdebyte.com requesting either a schematic of their E73-2G4M04S module itself or a schematic for a demo circuit, so that I may be certain about adding the appropriate hardware needed to get their module to work. I'll post if I hear anything back from them.

              By the way, in the case of Raytac, they even have their own demo board: https://raytac.blog/2017/01/24/how-to-use-raytac-mdbt42q-nordic-nrf52832-demo-board/

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

                I saw this in the MDBT42Q module datasheet, and perhaps it explains the relatively poor performance of the nRF52832 Adafruit Feather which uses the MDBT42Q.:
                0_1500781343573_MBDT42Q_RAYTAC_MODULE.png
                I believe the Adafruit may have a much smaller ground plane than what is being recommended here by Raytac.

                M 1 Reply Last reply
                0
                • NeverDieN NeverDie

                  FWIW, I just now sent an email to support@cdebyte.com requesting either a schematic of their E73-2G4M04S module itself or a schematic for a demo circuit, so that I may be certain about adding the appropriate hardware needed to get their module to work. I'll post if I hear anything back from them.

                  By the way, in the case of Raytac, they even have their own demo board: https://raytac.blog/2017/01/24/how-to-use-raytac-mdbt42q-nordic-nrf52832-demo-board/

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

                  @NeverDie

                  I requested the schematic for the cdebyte module too...but they replied: it's confidential - LOL.

                  NeverDieN scalzS 2 Replies Last reply
                  0
                  • mtiutiuM mtiutiu

                    @NeverDie

                    I requested the schematic for the cdebyte module too...but they replied: it's confidential - LOL.

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

                    @mtiutiu
                    How long did it take them to reply to you?

                    I guess we may have to reverse engineer what they did then--at least roughly--in order to use it. I'll see if I can pry the cover off and photograph what's inside. If I'm successful, then I'll post the photos so we can all look at it together.

                    mtiutiuM 1 Reply Last reply
                    1
                    • NeverDieN NeverDie

                      @mtiutiu
                      How long did it take them to reply to you?

                      I guess we may have to reverse engineer what they did then--at least roughly--in order to use it. I'll see if I can pry the cover off and photograph what's inside. If I'm successful, then I'll post the photos so we can all look at it together.

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

                      @NeverDie

                      About 6 hours. I asked them too if the Nordic datasheet recommendations were followed or not and if they can provide an example of how to use the module.

                      NeverDieN 1 Reply Last reply
                      1
                      • mtiutiuM mtiutiu

                        @NeverDie

                        About 6 hours. I asked them too if the Nordic datasheet recommendations were followed or not and if they can provide an example of how to use the module.

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

                        @mtiutiu said in nRF5 Bluetooth action!:

                        if they can provide an example of how to use the module

                        What was their answer to that, or is it still pending? I don't mind them being a black box, provided they show how to use it.

                        mtiutiuM 1 Reply Last reply
                        0
                        • mtiutiuM mtiutiu

                          @NeverDie

                          I requested the schematic for the cdebyte module too...but they replied: it's confidential - LOL.

                          scalzS Offline
                          scalzS Offline
                          scalz
                          Hardware Contributor
                          wrote on last edited by
                          #309

                          @mtiutiu said in nRF5 Bluetooth action!:

                          @NeverDie

                          I requested the schematic for the cdebyte module too...but they replied: it's confidential - LOL.

                          this one is funny, like if there was something special in their module :laughing:

                          1 Reply Last reply
                          1
                          • NeverDieN NeverDie

                            @mtiutiu said in nRF5 Bluetooth action!:

                            if they can provide an example of how to use the module

                            What was their answer to that, or is it still pending? I don't mind them being a black box, provided they show how to use it.

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

                            @NeverDie
                            Didn't replied yet. When I get an answer I'll post it here so no worries.

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

                              Here's a photo with the lid pried off:
                              0_1500809442008_photo1.jpg
                              Maybe we can reconstruct what's going on just from looking at the components and the trace lines? At least for now, I'm not so concerned with the RF part.

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

                                Here's a photo taken from the opposite angle:
                                0_1500810101142_photo2.jpg

                                Any other photos anyone wants to see?

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

                                  Here's the back:
                                  0_1500810836390_photo3.jpg
                                  So, is it 4 layer as they claim, or only 2? Some of those vias seem rather pointless if it were only 2 layer.

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

                                    So, to Scalz's earlier point, it looks like indeed there is no capacitor already on DEC1. Regarding DEC2, it appears that there are pads and solder paste for a capacitor, but the capacitor appears to be missing! Manufacturing error?

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

                                      @NeverDie
                                      cool. well you just have to check continuity.
                                      Yes this a 4layers. better for compact RF imho, else worse performance, EMI etc.. I think it's also easier to get FCC with 4layers design (not sure if this module is FCC though)

                                      My bad, i've just reread what i wrote. With nrf52 ic, I've rechecked, I'm using:

                                      • DEC1: 100nf
                                      • DEC2: nothing
                                      • DEC3: 100pf
                                      • DEC4: 1uF (and you add inductors with DCC, for DC/DC mode but it can decrease 1dB if i remember well)
                                      NeverDieN 1 Reply Last reply
                                      2
                                      • scalzS scalz

                                        @NeverDie
                                        cool. well you just have to check continuity.
                                        Yes this a 4layers. better for compact RF imho, else worse performance, EMI etc.. I think it's also easier to get FCC with 4layers design (not sure if this module is FCC though)

                                        My bad, i've just reread what i wrote. With nrf52 ic, I've rechecked, I'm using:

                                        • DEC1: 100nf
                                        • DEC2: nothing
                                        • DEC3: 100pf
                                        • DEC4: 1uF (and you add inductors with DCC, for DC/DC mode but it can decrease 1dB if i remember well)
                                        NeverDieN Offline
                                        NeverDieN Offline
                                        NeverDie
                                        Hero Member
                                        wrote on last edited by NeverDie
                                        #316

                                        @scalz
                                        Both DEC3 and DEC4 appear to have capacitors on them. So, maybe it was the missing capacitor on DEC2 that's the reason for the module not seeming to work. I suppose I could crack another one open to see if the missing cap was a fluke or instead likely missing on most/all of them.

                                        Obviously, short of removing and testing each smd cap, I can't be sure as to what values eByte is using. I hope it doesn't come to that.... On the other hand, I could possibly remove and test the 3 on scalz's list that are of interest.

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

                                          OK, I just pried off the lid on a different module and.... the same DEC2 cap is missing. However, according to scalz's new list that shouldn't matter.

                                          I'll need to check continuity to see if the DEC1 cap is really not there or rather simply appearing elsewhere due to the routing.

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


                                          26

                                          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