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. Hardware
  3. Newbie Gateway Hardware Confusion

Newbie Gateway Hardware Confusion

Scheduled Pinned Locked Moved Hardware
21 Posts 6 Posters 2.4k Views 6 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.
  • gohanG Offline
    gohanG Offline
    gohan
    Mod
    wrote on last edited by
    #9

    You still have the esp8266 option then

    1 Reply Last reply
    0
    • JohnRobJ Offline
      JohnRobJ Offline
      JohnRob
      wrote on last edited by
      #10

      @dbemowsk

      I just compiled the MySensors sketch (with RFM69 and W5100) and the usage was 46904 bytes.
      My guess the Ethernet interface takes a lot more CPU horsepower than the serial you have.

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

        Of course it does, since the serial interface is already built in while the ethernet needs an additional library that takes more memory

        1 Reply Last reply
        0
        • JohnRobJ JohnRob

          @dbemowsk

          I just compiled the MySensors sketch (with RFM69 and W5100) and the usage was 46904 bytes.
          My guess the Ethernet interface takes a lot more CPU horsepower than the serial you have.

          dbemowskD Offline
          dbemowskD Offline
          dbemowsk
          wrote on last edited by
          #12

          @johnrob I don't see why it wouldn't work on a pro mini though. You shouldn't need a mega2560.

          Vera Plus running UI7 with MySensors, Sonoffs and 1-Wire devices
          Visit my website for more Bits, Bytes and Ramblings from me: http://dan.bemowski.info/

          mfalkviddM 1 Reply Last reply
          0
          • dbemowskD dbemowsk

            @johnrob I don't see why it wouldn't work on a pro mini though. You shouldn't need a mega2560.

            mfalkviddM Offline
            mfalkviddM Offline
            mfalkvidd
            Mod
            wrote on last edited by
            #13

            @dbemowsk the pro mini doesn't have enough flash space when adding signing and the ethernet shield library.

            1 Reply Last reply
            0
            • JohnRobJ Offline
              JohnRobJ Offline
              JohnRob
              wrote on last edited by
              #14

              @gohan said in Newbie Gateway Hardware Confusion:

              You still have the esp8266 option then

              Thanks for the suggestion...I'm still learning the Arduino platform. I have two questions regarding the ESP8266,

              1. Is there a particular implementation of the ESP8266 that works well as a gateway? (I see lots of ESP8266's)

              2. Reading the requirements; the gateway software stores the NODE id's in EEPROM. I don't see any on the ESP8266. I know some µP can use blocks of flash like EEPROM but I don't have a feel if the reduced lifetime of the flash used this way is anything I should be worried about.

              Thanks
              John

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

                I like the wemos d1 mini or pro as they have a compact size more breadboard friendly and there are a bunch of shields that you can use (if you look in openhardware.io there are some too)
                About the flash, I don't know

                JohnRobJ 1 Reply Last reply
                0
                • gohanG gohan

                  I like the wemos d1 mini or pro as they have a compact size more breadboard friendly and there are a bunch of shields that you can use (if you look in openhardware.io there are some too)
                  About the flash, I don't know

                  JohnRobJ Offline
                  JohnRobJ Offline
                  JohnRob
                  wrote on last edited by
                  #16

                  @gohan
                  Thank you very much for your reply. A quick search led me to this site where I can learn more. link text

                  John

                  gohanG 1 Reply Last reply
                  0
                  • JohnRobJ JohnRob

                    @gohan said in Newbie Gateway Hardware Confusion:

                    You still have the esp8266 option then

                    Thanks for the suggestion...I'm still learning the Arduino platform. I have two questions regarding the ESP8266,

                    1. Is there a particular implementation of the ESP8266 that works well as a gateway? (I see lots of ESP8266's)

                    2. Reading the requirements; the gateway software stores the NODE id's in EEPROM. I don't see any on the ESP8266. I know some µP can use blocks of flash like EEPROM but I don't have a feel if the reduced lifetime of the flash used this way is anything I should be worried about.

                    Thanks
                    John

                    mfalkviddM Offline
                    mfalkviddM Offline
                    mfalkvidd
                    Mod
                    wrote on last edited by
                    #17

                    @johnrob I recommend wemos d1 mini for the same reasons as gohan.

                    For the flash/eeprom: mysensors handles this so there is no need to worry. A gateway can have only up to 253 nodes, so the node id will be written to maximum 254 times. That will not wear out the flash.

                    JohnRobJ 1 Reply Last reply
                    0
                    • JohnRobJ JohnRob

                      @gohan
                      Thank you very much for your reply. A quick search led me to this site where I can learn more. link text

                      John

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

                      @johnrob if you want to get some, there is the official store on aliexpress, otherwise there are some clones from robodyn store

                      1 Reply Last reply
                      0
                      • mfalkviddM mfalkvidd

                        @johnrob I recommend wemos d1 mini for the same reasons as gohan.

                        For the flash/eeprom: mysensors handles this so there is no need to worry. A gateway can have only up to 253 nodes, so the node id will be written to maximum 254 times. That will not wear out the flash.

                        JohnRobJ Offline
                        JohnRobJ Offline
                        JohnRob
                        wrote on last edited by
                        #19

                        @mfalkvidd
                        Thank you for the explanation. I've learned a lot in this thread alone.

                        Question on the node id. If I end up with enough sensors to form a mesh and some of them are far enough away from the gateway to need to travel through a repeater. Would a change in "path" change the node ID or some other path related characteristic?

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

                          Node stays the same as it is saved in node's eeprom

                          1 Reply Last reply
                          0
                          • JohnRobJ Offline
                            JohnRobJ Offline
                            JohnRob
                            wrote on last edited by
                            #21

                            Thanks to all for your help. I think I have enough information to start my gateway (as soon as the hardware arrives). My first step will be to add a potentiometer to the gateway as a test input before tackling a sensor node.

                            John

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


                            10

                            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