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 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
            • TerrenceT Terrence

              @NeverDie NRF or RFM?

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

              @Terrence said in Minimalist SAMD21 TQFP32 Pro Mini:

              @NeverDie NRF or RFM?

              Neither. This is just the MCU. If I can get it to run blink, then as a next step I'll add a radio.

              It's basically a subset of the sparkfun board, but in a different form factor, with a different USB, and all in 2-layer rather than 4-layer. This will be my first ARM board, so I'm just trying to keep it as simple as possible. The razzmatazz can come later.

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

                I polished up the USB and re-positioned the headers so they'd fit on a breadboard:
                0_1496971659835_sam32d_top_v010.png 0_1496971668079_sam32d_bottom_v0010.png

                The irony is: after having done all that, I can now more clearly see that it's just not a very efficient form factor. I think for future versions I'll make it not so narrow.

                TerrenceT 1 Reply Last reply
                0
                • NeverDieN NeverDie

                  I polished up the USB and re-positioned the headers so they'd fit on a breadboard:
                  0_1496971659835_sam32d_top_v010.png 0_1496971668079_sam32d_bottom_v0010.png

                  The irony is: after having done all that, I can now more clearly see that it's just not a very efficient form factor. I think for future versions I'll make it not so narrow.

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

                  @NeverDie It is an interesting exploration. It seems you don't see it until you get there.

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

                    I just now sent this to OSH Park:
                    0_1497002095686_sam32d_top_v011.png 0_1497002112110_sam32d_bottom_v0011.png
                    to see whether or not it works. I still don't know how many uH are the value for the one inductor that Sparkfun used though. Any guesses?

                    Nca78N 1 Reply Last reply
                    0
                    • NeverDieN NeverDie

                      I just now sent this to OSH Park:
                      0_1497002095686_sam32d_top_v011.png 0_1497002112110_sam32d_bottom_v0011.png
                      to see whether or not it works. I still don't know how many uH are the value for the one inductor that Sparkfun used though. Any guesses?

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

                      @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                      I still don't know how many uH are the value for the one inductor that Sparkfun used though. Any guesses?

                      I see no inductor on Sparkfun's schematic ? Only a 30 Ohm ferrite bead.

                      NeverDieN 1 Reply Last reply
                      1
                      • Nca78N Nca78

                        @NeverDie said in Minimalist SAMD21 TQFP32 Pro Mini:

                        I still don't know how many uH are the value for the one inductor that Sparkfun used though. Any guesses?

                        I see no inductor on Sparkfun's schematic ? Only a 30 Ohm ferrite bead.

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

                        @Nca78

                        Thanks! I guessing this part should do the business then: https://www.digikey.com/product-detail/en/wurth-electronics-inc/742792601/732-4659-1-ND/4310409

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

                          Argh. For only a little more than what I paid for the Sparkfun SamD21, I couldn't have gotten the same MCU with an RFM69HCW! And it's already on a 2-layer board, not a 4-layer board:
                          https://www.adafruit.com/product/3176
                          https://www.amazon.com/Adafruit-Feather-RFM69HCW-Packet-Radio/dp/B01K62LWBC/ref=sr_1_1?ie=UTF8&qid=1497022595&sr=8-1&keywords=Adafruit+Feather+M0+RFM69HCW

                          <insert facepalm icon> I should have started with that instead, because that's already probably close to what I'll end up with.

                          TerrenceT 1 Reply Last reply
                          0
                          • Nca78N Offline
                            Nca78N Offline
                            Nca78
                            Hardware Contributor
                            wrote on last edited by
                            #39

                            It's a very good price. If you do it yourself you have a 3$ MCU, 3$+ radio, 1$ PCB and a few US$ for other components (like lipo charger). Leaving only 10$ left for assembly but if you do it yourself you need a lot of time even with a stencil.

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

                              And believe it or not, the LoRa version can be had for as little as $15.99 each with Prime delivery:
                              https://www.amazon.com/gp/product/B01LHTU14W/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

                              Yeah, at that price I think this becomes a buy, not build, decision.

                              Nca78N 1 Reply Last reply
                              0
                              • NeverDieN NeverDie

                                And believe it or not, the LoRa version can be had for as little as $15.99 each with Prime delivery:
                                https://www.amazon.com/gp/product/B01LHTU14W/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1

                                Yeah, at that price I think this becomes a buy, not build, decision.

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

                                @NeverDie be careful this is a "featherwing" = "shield" style board that you add to the basic "feather" board.
                                So you need 20$ for feather board + 16$ for radio ... not so cheap anymore ;)

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

                                  if i remember well, the adafruit board is SAMD21G.

                                  Here another example, sort of feather i made a while for testing SAMD21E. The same it's rechargeable, and I added some features like a rgb led, sma connector for RFM69/95, flash, signing, MYSX etc..
                                  0_1497025803973_MyAtsamBoard.jpg
                                  mounted with a weather extension board i made. If there is an interest, i can clean a bit my files and upload it, it's working well ;)

                                  Nca78N NeverDieN 2 Replies Last reply
                                  2
                                  • scalzS scalz

                                    if i remember well, the adafruit board is SAMD21G.

                                    Here another example, sort of feather i made a while for testing SAMD21E. The same it's rechargeable, and I added some features like a rgb led, sma connector for RFM69/95, flash, signing, MYSX etc..
                                    0_1497025803973_MyAtsamBoard.jpg
                                    mounted with a weather extension board i made. If there is an interest, i can clean a bit my files and upload it, it's working well ;)

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

                                    @scalz said in Minimalist SAMD21 TQFP32 Pro Mini:

                                    If there is an interest

                                    There's interest here :D

                                    1 Reply Last reply
                                    1
                                    • scalzS scalz

                                      if i remember well, the adafruit board is SAMD21G.

                                      Here another example, sort of feather i made a while for testing SAMD21E. The same it's rechargeable, and I added some features like a rgb led, sma connector for RFM69/95, flash, signing, MYSX etc..
                                      0_1497025803973_MyAtsamBoard.jpg
                                      mounted with a weather extension board i made. If there is an interest, i can clean a bit my files and upload it, it's working well ;)

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

                                      @scalz
                                      I'm very interested too. It probably beats my bumbling attempts at making a Sam21DE18, and if it's already working well, what's not to like?

                                      1 Reply Last reply
                                      0
                                      • NeverDieN NeverDie

                                        Argh. For only a little more than what I paid for the Sparkfun SamD21, I couldn't have gotten the same MCU with an RFM69HCW! And it's already on a 2-layer board, not a 4-layer board:
                                        https://www.adafruit.com/product/3176
                                        https://www.amazon.com/Adafruit-Feather-RFM69HCW-Packet-Radio/dp/B01K62LWBC/ref=sr_1_1?ie=UTF8&qid=1497022595&sr=8-1&keywords=Adafruit+Feather+M0+RFM69HCW

                                        <insert facepalm icon> I should have started with that instead, because that's already probably close to what I'll end up with.

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

                                        @NeverDie I love the Feather boards. Currently working with the RFM69 feather. Build in battery connector/charger is very nice to have.

                                        NeverDieN 2 Replies Last reply
                                        0
                                        • scalzS Offline
                                          scalzS Offline
                                          scalz
                                          Hardware Contributor
                                          wrote on last edited by scalz
                                          #46

                                          @NeverDie @Nca78 oki noted!
                                          @Terrence yeah, agree too. i have assembled one for testing as it was new and not available. Unfortunately, regarding Mysensors use, there are no flash for ota (in case for future), no signing, no eeprom for routing table (atsam has no eeprom, only emulation if i remember), no sma connector ...

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


                                          13

                                          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