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.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.
  • NeverDieN Offline
    NeverDieN Offline
    NeverDie
    Hero Member
    wrote on last edited by NeverDie
    #12

    On the other hand, at least during development, it seems a shame to lose the USB connection. I suppose maybe (?) the USB could be pumped through some kind of external 5v to 3.3v level shifter, and then I wouldn't need to put voltage converters on the board itself. It wouldn't any longer meet the official USB spec, but maybe it would work just the same. That in turn would help reduce the size and costs. Never tried that before with USB though, so it's an unknown to me as to whether it would work or not.

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

      I can probably make it a bit more compact, but without the USB, this will be the approximate shape of it: 0_1496774768997_SAMD21_TQFP32_Breakout_v003.pdf

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

        The whole thing is less than one square inch in size, so I went ahead and ordered the non-usb version from osh-park:
        0_1496788808544_samd21_top_v3.png 0_1496788851458_samd21_bottom_v3.png

        The silkscreen could be better, but it's good enough to test whether or not it's going to fly.

        It appears there's plenty of space at the bottom for adding a USB connector, so I guess that will be next....

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

          I don't see any decoupling capacitors or ferrite beads on the USB data circuit. According to the schematic ( https://cdn.sparkfun.com/datasheets/Dev/Arduino/Boards/sparkfun-samd21-mini-breakout-v10.pdf), USB_D- and USB_D+ just connect directly to pins PA24 and PA25 on the MCU.

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

            What size pads are you guys using for your SAMD21 land pattern? Mine don't look right. The SAMD21 datasheet didn't actually give a land pattern. It just gave the size of the legs, and so I just made up a land pattern that was close to that. Looks too small compared to others that I'm seeing (e.g. on the Hackaday).

            NeverDieN 1 Reply Last reply
            0
            • NeverDieN NeverDie

              What size pads are you guys using for your SAMD21 land pattern? Mine don't look right. The SAMD21 datasheet didn't actually give a land pattern. It just gave the size of the legs, and so I just made up a land pattern that was close to that. Looks too small compared to others that I'm seeing (e.g. on the Hackaday).

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

              @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

              What size pads are you guys using for your SAMD21 land pattern? Mine don't look right. The SAMD21 datasheet didn't actually give a land pattern. It just gave the size of the legs, and so I just made up a land pattern that was close to that. Looks too small compared to others that I'm seeing (e.g. on the Hackaday).

              Nevermind. I found the answer on page 10 of http://www.atmel.com/Images/Atmel-8826-SEEPROM-PCB-Mounting-Guidelines-Surface-Mount-Packages-ApplicationNote.pdf

              1 Reply Last reply
              0
              • NeverDieN NeverDie

                I don't see any decoupling capacitors or ferrite beads on the USB data circuit. According to the schematic ( https://cdn.sparkfun.com/datasheets/Dev/Arduino/Boards/sparkfun-samd21-mini-breakout-v10.pdf), USB_D- and USB_D+ just connect directly to pins PA24 and PA25 on the MCU.

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

                @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                I don't see any decoupling capacitors or ferrite beads on the USB data circuit. According to the schematic ( https://cdn.sparkfun.com/datasheets/Dev/Arduino/Boards/sparkfun-samd21-mini-breakout-v10.pdf), USB_D- and USB_D+ just connect directly to pins PA24 and PA25 on the MCU.

                I saw that on the Adafruit board I think, and on the SenseBender gateway.

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

                  you should not add decoupling /ferite beads to the D+/D- lines.. At most, add a protection resistor of 30R (or there about) inline, to limit current flow. Also you can add a USB protection circuit with diodes externally..

                  The ferite bead / capacitors on the sensebender, is between the cable shield, and gnd on the device, to limit EMI on the cable shielding..

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

                    Just realizing that if I'm going to hand patch the 4 SWD wires onto the board anyway, then I really don't need an SWD block. Consequently, I'm now thinking the Hackaday guy had the right idea with making his entire node the width of a USB connector:
                    alt text

                    TerrenceT NeverDieN 2 Replies Last reply
                    0
                    • NeverDieN NeverDie

                      Just realizing that if I'm going to hand patch the 4 SWD wires onto the board anyway, then I really don't need an SWD block. Consequently, I'm now thinking the Hackaday guy had the right idea with making his entire node the width of a USB connector:
                      alt text

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

                      @NeverDie >> I'm now thinking the Hackaday guy had the right idea with making his entire node the width of a USB connector:

                      Really good idea. Just plug it into your box.

                      NeverDieN 1 Reply Last reply
                      0
                      • TerrenceT Terrence

                        @NeverDie >> I'm now thinking the Hackaday guy had the right idea with making his entire node the width of a USB connector:

                        Really good idea. Just plug it into your box.

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

                        @Terrence
                        Yes, and by making the node the width of a USB connector, there's no wasted PCB that you'd get if the PCB were wider.

                        TerrenceT 1 Reply Last reply
                        0
                        • NeverDieN NeverDie

                          @Terrence
                          Yes, and by making the node the width of a USB connector, there's no wasted PCB that you'd get if the PCB were wider.

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

                          @NeverDie Event though there seem to be many benefits to going narrow, what about enclosure sizes, where longer may not be as good as a smaller square?

                          NeverDieN 1 Reply Last reply
                          1
                          • TerrenceT Terrence

                            @NeverDie Event though there seem to be many benefits to going narrow, what about enclosure sizes, where longer may not be as good as a smaller square?

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

                            @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

                            @NeverDie Event though there seem to be many benefits to going narrow, what about enclosure sizes, where longer may not be as good as a smaller square?

                            I'll cross that bridge if I come to it. :)

                            Meanwhile, what I'm wondering is: just how wide should the PCB be? I tried looking up USB dimensions, but I get conflicting info:
                            alt textalt textalt text

                            I also tried measuring some with a micrometer. I think it's going to be something around 12mm. My PCB needs to be a minimum of 12.12mm wide in order to avoid pads of the SAMD21 being too close to the edge of the PCB. Is that too wide, or is it within tolerance?

                            1 Reply Last reply
                            0
                            • gohanG Offline
                              gohanG Offline
                              gohan
                              Mod
                              wrote on last edited by
                              #25

                              Maybe you can file the pcb near the usb connector if it is too wide 😀

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

                                i saw this board too, it's nice one ;) and we can see there is nothing for usb... no fuse, no esd protection, and you touch it and play with it when it's plugged.
                                I know this works like this, i did it too for proto. i think maybe computers usb ports are perhaps better protected now, but who knows what can happen, so on my side i prefer to have some basic security to not fry my usb ports :grimacing:
                                If you're doing a proto, this pcb size should be ok, but if it's for using with a radio, especially RFM, then the radio module is wider than the board. I know it because i made my atsam RFM dongle for serial gw.

                                Last advice if i can :), it's a good practice, to route usb datalines in a // way, and like differential lines, meaning they should be almost the same length (with a few % error). That will work sure, without too much care on a small board like that, but still good to know. you should have a tool in your CAD software for this.

                                NeverDieN 1 Reply Last reply
                                2
                                • scalzS scalz

                                  i saw this board too, it's nice one ;) and we can see there is nothing for usb... no fuse, no esd protection, and you touch it and play with it when it's plugged.
                                  I know this works like this, i did it too for proto. i think maybe computers usb ports are perhaps better protected now, but who knows what can happen, so on my side i prefer to have some basic security to not fry my usb ports :grimacing:
                                  If you're doing a proto, this pcb size should be ok, but if it's for using with a radio, especially RFM, then the radio module is wider than the board. I know it because i made my atsam RFM dongle for serial gw.

                                  Last advice if i can :), it's a good practice, to route usb datalines in a // way, and like differential lines, meaning they should be almost the same length (with a few % error). That will work sure, without too much care on a small board like that, but still good to know. you should have a tool in your CAD software for this.

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

                                  @scalz said in Minimalist SAMD21 TQFP32 Pro Mini:

                                  if it's for using with a radio, especially RFM, then the radio module is wider than the board.

                                  Good point. That might make connecting it a bit difficult! I suppose this form factor is a better match for a surface mount NRF24.

                                  1 Reply Last reply
                                  1
                                  • NeverDieN NeverDie

                                    Just realizing that if I'm going to hand patch the 4 SWD wires onto the board anyway, then I really don't need an SWD block. Consequently, I'm now thinking the Hackaday guy had the right idea with making his entire node the width of a USB connector:
                                    alt text

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

                                    @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                                    Just realizing that if I'm going to hand patch the 4 SWD wires onto the board anyway, then I really don't need an SWD block. Consequently, I'm now thinking the Hackaday guy had the right idea with making his entire node the width of a USB connector:
                                    alt text

                                    I notice that the Hackaday guy's labeling of D- and D+ as pins 28 and 29 conflicts with what Sparkfun has. Sparkfun has those as pins PA24 and PA25 respectively. Is he wrong? I know from direct experience that the Sparkfun board works, so for now I'm going with the Sparkfun pin mapping.

                                    I hear that the PIC MCU chips have a switching fabric that allows you to map any logical pin to any physical pin. I wish the Atmel chips had that. Do maybe these ARM chips have some of that as well?

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

                                      yes it depends what ARM mcu you use, some have more freedom regarding pin mapping and peripherals, but atsam can do that too. Very useful.
                                      There are some rules for atsam how to change the mapping for spi or other periph, versus arduino core files and datasheet. But if you don't want to dig in that, you can just follow a mapping from a board which already exists in Board manager.

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

                                        I finished the first pass, and it looks as though everything will fit:
                                        0_1496947558417_sam32d_top_v008.png 0_1496947562955_sam32d_bottom_v008.png

                                        A bit more work to do, but this is the approximate form it would take.

                                        TerrenceT 1 Reply Last reply
                                        0
                                        • NeverDieN NeverDie

                                          I finished the first pass, and it looks as though everything will fit:
                                          0_1496947558417_sam32d_top_v008.png 0_1496947562955_sam32d_bottom_v008.png

                                          A bit more work to do, but this is the approximate form it would take.

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

                                          @NeverDie NRF or RFM?

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


                                          0

                                          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