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.
  • 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
      • scalzS Offline
        scalzS Offline
        scalz
        Hardware Contributor
        wrote on last edited by scalz
        #27

        I have just assembled one board, and I'm testing it.
        so far I'm pretty happy. as expected, it's communicating with my other "zero" board ( the other white board, lipo etc..). yeah :)

        I've not tried lorawan yet, I'm just using basic raw routines for radio communication between the two nodes (a part from LMIC library). and I will try lowpowerlab rev too when more time as I'm busy on other cool gizmos :) and then, if not already done, will try to integrate into mysensors transport. ughh, I don't know when, quite lot of work!

        0_1463687336163_2016-05-19_21-35-07.jpg

        0_1463687345049_2016-05-19_21-35-08.jpg

        you can see I have not received i2c eeprom yet, and my jst connectors too! too bad, so I sodered temporary wire for jtag :) in case..I'm using RFM95W 868mhz, only with whip wire antenna for the moment, I have not tried the sma, nor rfm69hcw. that will be next step after having checked the range like this..

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

          and playing a bit with 3d design..
          0_1463743312232_usb_dongle_custom_box.PNG

          yummy :)

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

            few other pics, a bit better quality :blush:

            I've not used oven this time. just handsoldered. 0603. I've not tried yet, to use pcb only for plugging (without connector), I will do (it could be smaller) but I prefer/more confident with a connector.
            0_1463761550575_20160520_1646271.jpg
            0_1463761570655_20160520_1646012.jpg

            funny and tiny, not so much feature, there are other boards with more pins but I wanted this one simple, with minimal mysensors things, when I will receive my jst, I will have more pins like i2c. but for the moment, I like it :) connected directly in usb without wire, playing with arduino, neopixel, serial and radio etc..like a child :)

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

              I'm playing with radiohead lib now. nothing special but that works well too :)
              0_1463904327814_2016-05-22_09-53-53.jpg
              I have looked a bit at LMIC (radio management+protocol), for curiosity. I like the the "rtos" style, it's well done, sure, but it's mostly another protocol... there are nice things though.

              I think, the best, imho, would be to extract radiohead rfm95 driver and make something like rfm69 lowpowerlab lib. Or trying to add radiohead to mysensors..In each case, that is some stuff&debug.

              Now, I would like to have my lora nodes in mysensors...so what's next?...no, no, don't say what i haven't said ... :laughing:

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

                @scalz
                You could look have a look at the new minimal rf24-driver made by @tekka. It contains the bare minimal needed for communicating.

                If the radiohead/rfm95 driver can be transformed into something similar, then go ahead. :)

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

                  @hek
                  I have looked at Tekka lib, thx :)
                  For convenience, for the moment ;), I have almost repackaged radiohead and rfm95 parts into something "standalone" (like lowpowerlab certainly did for rfm69). I keep from radiohead a few more getter/setters because I like it lol.

                  Basic things compiling&working, argh not in mysensors yet, as I'm still on the driver part. I'm trying to follow a bit the lowpowerlab flow, so it will be easier then for a rfm95transport. Still lot of things to check, wip..but for the moment, for a simple raw reliable (sendWithretry) sketch, I get something 17% flash, 25% ram for a 328p...compared to 49%/80% using radiohead lib. I hope things won't grow too much, I will try to get things compact as I can ;)

                  Though, there were interesting things in radiohead lib:

                  • the way it's structured (a bit like mysensors, with a radio driver, spi and more general/generic layer).
                  • I have not tested it but you can handle multiple int and radio for instance.

                  It was a bit of work to navigate in, to be sure to not forgive something, not a nightmare lol hopefully radiohead has a great and well done documentation.
                  Talking about this..do you have a doc like this for mysensors, for the description and class hierarchy? just curious :)

                  See you soon

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

                    Yes we have, but it relies on contributors using doxygen (and only parts of the current code is documented properly).

                    https://ci.mysensors.org/job/MySensorsArduino/branch/development/Doxygen_HTML/

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

                      @hek
                      ok. I saw this before, but didn't know where it was located. great, thx :)
                      so I will install a doxygen plugin ;) I will try to add the docs. In code it's always useful, but like doxygen does is the next step I was searching for. I was pretty sure there was something like this: doxygen lol! I will sleep less dumb tonight :laughing:

                      1 Reply Last reply
                      0
                      • GertSandersG Offline
                        GertSandersG Offline
                        GertSanders
                        Hardware Contributor
                        wrote on last edited by
                        #35

                        As I see the development based on SAMD21 enfold, the behaviour brain I'm building for my mobile robot would be better based on that processor instead of the atmega1284p I'm using now.

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

                          I have just assembled another one for a friend. Works very well with mysensors 2 :)
                          0_1468163482216_gw_dongle.jpg
                          Same pcb for the two's of course, I like the rgb led with the indication led api ;):

                          • on left, long range RFM95 GW usb dongle.
                          • on right, RFM69 High power GW usb dongle.
                          • bottom, a multisensors I have just assembled.
                          1 Reply Last reply
                          4
                          • MiKaM Offline
                            MiKaM Offline
                            MiKa
                            wrote on last edited by
                            #37

                            Hi,
                            Can You share sketch example for SAMD21E and RFM69 node?
                            MiKa

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

                              @MiKa
                              Hi.
                              oki, in case i'll add some explanation.. I'll be busy for this week but you can simply use the serial gw example from MySensors for getting started, this should work. I didn't need to create a special board in arduino for this board, so if you're using it, you'll need to install&use the mattairtech SAMD21 board definition for the pin mapping.
                              https://github.com/mattairtech/ArduinoCore-samd

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


                              12

                              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