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 631.0k 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 Offline
    M Offline
    Mike_Lemo
    wrote on last edited by
    #296

    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 1 Reply Last reply
    1
    • M Mike_Lemo

      you should follow this schematic design if you want to get this module working.

      0_1500734955886_Schematic-MDBT42Q Demo Board.png

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

      @Mike_Lemo said in nRF5 Bluetooth action!:

      you should follow this schematic design if you want to get this module working.

      0_1500734955886_Schematic-MDBT42Q Demo Board.png

      There's a bunch of similar looking schematics in the nRF52832 datasheet for the nRF52832 chip itself, but I'm not sure which of them, if any, is applicable to the Ebyte module. I guess maybe Ebyte needs a demo board schematic like Raytac has. Either that, or we need a schematic of what's on the Ebyte module itself. As it stands, I think maybe there's no enough info with which to move ahead on wiring up the Ebyte module. Am I wrong? Come to think of it, I think some of the other Chinese modules I ordered from Aliexpress may also be similar "mystery" modules. :(

      1 Reply Last reply
      0
      • 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
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          18

                                          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