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.
  • JohnRobJ Offline
    JohnRobJ Offline
    JohnRob
    wrote on last edited by
    #4

    Quote from the how to fourm. "-- - at least if someone is thinking of building this gateway and wanting to use security they can hopefully read this thread before they start and will look at a higher level controller before they purchase the hardware. I am only trying to help others with what to me is still a simple and easy fix alas I must have upset the apple cart.
    There is no big problem at all, just that it is really simple to know right now, with technology available today, if you need an Ethernet gateway and signing then use a Mega 2560 or better for the Ethernet Gateway controller to ensure you have the ram. @mfalkvidd - You state variations increase exponentially and most not under library control however using the MySensors Library and building the hardware shown and documented on this page using the sketch provided (completely under control of MySensors) you will need a Mega 2560 or better if you intend to enable signing (also under control of the Library). Do not get me wrong I really love the whole MySensors thing and have over 30 devices up and running and have enjoyed the whole learning thing however simple requirements (IMHO) like this should be detailed.*"
    This led me to think I should start with to a more capable controller. So if I wanted to use a board that was 3.3v to be compatible with the W5100 and RFM69, I would have to use a Zero board, which runs an 3.3v.

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

      @JohnRob

      if you want to use W5100 and RFM69 then there is the option of buying the Sensebender Gateway as well, it has sockets / pads for both modules, and is (more or less) plug'n'play :)

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

        @tbowmo Thanks for the response/info. I already have a Zero on order. If for some reason it doesn't pan out I will purchase the Sensebender Gateway.

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

          If you have a raspberry pi nearby you can use that too, or even an esp8266

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

            @gohan,

            I wanted to stay with the Arduino's because I've done a few projects with the Pro Mini and feel more comfortable.
            As for the Raspi I feel running a platform without an operating system seems simpler and more robust.

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