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. OpenHardware.io
  3. πŸ’¬ My simple RFM dongle for Serial GW

πŸ’¬ My simple RFM dongle for Serial GW

Scheduled Pinned Locked Moved OpenHardware.io
usbloraatsha204aatsamrfm9532bitrfm69long rangedongle
38 Posts 12 Posters 12.1k Views 8 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
    #7

    thx thx :) some people plays clash of ***, between two things, I play another geek things lol
    that's always very nice to hear this from you guys :) but I'm sure you have nice secret gizmo or piece of software in progress ;) btw it seems a great book. I have some trouble for sleeping, that may be better than some medicine, lol I'm still noob&eager to learn :laughing:

    GertSandersG 1 Reply Last reply
    1
    • scalzS scalz

      thx thx :) some people plays clash of ***, between two things, I play another geek things lol
      that's always very nice to hear this from you guys :) but I'm sure you have nice secret gizmo or piece of software in progress ;) btw it seems a great book. I have some trouble for sleeping, that may be better than some medicine, lol I'm still noob&eager to learn :laughing:

      GertSandersG Offline
      GertSandersG Offline
      GertSanders
      Hardware Contributor
      wrote on last edited by
      #8

      @scalz
      Here is a link to these cables + connector
      http://www.aliexpress.com/item/10SET-Mini-Micro-SH-1-0-5-Pin-JST-Female-Connector-Male-Connector-with-Wires-Cables/32609832288.html?spm=2114.30010308.3.19.ES5AXK&ws_ab_test=searchweb201556_8,searchweb201602_3_10017_10005_10006_10034_10021_507_10022_10020_10018_10019,searchweb201603_2&btsid=4029575e-f69f-496c-af86-7ea1abfbc44e

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

        @GertSanders you're right, I will add it ;) I was sure I would have to add this option! thx for feedback.
        maybe you will try it who knows!
        your board is nice too, tempting to try it :)

        KoreshK 1 Reply Last reply
        0
        • hekH hek

          You guys are so darn productive!

          Wish I could design hardware myself.. I should really start reading the The Art of Electronics book that's been laying on my bedside table for more than 6 months...

          KoreshK Offline
          KoreshK Offline
          Koresh
          Contest Winner
          wrote on last edited by
          #10

          @hek I recommend read both books :wink:
          alt text

          1 Reply Last reply
          1
          • scalzS scalz

            @GertSanders you're right, I will add it ;) I was sure I would have to add this option! thx for feedback.
            maybe you will try it who knows!
            your board is nice too, tempting to try it :)

            KoreshK Offline
            KoreshK Offline
            Koresh
            Contest Winner
            wrote on last edited by
            #11

            @scalz
            Nice work!
            But I'm very interested some details... Did you check mysensors library (and all dependencies, so overall system) on Smart atmel (SAM D family) MCUs (work and stability)?
            I can't see swd pins on the board. What kind of programming tools do you use for these MCU's?
            Thanks!

            1 Reply Last reply
            0
            • TheoLT Offline
              TheoLT Offline
              TheoL
              Contest Winner
              wrote on last edited by
              #12

              I'm reading a fantastic book "The Maker Movement manifesto" (http://www.techshop.ws/images/0071821139 Maker Movement Manifesto Sample Chapter.pdf).

              I think you'll gonna love this book. Since we're all makers, maybe @GertSanders and @AWI can share a bit of their hardware building skills to the other Belgium and Dutch speakers, during the (summer) meetup? I'd really love to learn at least how to make a descent print lay-out. Hence I'll buy you all a cold beer in return. But only after the lectures ;-)

              GertSandersG 1 Reply Last reply
              0
              • carlierdC Offline
                carlierdC Offline
                carlierd
                wrote on last edited by
                #13

                Very nice design !!

                One question, do you sleep ? I know the answer : no !!! ;)

                TheoLT 1 Reply Last reply
                0
                • carlierdC carlierd

                  Very nice design !!

                  One question, do you sleep ? I know the answer : no !!! ;)

                  TheoLT Offline
                  TheoLT Offline
                  TheoL
                  Contest Winner
                  wrote on last edited by
                  #14

                  @carlierd Sleep is overrated .

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

                    ahaha!

                    @Koresh thx :) I just would like to say, I don't consider myself as an electronician!

                    Let me explain my way, and please tell me if I'm doing wrong. I want to learn :)

                    The truth, is I started to learn microchip 10years ago because I needed it. So I'm very new at atmel. I understand about stability of circuit, the software stuff too.. So, what do you mean by work and stability??? I'm from software dev originally..

                    But when I design I always try

                    • to follow reference design : e.g. already made schematics (thx to opensource), datasheet, appnotes,
                    • to understand what it does, add my things, hack it to have the better circuit I am able..
                    • If I don't find my answer, I ask to my dad ;) Thx to him, he's electronician :) not RF expert..
                    • when I have all my personal reference schematics, that's faster then, like a lib, just few hacks
                    • about routing, I read articles too, how to make things good, about mixed, or escaping strategy etc.
                    • in software, same thing. no hidden thing, always an answer.
                    • finally, I think I should be more stable&reliable than something veroboard or wire arduino clone style. imho.

                    But maybe you are mentioning the RF part which is not my best part ;) And I never practised it during my microchip sessions. So thx to iot, I have just started to learn some basics on RF...just good to know all the stuff about impedance matching, routing..and I iterate, iterate...lol

                    So, warning!! this is for advanced! I share for fun :)

                    About this board:

                    • there are round smd pads (2.54mm pitch) which are : RST, GND, 3.3V, SWCLK, SWDIO. Program it by pogopin. I use a Segger J-Link OB for programming bootloader. USB for bootloading.
                    • this board comes from another board I have made (in testing):
                      http://forum.mysensors.org/topic/3551/my-32bits-atsam-node-project
                    • I have made my variant board in arduino ide.

                    My tests :

                    • not fully tested but on a good way, sorry for my lora still on my desk, so I won't order this one if I'm not sure ;) But I have followed a working pinmapping for the lora part, so I should not have too much surprise. I will boost on this..
                    • I only tested basic raw examples yet, that I mix and hack a bit just for POC. Then it's just a matter of time/software for integration in Mysensors! Plus I know that @tbowmo has already something working Mysensors+atsam. So with a little help and labour I should be able to pack all my things, I hope ;) Because for the moment I have my mysensors stuff in the jumble, and I don't want to add variables...

                    I hope you're ok with this? Thx for your feedback and don't hesitate to tell me if I am wrong. I will add schematic and order it asap.

                    1 Reply Last reply
                    0
                    • KoreshK Offline
                      KoreshK Offline
                      Koresh
                      Contest Winner
                      wrote on last edited by Koresh
                      #16

                      Thanks for so detailed answer!!!

                      So, what do you mean by work and stability???

                      I just mean, that arduino zero is new platform and I didn't try it :) I've just interested how stable arduino code works on SAM D :)

                      use a Segger J-Link OB for programming bootloader.

                      OK! I am loking a cheap programmer for this mcu now :)

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

                        @Koresh lol, I'm reassured! yep you can find cheap programmer, just two swd pins needed :) For the moment, I like this SAMD. but still can't wait esp32 ;)

                        KoreshK 1 Reply Last reply
                        0
                        • scalzS scalz

                          @Koresh lol, I'm reassured! yep you can find cheap programmer, just two swd pins needed :) For the moment, I like this SAMD. but still can't wait esp32 ;)

                          KoreshK Offline
                          KoreshK Offline
                          Koresh
                          Contest Winner
                          wrote on last edited by
                          #18

                          @scalz said:

                          @Koresh lol, I'm reassured! yep you can find cheap programmer, just two swd pins needed :) For the moment, I like this SAMD. but still can't wait esp32 ;)

                          I'm ganna use ST-link :wink:

                          1 Reply Last reply
                          0
                          • TheoLT TheoL

                            I'm reading a fantastic book "The Maker Movement manifesto" (http://www.techshop.ws/images/0071821139 Maker Movement Manifesto Sample Chapter.pdf).

                            I think you'll gonna love this book. Since we're all makers, maybe @GertSanders and @AWI can share a bit of their hardware building skills to the other Belgium and Dutch speakers, during the (summer) meetup? I'd really love to learn at least how to make a descent print lay-out. Hence I'll buy you all a cold beer in return. But only after the lectures ;-)

                            GertSandersG Offline
                            GertSandersG Offline
                            GertSanders
                            Hardware Contributor
                            wrote on last edited by
                            #19

                            @TheoL
                            Huh ? Did someone say beer ?

                            1 Reply Last reply
                            3
                            • DwaltD Offline
                              DwaltD Offline
                              Dwalt
                              wrote on last edited by
                              #20

                              Nice to see ATSHA204A included. Could this be used as a gateway on a USB port? I am not familiar within SAMD, but how does this work without USB to serial chip?

                              Veralite UI5 :: IBoard Ethernet GW :: MyS 1.5

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

                                @Dwalt
                                yep atsha204A is a Mysensors classic, and a very nice feature :) I feel better secured now, thx Anticimex :laughing:
                                Yes it will be possible. There is already a better different GW from tbowmo. But I didn't see my option here, so I did it, and if sometimes I need something simple...or want to make a gift lol
                                SAMD includes internal USB drivers. So it can be used as a client USB, or like CDC serial comm (Virtual Serial Port). So no need of usb to serial; cool :)

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

                                  @Dwalt

                                  It acts as a serial device on the USB port. I have a GW running with atsamd21J (bigger brother to the one @scalz are using). Been using both USB and ethernet to connect to the device.

                                  The nice thing of an embedded USB controller, versus an external usb to serial device, is that you can make your device act as whatever usb device you want. For example make it a mass memory device, or a mouse / keyboard (HID). The sky is the limit :)

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

                                    mini update..
                                    So thx to @GertSanders and his ideas! Again I had to challenge myself yesterday :laughing:
                                    I have updated description but briefly I have added:

                                    • enlarged a little bit :disappointed:
                                    • 2x 1.0mm pitch connector; one for I2C+1pin in case, and another one for JTAG programming bootloader (this was pogo pins but as averything is on top, I feel more secure with a true connector)
                                    • eeprom
                                    • routing and silkscreen
                                    • now, usb connector is no mandatory, but I prefer with it..

                                    still very few things to make looking better and I upload my files :)

                                    1 Reply Last reply
                                    0
                                    • KoreshK Offline
                                      KoreshK Offline
                                      Koresh
                                      Contest Winner
                                      wrote on last edited by
                                      #24

                                      RFM69 has built-in authentication, is atsha chip really needed?

                                      1 Reply Last reply
                                      0
                                      • hekH Offline
                                        hekH Offline
                                        hek
                                        Admin
                                        wrote on last edited by hek
                                        #25

                                        No, it got build in encryption. Not the same.

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

                                          rfm69 has encryption which just hide your data. it's bonus and useful, but it does not provide key authentication, handled by athsa. imho, authentication is more important. I should receive my pcb soon now..this time, oshpark has been a bit longer than usual for my order :disappointed:

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


                                          21

                                          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