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. 💬 Sensebender Gateway

💬 Sensebender Gateway

Scheduled Pinned Locked Moved OpenHardware.io
mysensorsgatewaysamd
382 Posts 59 Posters 151.2k Views 53 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.
  • tbowmoT Offline
    tbowmoT Offline
    tbowmo
    Admin
    wrote on last edited by
    #13

    @scalz
    That is cheap.. Perhaps I should buy one, just for the fun of it, and try it out :)

    I have my jtagice3 though, and it's working fine.. (Even though they don't have the correct cortex-m0 debug port pin layout..)

    1 Reply Last reply
    0
    • nemikN Offline
      nemikN Offline
      nemik
      Hardware Contributor
      wrote on last edited by
      #14

      I've been using those cheap $3 ST-Link adapters for flashing ARM cortex chips with OpenOCD, using SWD pins. They're fantastic and work very well.

      1 Reply Last reply
      0
      • nick van alstN Offline
        nick van alstN Offline
        nick van alst
        wrote on last edited by
        #15

        i really like this idea, i'm getting a bit tierd of having the mysensors gateway connected through a breadboard.

        how far is it? i saw your comment that it is almost ready for last prototype, is this board fully functional?
        Plus, will it be able to act as a Serial/Ethernet/MQTT gateway? or only 1 of these?

        And if it is ready, is there a place to order them, or just send the files to a PCB company?

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

          I'm still waiting for the last prototype pcb's to arrive.

          Depending on the sketch you load it with, it can be a serial, ethernet or MQTT gateway. It has native USB in the atsam, and a connector for a w5100 module.

          Besides that it will have SD card for local storage of sensor data, so it could in theory operate without a controller at all..

          TheoLT 1 Reply Last reply
          0
          • tbowmoT tbowmo

            I'm still waiting for the last prototype pcb's to arrive.

            Depending on the sketch you load it with, it can be a serial, ethernet or MQTT gateway. It has native USB in the atsam, and a connector for a w5100 module.

            Besides that it will have SD card for local storage of sensor data, so it could in theory operate without a controller at all..

            TheoLT Offline
            TheoLT Offline
            TheoL
            Contest Winner
            wrote on last edited by
            #17

            @tbowmo Can you give some details about the final dimensions on the board? I want to start the woodworking on the casing for my current gateway. But I'll make sure your prototype fits in as well.

            I can't wait 'till this one goes to production. Great work, I'm impressed.

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

              @TheoL

              The base board is 5x5 cm, but if you use nrf modules they will protrude over the edge of the PCB. Rfm69 is soldered to the bottom so they won't add to the dimensions. W5100 will probably make the base a few mm wider and longer (depending on the module..).
              Design files are available at GH, so you can check the dimensions yourself

              TheoLT 1 Reply Last reply
              0
              • tbowmoT tbowmo

                @TheoL

                The base board is 5x5 cm, but if you use nrf modules they will protrude over the edge of the PCB. Rfm69 is soldered to the bottom so they won't add to the dimensions. W5100 will probably make the base a few mm wider and longer (depending on the module..).
                Design files are available at GH, so you can check the dimensions yourself

                TheoLT Offline
                TheoLT Offline
                TheoL
                Contest Winner
                wrote on last edited by
                #19

                @tbowmo Thanx for your fast reply. It's a great size. I'll create a mockup of it with cardboard. It'll give me a better visualization when I make the housing. Just a final question. I'm guessing I won't be able to stick an Arduino ethernet shield on it right?

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

                  @TheoL

                  the GW is not the same dimensions as arduino, so Arduino shields would not fit :)

                  A mini w5100 board like this would fit..

                  Also, see this "old" forum post about the GW device, there is some conceptual pictures of how it would look like with nrf and w5100 attached.

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

                    Received a new prototype from dirtypcbs the other day

                    0_1461067276748_gw1.jpg

                    I have only come to the point where the SD Card reader is mounted, as I wanted to try the mechanics out :)

                    0_1461067334506_gw3.jpg

                    Currently I'm lacking time for finishing it within the next 2-3 weeks.. If someone knows how to slow down time around you, without being slowed down yourself, please tell me how to achieve it :) (Too many high priority tasks at the moment..)

                    G GertSandersG 2 Replies Last reply
                    5
                    • tbowmoT tbowmo

                      Received a new prototype from dirtypcbs the other day

                      0_1461067276748_gw1.jpg

                      I have only come to the point where the SD Card reader is mounted, as I wanted to try the mechanics out :)

                      0_1461067334506_gw3.jpg

                      Currently I'm lacking time for finishing it within the next 2-3 weeks.. If someone knows how to slow down time around you, without being slowed down yourself, please tell me how to achieve it :) (Too many high priority tasks at the moment..)

                      G Offline
                      G Offline
                      gonzalonal
                      wrote on last edited by gonzalonal
                      #22

                      Great design @tbowmo. Very interesting indeed.
                      I have some questions and suggestions if you don't mind.

                      Will this support the use of the amplified version of the nrf24l01+ (NRF24L01* + PA + LNA). It uses a little more power than the non aplified version so It's even more sensirtive to power supply noise.

                      EDIT: In the schematic, upper left corner, in the ATSHA204 module it seems you have forgotten to add the SDA pin conection.

                      EDIT2: Haven't you thought in adding a battery charger module such as the TP4056. It would be nice to have this board woarking as its own UPS. Having the battery connected in the battery connector without something keeping the battery charged doesn't have much sense to me.

                      Regards!

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

                        It should have enough juice in the regulator to support an pa/lna enabled nrf24l01. I havent got one myself, so it's not "validated" yet.

                        The idea with the battery, is that it is only to keep the rtc alive in the atsam, and if you look at the schematics, then it's only the cpu that can be powered by battery. A coin cell battery should be enough. (I couldn't make room for a battery holder so that's why it just became a 2 pin header

                        The atsha204 is validated on the board, so it's working ;) If you look at the schematic, SDA pin on the atsha204 is labeled "SECURITY", pin 20 on the cpu is also labeled SECURITY, so these are connected.

                        1 Reply Last reply
                        2
                        • G Offline
                          G Offline
                          gonzalonal
                          wrote on last edited by
                          #24

                          Thanks @tbowmo. Now it's all clear.
                          What tests do you think are remaining in order to have the board fully tested and ready to production environement?
                          Regards!

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

                            @gonzalonal

                            The only thing missing is the Ethernet module at the moment, it has been working on an earlier board, but can't get it working right now.

                            I'm almost at point where I will let our partner in China do their initial prototype spin, to evaluate production.

                            1 Reply Last reply
                            0
                            • tbowmoT tbowmo

                              Received a new prototype from dirtypcbs the other day

                              0_1461067276748_gw1.jpg

                              I have only come to the point where the SD Card reader is mounted, as I wanted to try the mechanics out :)

                              0_1461067334506_gw3.jpg

                              Currently I'm lacking time for finishing it within the next 2-3 weeks.. If someone knows how to slow down time around you, without being slowed down yourself, please tell me how to achieve it :) (Too many high priority tasks at the moment..)

                              GertSandersG Offline
                              GertSandersG Offline
                              GertSanders
                              Hardware Contributor
                              wrote on last edited by
                              #26

                              @tbowmo
                              In the series 12 Monkeys a scientist developed injections to slow down time at the quantum level, which allows you to be impervious to time shift. Not sure if it slows down time perception itself though.

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

                                And ethernet is up!

                                I think this calls for a couple of pictures of the "thing" :)

                                first with ethernet / usb (power) connected.
                                0_1465413470008_gw1.jpg

                                and without ethernet shield
                                0_1465413510581_gw2.jpg

                                G 1 Reply Last reply
                                8
                                • tbowmoT tbowmo

                                  And ethernet is up!

                                  I think this calls for a couple of pictures of the "thing" :)

                                  first with ethernet / usb (power) connected.
                                  0_1465413470008_gw1.jpg

                                  and without ethernet shield
                                  0_1465413510581_gw2.jpg

                                  G Offline
                                  G Offline
                                  gonzalonal
                                  wrote on last edited by
                                  #28

                                  Hi @tbowmo. Congratulations.

                                  Have you identified what caused the trouble?
                                  Regards!

                                  1 Reply Last reply
                                  0
                                  • T Offline
                                    T Offline
                                    tomkxy
                                    wrote on last edited by
                                    #29

                                    @tbowmo Congrats! That piece of hardware looks cool. I am interested to replace my current gateway with such a puppy.

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

                                      @gonzalonal

                                      It was a software issue.. I had rewritten the hardware definition files almost from scratch, and made a couple of errors that made it fail silently..

                                      Peripheral configuration on SAMD21 is a bit more advanced, than on the old atmega328, as you can configure a specific peripheral (a sercom unit for example) to appear on different pins, depending on MUX setting.. I had made some wrong MUX settings for SERCOM4, which is used for the W5100 module.

                                      1 Reply Last reply
                                      0
                                      • sundberg84S Offline
                                        sundberg84S Offline
                                        sundberg84
                                        Hardware Contributor
                                        wrote on last edited by
                                        #31

                                        Great work @tbowmo - cant wait until I can get my hands on one :)

                                        Controller: Proxmox VM - Home Assistant
                                        MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                                        MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                                        RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                                        tbowmoT 1 Reply Last reply
                                        0
                                        • sundberg84S sundberg84

                                          Great work @tbowmo - cant wait until I can get my hands on one :)

                                          tbowmoT Offline
                                          tbowmoT Offline
                                          tbowmo
                                          Admin
                                          wrote on last edited by tbowmo
                                          #32

                                          @sundberg84

                                          If you come to the meetup in Malmö, you can see a working prototype :)

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


                                          19

                                          Online

                                          11.7k

                                          Users

                                          11.2k

                                          Topics

                                          113.0k

                                          Posts


                                          Copyright 2019 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