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. Gateway device

Gateway device

Scheduled Pinned Locked Moved Hardware
151 Posts 19 Posters 115.3k Views 21 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.
  • pliniosenioreP Offline
    pliniosenioreP Offline
    plinioseniore
    wrote on last edited by
    #84

    Hi,

    just want to share with you some of our progress in a board similar to the one that you are designing.

    This is based on Atmega32U4 and has socket for nRF24L01 and ESP8266 and is designed to be battery operated and support Grove connector. The board has mosfet to switch off the sensor while sleeping and keep low the consumption, this should stand a year on battery.

    We just received the PCB, picture at the link below,
    http://www.souliss.net/2015/06/sensor-battery-board-pcb-arrived.html

    The schematic and layout are open-source and hope that this board may fit some needs also in the MySensor community
    https://github.com/souliss/boards/tree/master/Battery_Operated_Board/Ver1

    Regards,
    Dario.

    Souliss, Arduino and Android based SmartHome and IoT
    http://www.souliss.net
    @soulissteam

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

      @plinioseniore

      Looks like a nice board you have created... Only problem is, that we run out of memory on atmega328, if we want to run with signing and have MQTT client on board.

      So that is why we have bumped the processor to a atmega1284 instead, having 4 times the memory, than atmega328. Also, with this board, we have the posibility to use both RFM69 and NRF24L01 on the sensor network..

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

        Tried to make a concept drawing, of NRF module placement

        MysensorsGW-2.png

        the esp8266 is placed in a similar way, on the right edge of the board, also hanging over the edge with the antenna part.

        the W5100 board (which is similar to this one from itead studio) is turned 180 degrees, which makes the ethernet jack placement above the large "empty" space on the board (there is a 2x3 pinheader in the concept drawing)

        The micro usb connector will be just beside the ethernet jack. between the ether jack, and the single pinheader pin (this is the antenna connection point for the rfm69 you can put on the bottom of the board)

        Things are still a bit conceptual, trying to visualize it for my self :)

        1 Reply Last reply
        1
        • R Offline
          R Offline
          rickmontana83
          wrote on last edited by
          #87

          I'll second (third? fourth? whatever...) the suggestion to design this to fit a cheap and readily available enclosure. Something like:

          http://www.aliexpress.com/item/Free-Shipping-Plastic-Waterproof-Clear-Cover-Electronic-Project-Box-Enclosure-Case-85-58-33MM/2025247551.html

          (Not saying that's ideal; just an example.)

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

            @rickmontana83

            the board is 50x50 mm, and with the radio / wifi protruding over the edge, this box should fit nicely.

            The reason why I chose 50x50mm for the board size, is that it's either 50x50mm, or 100x100mm board when we order prototypes, which is more expensive. (And I like to make things small :))

            1 Reply Last reply
            0
            • R Offline
              R Offline
              rickmontana83
              wrote on last edited by
              #89

              Agree about smaller. Everything looks classier with less wasted space.

              Probably too late now, but if the board had mounting holes that lined up with the enclosure that would be sweet. I'm always at a loss for how to keep my boards stable inside their plastic homes. Would love to hear peoples' solutions for mounting when the holes don't line up.

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

                @rickmontana83

                nothing's too late (yet). I haven't even ordered the first prototype batch yet. Still ironing out some details, and routing the PCB (I have only scratched the routing for the 10th time or so :s ). Actually I had thought about adding a couple of mounting holes in the board..

                I'll see if the boxes that I have, resembles the one that I just linked to.. (I've talked with @hek about finding some enclosures a couple of days ago, when we suddenly found a seller on ali express, that only had enclosures of various kinds).

                RJ_MakeR 1 Reply Last reply
                0
                • pliniosenioreP Offline
                  pliniosenioreP Offline
                  plinioseniore
                  wrote on last edited by
                  #91

                  @tbowmo

                  Yes the Atmega32U4 and Atmega328 has in the RAM their main problem, in our case we run smoothly in the 2KBytes available because we don't use ASCII in the protocol, but binary only.

                  Then the board is for as a remote sensor node, running on battery, not a main gateway board.

                  In any case, the board that you are designing will work nicely also with Souliss.battery_board-1.jpg

                  Souliss, Arduino and Android based SmartHome and IoT
                  http://www.souliss.net
                  @soulissteam

                  1 Reply Last reply
                  0
                  • tbowmoT tbowmo

                    @rickmontana83

                    nothing's too late (yet). I haven't even ordered the first prototype batch yet. Still ironing out some details, and routing the PCB (I have only scratched the routing for the 10th time or so :s ). Actually I had thought about adding a couple of mounting holes in the board..

                    I'll see if the boxes that I have, resembles the one that I just linked to.. (I've talked with @hek about finding some enclosures a couple of days ago, when we suddenly found a seller on ali express, that only had enclosures of various kinds).

                    RJ_MakeR Offline
                    RJ_MakeR Offline
                    RJ_Make
                    Hero Member
                    wrote on last edited by
                    #92

                    @tbowmo Mounting holes would be very good. :flushed:

                    RJ_Make

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

                      ok now with mounting holes. Or sort of.. the holes are 4.8cm apart, center to center, and the pcb is 5cm wide. I have used this case as a template.

                      MysensorsGW.png

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

                        and now with a w5100 module attached

                        MysensorsGW-w5100.png

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

                          very nice board, bravo !
                          thank you for sharing your work and knowledge.

                          1 Reply Last reply
                          0
                          • blaceyB Offline
                            blaceyB Offline
                            blacey
                            Admin
                            wrote on last edited by blacey
                            #96

                            Sweet!!! :+1: :+1: :+1:

                            Sign me up for 5! :)

                            1 Reply Last reply
                            0
                            • FrancoisF Offline
                              FrancoisF Offline
                              Francois
                              wrote on last edited by
                              #97

                              You put a work into this board and it looks great. Cannot wait for it to come available.

                              1 Reply Last reply
                              0
                              • 5546dug5 Offline
                                5546dug5 Offline
                                5546dug
                                wrote on last edited by
                                #98

                                @tbowmo My hat is off to you, for the major effort put forth along with @blacey ,@Anticimex , @axillent and @hek to name but a few.

                                While following this thread at times lost (mostly?) with explanations and concepts I have been learning which is half the battle.

                                It seems it never too late for a old dog to learn a little.

                                However it seems there is a need for a better gw from some of the threads I have read.
                                I for one will purchase a unit in what ever form it morphs into.

                                Great work with all these boards.

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

                                  I'm still routing the board, it's more complicated than my previous boards, so will be a bit longer process to get all in place.

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

                                    A small update here, on an even larger update on the gateway device.

                                    After some considerations, I have decided to switch the MCU for the GW to an atmel SAM D21G, instead of atmega1284. While doing this I have reduced the BOM for the GW, and cut about 1/3 of the BOM price.

                                    The D21G is the same chip that's on the new arduino zero, and also on a kickstarter project called neutrino. @blacey is the one who pointed me in that direction :)

                                    While being a more powerful chip (256kb flash, 32kb ram, 48 MHz, loads of extra peripherals) it is actually cheaper than the atmega1284, and it has build in USB controler, so the ftdi chip could be removed, a couple of other glue components is also gone now.

                                    It will mean that we have to work a bit harder at getting mysensors running, but since the MCU is supported by arduino, we should be able to manage.

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

                                      very interesting! I didn't know neutrino, pretty nice board. Seems there will be some work on software part but it is doable like you said. And you will have more power, which is nice for the GW I think, and I like when chip is usb compatible (like pic18f4550 ...). Maybe one day, it will become HID, lol!

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

                                        @scalz

                                        I didn't know of the neutrino (or arduino zero) before @blacey mentioned it to me, and he finally got me convinced that I should swap the atmega1284. (I know that @axillent tried to convince me to use another chip, than the atmega, before.. But when you find this, and it can reduce board complexity..)

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

                                          @tbowmo: it is likely same things for me. lots of 8/16bits chip collection (microchip). but never moved to 32bit even if i have a 32bit usb bit wacker (not time to test it). I was thinking that you can do lot of things with 8bit chips. So yesterday, I have read a little the datasheet atsamd21. Wow, 1077 pages! But there is lots lots of features! I think I will try to order one sample for my collection! Plus, these chips seems to be not expensive but there is some learning curve on it. I think Microchip have missed a big move with arduino platform!

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


                                          25

                                          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