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. General Discussion
  3. Is ARM the future of MySensors?

Is ARM the future of MySensors?

Scheduled Pinned Locked Moved General Discussion
31 Posts 12 Posters 5.4k Views 15 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.
  • D DavidZH

    I certainly can see the appeal for the NRF5 series, which wil work perfect in areas with detached and terraced houses. But in Urban areas with lots of high rises the 2.4GHz band is a bit congested. So there another band will work much better.
    In that regard I fully agree with @nagelc to pray to your deity of choice for HopeRF to start integrating an MCU with the RFM, or Nordic to start exploring a different part of the ether.
    I have not set foot in the 'large' part of the MCU spectrum, but I have a Feather M0 in the house which will be the center of my new experiments.

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

    @davidzh said in Is ARM the future of MySensors?:

    to pray to your deity of choice for HopeRF to start integrating an MCU with the RFM

    Even doing that doesn't give you all the benefits that tighter integration onto one chip gives you. For instance, on the nRF5:

    1. You don't communicate over SPI. Instead, the radio can share pointers directly to memory using easyDMA. Much faster, which translates also to lower power consumption.
    2. You can manage the radio and do other tasks (albeit in a limited way) while the MCU sleeps using the Programmable peripheral interconnect (PPI). This is maybe something that's hard to appreciate until you've tried it, but I'm sold on it and would sorely miss it if forced to return to a non-integrated MCU and radio, even if they were co-located together on the same module.
    1 Reply Last reply
    3
    • D DavidZH

      I certainly can see the appeal for the NRF5 series, which wil work perfect in areas with detached and terraced houses. But in Urban areas with lots of high rises the 2.4GHz band is a bit congested. So there another band will work much better.
      In that regard I fully agree with @nagelc to pray to your deity of choice for HopeRF to start integrating an MCU with the RFM, or Nordic to start exploring a different part of the ether.
      I have not set foot in the 'large' part of the MCU spectrum, but I have a Feather M0 in the house which will be the center of my new experiments.

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

      @davidzh said in Is ARM the future of MySensors?:

      But in Urban areas with lots of high rises the 2.4GHz band is a bit congested.

      That's my case , there are 350 appartments in my building alone and my nrf24 network runs well, while my old 433MHz system regularly miss messages, that's why it will soon be replaced.

      NeverDieN D 2 Replies Last reply
      0
      • Nca78N Nca78

        @davidzh said in Is ARM the future of MySensors?:

        But in Urban areas with lots of high rises the 2.4GHz band is a bit congested.

        That's my case , there are 350 appartments in my building alone and my nrf24 network runs well, while my old 433MHz system regularly miss messages, that's why it will soon be replaced.

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

        @nca78 said in Is ARM the future of MySensors?:

        @davidzh said in Is ARM the future of MySensors?:

        But in Urban areas with lots of high rises the 2.4GHz band is a bit congested.

        That's my case , there are 350 appartments in my building alone and my nrf24 network runs well, while my old 433MHz system regularly miss messages, that's why it will soon be replaced.

        LoRa isn't as much affected by interference since it's spread spectrum.

        1 Reply Last reply
        0
        • alowhumA Offline
          alowhumA Offline
          alowhum
          Plugin Developer
          wrote on last edited by alowhum
          #10

          So is anyone thinking they will use the encryption features on a normal Arduino? Or is it, as I was thinking, that if you want to use encryption you'll have to upgrade?

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

            Simple encryption runs fine since it is mainly done by the radio chip

            1 Reply Last reply
            0
            • alowhumA alowhum

              So is anyone thinking they will use the encryption features on a normal Arduino? Or is it, as I was thinking, that if you want to use encryption you'll have to upgrade?

              AnticimexA Offline
              AnticimexA Offline
              Anticimex
              Contest Winner
              wrote on last edited by
              #12

              @alowhum if you only enable encryption (not signing) you can fit more into an atmga328p. Also, if you use a rfm69 radio, encryption is hw backed, so it require less flash space (thus potentially allow you to also fit signing).
              Furthermore, using a atsha204a means signing also take less of flash since some of the algorithms are hw backed.

              Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

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

                Well, regarding the OP, I think I read somewhere that development would largely move to ARM, and that at some point it would stop on the atmega. Not sure that I'm recalling it correctly though. Is it true?

                1 Reply Last reply
                0
                • alowhumA Offline
                  alowhumA Offline
                  alowhum
                  Plugin Developer
                  wrote on last edited by
                  #14

                  @anticimex: interesting.

                  This is my use case: all I want is that I put a password at the top of all my arduino files, and then my neighbours won't be able to receive my data because they don't have the password. That's encryption, right? At the moment anyone can pick up the values that my sensors are sending out into the city. And that's kinda creepy.

                  gohanG AnticimexA 3 Replies Last reply
                  0
                  • alowhumA alowhum

                    @anticimex: interesting.

                    This is my use case: all I want is that I put a password at the top of all my arduino files, and then my neighbours won't be able to receive my data because they don't have the password. That's encryption, right? At the moment anyone can pick up the values that my sensors are sending out into the city. And that's kinda creepy.

                    gohanG Offline
                    gohanG Offline
                    gohan
                    Mod
                    wrote on last edited by
                    #15

                    @alowhum I bet there are hundreds of people interested in your house temperature :sweat_smile:
                    Btw, yes that is encryption

                    alowhumA 1 Reply Last reply
                    0
                    • alowhumA alowhum

                      @anticimex: interesting.

                      This is my use case: all I want is that I put a password at the top of all my arduino files, and then my neighbours won't be able to receive my data because they don't have the password. That's encryption, right? At the moment anyone can pick up the values that my sensors are sending out into the city. And that's kinda creepy.

                      AnticimexA Offline
                      AnticimexA Offline
                      Anticimex
                      Contest Winner
                      wrote on last edited by
                      #16

                      @alowhum the simple password option is the simplest way of enabling security. At the same time it is the most expensive as it does not require personalization and therefore is pure software based (except for rfm69 encryption). So you need to trade simplicity for code size.
                      That said, once you have figured out personalization (and there is plenty documentation on the matter) it can easily be repeated, as long as you keep the sketch used to program the personalization data.

                      Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                      alowhumA 1 Reply Last reply
                      1
                      • alowhumA alowhum

                        @anticimex: interesting.

                        This is my use case: all I want is that I put a password at the top of all my arduino files, and then my neighbours won't be able to receive my data because they don't have the password. That's encryption, right? At the moment anyone can pick up the values that my sensors are sending out into the city. And that's kinda creepy.

                        AnticimexA Offline
                        AnticimexA Offline
                        Anticimex
                        Contest Winner
                        wrote on last edited by
                        #17

                        @alowhum also, the simple password option enable both signing and encryption so it takes up a lot of memory. If encryption is the only thing you want, just personalize the devices with an AES key and enable encryption only. It is not that good (fixed iv) and easily crackable by someone who has an idea about AES but it at least obfuscate your messages fairly well. Combined with signing it is better, but, again, that costs memory.

                        Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                        1 Reply Last reply
                        1
                        • AnticimexA Anticimex

                          @alowhum the simple password option is the simplest way of enabling security. At the same time it is the most expensive as it does not require personalization and therefore is pure software based (except for rfm69 encryption). So you need to trade simplicity for code size.
                          That said, once you have figured out personalization (and there is plenty documentation on the matter) it can easily be repeated, as long as you keep the sketch used to program the personalization data.

                          alowhumA Offline
                          alowhumA Offline
                          alowhum
                          Plugin Developer
                          wrote on last edited by
                          #18

                          @anticimex Hmm, I didn't realise that. Could it be an idea to create a MY_ENCRYPTION_SIMPLE_PASSWD feature as well, without the signing? Would that fit the "opportunistic curious neighbour" scenario?

                          AnticimexA 1 Reply Last reply
                          0
                          • alowhumA alowhum

                            @anticimex Hmm, I didn't realise that. Could it be an idea to create a MY_ENCRYPTION_SIMPLE_PASSWD feature as well, without the signing? Would that fit the "opportunistic curious neighbour" scenario?

                            AnticimexA Offline
                            AnticimexA Offline
                            Anticimex
                            Contest Winner
                            wrote on last edited by
                            #19

                            @alowhum give personalization a shot. Since you use the simple flag, you are already on the development branch, so you have a simplified personalization flow. It is documented in doxygen (see the pinned signing post for a link)

                            Do you feel secure today? No? Start requiring some signatures and feel better tomorrow ;)

                            1 Reply Last reply
                            1
                            • gohanG gohan

                              @alowhum I bet there are hundreds of people interested in your house temperature :sweat_smile:
                              Btw, yes that is encryption

                              alowhumA Offline
                              alowhumA Offline
                              alowhum
                              Plugin Developer
                              wrote on last edited by alowhum
                              #20

                              @gohan said in Is ARM the future of MySensors?:

                              @alowhum I bet there are hundreds of people interested in your house temperature :sweat_smile:
                              Btw, yes that is encryption

                              Actually, just my temperature would already indicate

                              • Whether I am home or not. "He'll never know we took the jewelry".
                              • if I go on holidays a lot. "How is he paying for all that".
                              • Whether I am feeling ill (set it a bit higher). "Got a fever last week? Or did your grandma visit"?
                              • If I am environmentally conscious. Something I don't want to talk about at the neighbourhood BBQ..
                              • Etc.

                              Now add to that my other sensors.
                              Now add to that all the actuators (yikes!).

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

                                Don't your neighbors have better things to do?

                                gohanG 1 Reply Last reply
                                0
                                • NeverDieN NeverDie

                                  Don't your neighbors have better things to do?

                                  gohanG Offline
                                  gohanG Offline
                                  gohan
                                  Mod
                                  wrote on last edited by gohan
                                  #22

                                  @neverdie I was about to say the same... it must be a very boring town :D

                                  1 Reply Last reply
                                  0
                                  • G Offline
                                    G Offline
                                    ghiglie
                                    wrote on last edited by
                                    #23

                                    Well, last week I couldn't realize how my garage temp was so high.... I noticed my neighboor started autoproducing some sensors too... :D So it's time for signing/encryption.

                                    atmega328p serial killer
                                    HomeAssistant / gateway: ESP8266 & NRF24L01+ gateway

                                    1 Reply Last reply
                                    0
                                    • Nca78N Nca78

                                      @davidzh said in Is ARM the future of MySensors?:

                                      But in Urban areas with lots of high rises the 2.4GHz band is a bit congested.

                                      That's my case , there are 350 appartments in my building alone and my nrf24 network runs well, while my old 433MHz system regularly miss messages, that's why it will soon be replaced.

                                      D Offline
                                      D Offline
                                      dakipro
                                      wrote on last edited by
                                      #24

                                      @nca78 said in Is ARM the future of MySensors?:

                                      there are 350 appartments in my building alone and my nrf24 network runs well

                                      If nrf24 working on same/similar frequency as wifi, is it not being disturbed by other wifi networks? (I guess that in 350 apartments there are a minimum of 350 wifi networks).
                                      I never quite understood how exactly nrf24 and wifi go along.

                                      C: OpenHAB2 with node-red on linux laptop
                                      GW: Arduino Nano - W5100 Ethernet, Nrf24l01+ 2,4Ghz mqtt
                                      GW: Arduino Mega, RFLink 433Mhz

                                      Nca78N gohanG YveauxY 3 Replies Last reply
                                      0
                                      • D dakipro

                                        @nca78 said in Is ARM the future of MySensors?:

                                        there are 350 appartments in my building alone and my nrf24 network runs well

                                        If nrf24 working on same/similar frequency as wifi, is it not being disturbed by other wifi networks? (I guess that in 350 apartments there are a minimum of 350 wifi networks).
                                        I never quite understood how exactly nrf24 and wifi go along.

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

                                        @dakipro said in Is ARM the future of MySensors?:

                                        If nrf24 working on same/similar frequency as wifi, is it not being disturbed by other wifi networks? (I guess that in 350 apartments there are a minimum of 350 wifi networks).
                                        I never quite understood how exactly nrf24 and wifi go along.

                                        It depends on the channels used by NRF24 and wifi networks, so far I've been lucky it seems :)
                                        Also, high rise is in fact probably helping by having thick concrete walls with lots of rebars inside, attenuating radio signals. I see many networks but most of them have week signal.

                                        1 Reply Last reply
                                        0
                                        • D dakipro

                                          @nca78 said in Is ARM the future of MySensors?:

                                          there are 350 appartments in my building alone and my nrf24 network runs well

                                          If nrf24 working on same/similar frequency as wifi, is it not being disturbed by other wifi networks? (I guess that in 350 apartments there are a minimum of 350 wifi networks).
                                          I never quite understood how exactly nrf24 and wifi go along.

                                          gohanG Offline
                                          gohanG Offline
                                          gohan
                                          Mod
                                          wrote on last edited by
                                          #26

                                          @dakipro wifi only overlaps the nrf24 range for a number of channels, so usually if you choose channels at the margins of the spectrum you should be good

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