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. My Project
  3. My Small GateWay

My Small GateWay

Scheduled Pinned Locked Moved My Project
19 Posts 10 Posters 11.9k Views 4 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.
  • P p0lar

    Where did you get that housing?

    looks clean :)

    C4VetteC Offline
    C4VetteC Offline
    C4Vette
    wrote on last edited by
    #4

    @p0lar
    Haha, we are back where we were before the black-out of this forum. I did write an answer before but it became lost. But the answer wasn't anything interesting because what I wrote was that these boxes are about 30 years old and I have no idea where they came from, sorry. They are some kind of watertight electrical boxes made of quite thick hard plastic.

    1 Reply Last reply
    0
    • bjornhallbergB Offline
      bjornhallbergB Offline
      bjornhallberg
      Hero Member
      wrote on last edited by
      #5

      There are similar enclosures on AliExpress, maybe not this exact size, most of them larger:
      http://www.aliexpress.com/category/150512/electronic-instrument-enclosures.html

      I've bought a couple of these to house outdoor battery powered sensors:
      http://www.aliexpress.com/item/-/1950031021.html
      You can find them on Ebay as well. VERY solid boxes. Feels like you could run them over with a car.

      1 Reply Last reply
      0
      • Z Offline
        Z Offline
        Zeph
        Hero Member
        wrote on last edited by Zeph
        #6

        I just received a couple of these:

        http://www.ebay.com/itm/271449456462

        I haven't used them in a project yet, but they seem pretty good. A Uno and a shield or two fit into it, and it has plenty of room for the upcoming MySensors battery powered node and batteries.

        I also have a smaller brother:http://www.ebay.com/itm//221476893142 as well, which plenty of has room for a Arduino Pro Micro or Nano. It's a bit small for the battery node (56x46mm minus the corners). If I ever learn to make a PCB myself, I would consider designing it for this profile (and maybe the mounting holes).

        I think the Ali Express link above has some similar to these, among other styles.

        The mounting ears may be handy for solid mounting without extra holes in back of the water resistant box, good for some purposes.

        @hek if you decide to endorse some box like these in the store, feel free to point the links to the store instead of going direct to eBay.

        1 Reply Last reply
        0
        • C4VetteC Offline
          C4VetteC Offline
          C4Vette
          wrote on last edited by C4Vette
          #7

          I promised to place updates of the progress, so here it is.
          The distance between my gateway and sensor is still a problem. I replaced the NRF's with on-board PA on both sides. When I bring the sensor closer to the GW all is fine. But the limit is about ten meters, then the serial log of the Motion-sensor shows constantly:
          send: 1-1-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:0
          and after 20 times: new parent=0, d=1 which is normal. The weird thing is that the motion-sensor works perfectly. Never misses and the UI instantly updates.
          What I have tried:

          • replaced the NRF's several times
          • moved the NRF a little away from the Arduino
          • moved the GW away from Vera with longer USB-cable
          • replaced the gateway and the sensor for other Arduino;s
          • all Arduino's have a LM1117 3.3v regulator (also tried the ones on a breakout board with capacitors on it)
          • tried different capacitors (4.7 / 47 / 100 / 200 uF) on the 3.3v and checked with a scope

          I'm running Lib Version 1.4b1 (18848a2) on both sides. I know there is no support on beta software but maybe someone has a suggestion? If no-one tries the beta-software there is no progress I guess :)

          YveauxY hekH 2 Replies Last reply
          0
          • C4VetteC C4Vette

            I promised to place updates of the progress, so here it is.
            The distance between my gateway and sensor is still a problem. I replaced the NRF's with on-board PA on both sides. When I bring the sensor closer to the GW all is fine. But the limit is about ten meters, then the serial log of the Motion-sensor shows constantly:
            send: 1-1-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:0
            and after 20 times: new parent=0, d=1 which is normal. The weird thing is that the motion-sensor works perfectly. Never misses and the UI instantly updates.
            What I have tried:

            • replaced the NRF's several times
            • moved the NRF a little away from the Arduino
            • moved the GW away from Vera with longer USB-cable
            • replaced the gateway and the sensor for other Arduino;s
            • all Arduino's have a LM1117 3.3v regulator (also tried the ones on a breakout board with capacitors on it)
            • tried different capacitors (4.7 / 47 / 100 / 200 uF) on the 3.3v and checked with a scope

            I'm running Lib Version 1.4b1 (18848a2) on both sides. I know there is no support on beta software but maybe someone has a suggestion? If no-one tries the beta-software there is no progress I guess :)

            YveauxY Offline
            YveauxY Offline
            Yveaux
            Mod
            wrote on last edited by
            #8

            @C4Vette said:

            The distance between my gateway and sensor is still a problem....
            ... The weird thing is that the motion-sensor works perfectly. Never misses and the UI instantly updates.

            Just that I (we) understand your setup: so you've got 2 sensor nodes (1 motion and one with limited range) and 1 gateway, right?

            I'm running Lib Version 1.4b1 (18848a2) on both sides. I know there is no support on beta software but maybe someone has a suggestion?

            Nonsense! Of course there's support on beta software; we try to find bugs and other anomalies to get to a stable version in everybody's interest!

            http://yveaux.blogspot.nl

            1 Reply Last reply
            0
            • C4VetteC C4Vette

              I promised to place updates of the progress, so here it is.
              The distance between my gateway and sensor is still a problem. I replaced the NRF's with on-board PA on both sides. When I bring the sensor closer to the GW all is fine. But the limit is about ten meters, then the serial log of the Motion-sensor shows constantly:
              send: 1-1-0-0 s=1,c=1,t=16,pt=0,l=1,st=fail:0
              and after 20 times: new parent=0, d=1 which is normal. The weird thing is that the motion-sensor works perfectly. Never misses and the UI instantly updates.
              What I have tried:

              • replaced the NRF's several times
              • moved the NRF a little away from the Arduino
              • moved the GW away from Vera with longer USB-cable
              • replaced the gateway and the sensor for other Arduino;s
              • all Arduino's have a LM1117 3.3v regulator (also tried the ones on a breakout board with capacitors on it)
              • tried different capacitors (4.7 / 47 / 100 / 200 uF) on the 3.3v and checked with a scope

              I'm running Lib Version 1.4b1 (18848a2) on both sides. I know there is no support on beta software but maybe someone has a suggestion? If no-one tries the beta-software there is no progress I guess :)

              hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #9

              @C4Vette

              With PA you should have more than 10 meters distance!

              If the always UI updates it seems your messages is reaching the gateway but the hardware ack (from gateway) isn't picked up by the sensor.

              There has been reports on powering issues (modules need more juice) when using the PA modules. What happens if you lower the transmit power in gateway (MyConfig.h)?

              1 Reply Last reply
              0
              • C4VetteC Offline
                C4VetteC Offline
                C4Vette
                wrote on last edited by
                #10

                @Yveaux
                No, just one sensor-node and a serial gateway. I did use more Arduino's, but just for swapping to try and find the culprit by elimination.

                @hek
                Tomorrow I will try your suggestion. But you mean only lower the power of the gw? Wouldn't that just make it worse? Will try anyway and report back. And you say the ack isn't picked up, shouldn't the sensor resend then? Thanks so far.

                Z 1 Reply Last reply
                0
                • C4VetteC C4Vette

                  @Yveaux
                  No, just one sensor-node and a serial gateway. I did use more Arduino's, but just for swapping to try and find the culprit by elimination.

                  @hek
                  Tomorrow I will try your suggestion. But you mean only lower the power of the gw? Wouldn't that just make it worse? Will try anyway and report back. And you say the ack isn't picked up, shouldn't the sensor resend then? Thanks so far.

                  Z Offline
                  Z Offline
                  Zeph
                  Hero Member
                  wrote on last edited by
                  #11

                  @C4Vette said:

                  Tomorrow I will try your suggestion. But you mean only lower the power of the gw? Wouldn't that just make it worse?

                  With two LNA+PA units you should have lots of link budget left over (lots of slack) at that range - IF both modules have all the input power they need. But if either nRF's drawing too much power and its power supply is sagging or malfunctioning, the nRF may be floundering too.

                  So I think the point of reducing transmit power is to reduce the draw on the input power supply, to see if the nRF works better. At that range you should still be able to communicate with less than full power.

                  You could also just try testing with known-good power supplies which can easily handle the nRF's load even with LAN & PA.

                  1 Reply Last reply
                  0
                  • C4VetteC Offline
                    C4VetteC Offline
                    C4Vette
                    wrote on last edited by C4Vette
                    #12

                    To be honest, I could not believe it had to do with the power. So I kept on trying several other things like changing channels. But in the end nothing really helped so I lowered to "RF24_PA_HIGH" for the GateWay. And THAT really helped :flushed:
                    So I must admit that the 3.3v is not up to the demand. That is weird because I use a LM1117 on a breakout board plus on additional capacitor over the 3.3v side. LM1117.JPG
                    Could it the be that the Nano's 5v is not up to it to deliver enough current from it's 5v pin?
                    I have the GateWay on an external USB-hub with its own power-source.

                    1 Reply Last reply
                    0
                    • hekH Offline
                      hekH Offline
                      hek
                      Admin
                      wrote on last edited by
                      #13

                      @C4Vette said:

                      Could it the be that the Nano's 5v is not up to it to deliver enough current from it's 5v pin?
                      I have the GateWay on an external USB-hub with its own power-source.

                      Yes, it could be. Try bypassing the Arduino.

                      I'm currently running PA_LOW on my amplified gateway.

                      marceltrapmanM 1 Reply Last reply
                      0
                      • hekH hek

                        @C4Vette said:

                        Could it the be that the Nano's 5v is not up to it to deliver enough current from it's 5v pin?
                        I have the GateWay on an external USB-hub with its own power-source.

                        Yes, it could be. Try bypassing the Arduino.

                        I'm currently running PA_LOW on my amplified gateway.

                        marceltrapmanM Offline
                        marceltrapmanM Offline
                        marceltrapman
                        Mod
                        wrote on last edited by
                        #14

                        @hek said:

                        I'm currently running PA_LOW on my amplified gateway.

                        Does this mean you have to run everything at PA_LOW?

                        Any idea what disadvantage is attached to this setting?

                        Fulltime Servoy Developer
                        Parttime Moderator MySensors board

                        I use Domoticz as controller for Z-Wave and MySensors (previously Indigo and OpenHAB).
                        I have a FABtotum to print cases.

                        hekH 1 Reply Last reply
                        0
                        • marceltrapmanM marceltrapman

                          @hek said:

                          I'm currently running PA_LOW on my amplified gateway.

                          Does this mean you have to run everything at PA_LOW?

                          Any idea what disadvantage is attached to this setting?

                          hekH Offline
                          hekH Offline
                          hek
                          Admin
                          wrote on last edited by hek
                          #15

                          @marceltrapman said:

                          Does this mean you have to run everything at PA_LOW?

                          My vanilla radios run at maximum. Only the amplified gateway run at LOW. The 3.3V pin on the Nano does not seem to cope with full power transmissions (at least in my setup with Vera powering Nano without any powered USB hub). Range is no problem in my house with LOW setting.

                          Any idea what disadvantage is attached to this setting?

                          Shorter range for outgoing/ack messages.

                          1 Reply Last reply
                          0
                          • N Offline
                            N Offline
                            NBM
                            wrote on last edited by
                            #16

                            Which size resitor is used?

                            1 Reply Last reply
                            0
                            • masterkenobiM Offline
                              masterkenobiM Offline
                              masterkenobi
                              wrote on last edited by
                              #17

                              Nice box. This is exactly what I am looking for. However, I am wondering what is the black rectangle thingy next to the LEDs for.

                              C4VetteC 1 Reply Last reply
                              0
                              • masterkenobiM masterkenobi

                                Nice box. This is exactly what I am looking for. However, I am wondering what is the black rectangle thingy next to the LEDs for.

                                C4VetteC Offline
                                C4VetteC Offline
                                C4Vette
                                wrote on last edited by
                                #18

                                @masterkenobi said:

                                ........... I am wondering what is the black rectangle thingy next to the LEDs for.
                                It's a pushbutton for inclusion of new nodes.

                                masterkenobiM 1 Reply Last reply
                                0
                                • C4VetteC C4Vette

                                  @masterkenobi said:

                                  ........... I am wondering what is the black rectangle thingy next to the LEDs for.
                                  It's a pushbutton for inclusion of new nodes.

                                  masterkenobiM Offline
                                  masterkenobiM Offline
                                  masterkenobi
                                  wrote on last edited by
                                  #19

                                  @C4Vette thanks! I can see more details is at http://www.mysensors.org/build/advanced_gateway

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


                                  16

                                  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