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. 💬 Very narrow and minimal switch node

💬 Very narrow and minimal switch node

Scheduled Pinned Locked Moved OpenHardware.io
mysensorsbinary switchesi2cnrf24l01
66 Posts 19 Posters 26.0k Views 16 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.
  • GertSandersG GertSanders

    @AWI very nice, where did you buy the pins ?

    AWIA Offline
    AWIA Offline
    AWI
    Hero Member
    wrote on last edited by
    #32

    @GertSanders I used these pins. These work for me but there are many other types in the same store which could serve your needs better.

    1 Reply Last reply
    0
    • alexsh1A Offline
      alexsh1A Offline
      alexsh1
      wrote on last edited by
      #33

      @GertSanders - my idea to use exactly for windows. I was thinking about z-wave ones, but £32 a pot is just way too expensive given I need quite a few. How do you power them?

      GertSandersG 1 Reply Last reply
      0
      • alexsh1A alexsh1

        @GertSanders - my idea to use exactly for windows. I was thinking about z-wave ones, but £32 a pot is just way too expensive given I need quite a few. How do you power them?

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

        @alexsh1 I power them similar to @m26872 , but with AAA batteries. They fit the 16x16mm cable guide by Legrand (which is a known brand for this in Belgium), available is most DIY stores.

        1 Reply Last reply
        0
        • Dombo71D Offline
          Dombo71D Offline
          Dombo71
          wrote on last edited by
          #35

          Dear
          I ordered a few...:-)
          Do you have a working sketch that is using less power?
          Perhaps wit a motionsensor and a DHt ore something
          I hope i get you hardware working..

          alexsh1A GertSandersG 3 Replies Last reply
          0
          • Dombo71D Dombo71

            Dear
            I ordered a few...:-)
            Do you have a working sketch that is using less power?
            Perhaps wit a motionsensor and a DHt ore something
            I hope i get you hardware working..

            alexsh1A Offline
            alexsh1A Offline
            alexsh1
            wrote on last edited by
            #36

            @Dombo71 said:

            Dear
            I ordered a few...:-)
            Do you have a working sketch that is using less power?
            Perhaps wit a motionsensor and a DHt ore something
            I hope i get you hardware working..

            @Dombo71
            You can find a few working sketches in the 'Build' section of the website. However, don't you have an idea what it is exactly you'd like to build? I would be useful to know before throwing any sketch.

            FYG DHT is by far not a favourite one for a battery use in my view. There are others - SI7120 or BME280

            1 Reply Last reply
            0
            • Dombo71D Dombo71

              Dear
              I ordered a few...:-)
              Do you have a working sketch that is using less power?
              Perhaps wit a motionsensor and a DHt ore something
              I hope i get you hardware working..

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

              @Dombo71
              What do you mean with "using less power"?

              D 1 Reply Last reply
              0
              • Dombo71D Dombo71

                Dear
                I ordered a few...:-)
                Do you have a working sketch that is using less power?
                Perhaps wit a motionsensor and a DHt ore something
                I hope i get you hardware working..

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

                @Dombo71
                Motion sensors are also not so low power and as mentioned before, DHT are power hungry. SI7021 is much better for low power/low voltage use.

                1 Reply Last reply
                0
                • GertSandersG GertSanders

                  @Dombo71
                  What do you mean with "using less power"?

                  D Offline
                  D Offline
                  Dylano
                  wrote on last edited by
                  #39

                  @GertSanders said:

                  SI7021

                  I hope i can make a 3 in 1 sensor
                  Motion / contact.
                  temp and humanity
                  Better should be a multisensor, with a lot of option so we can choose .
                  The examples on my sensor are most 1 sensor...

                  And then work on a battery[s] for a year

                  Thanks for the SI7021 tip..

                  Domoticz, with a lot of working hardware, include mysensors :-)
                  OpenPLI, RuneAudio, Solarmeter, etc......

                  Not a great builder of software and hardware, more a user...
                  Only i try to do my best :-(

                  GertSandersG 1 Reply Last reply
                  0
                  • D Dylano

                    @GertSanders said:

                    SI7021

                    I hope i can make a 3 in 1 sensor
                    Motion / contact.
                    temp and humanity
                    Better should be a multisensor, with a lot of option so we can choose .
                    The examples on my sensor are most 1 sensor...

                    And then work on a battery[s] for a year

                    Thanks for the SI7021 tip..

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

                    @Dylano

                    This board is not meant for more then 1 function.

                    1 Reply Last reply
                    0
                    • alexsh1A Offline
                      alexsh1A Offline
                      alexsh1
                      wrote on last edited by
                      #41

                      @Dylano Have a look at this board - this would let you program via FTDI and connect several sensors.

                      http://forum.mysensors.org/topic/2744/battery-based-atmega328p-sensor-no-smd

                      1 Reply Last reply
                      0
                      • alexsh1A Offline
                        alexsh1A Offline
                        alexsh1
                        wrote on last edited by
                        #42

                        @GertSanders How snug is your enclosure? I saw @m26872 used 17x20mm for his slim node, but I was able to find in the UK 16x16mm trunking, which I think maybe a little bit small.

                        GertSandersG 2 Replies Last reply
                        0
                        • alexsh1A alexsh1

                          @GertSanders How snug is your enclosure? I saw @m26872 used 17x20mm for his slim node, but I was able to find in the UK 16x16mm trunking, which I think maybe a little bit small.

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

                          @alexsh1
                          I also use a 16x16mm cable guide and it just fits, the batteries are in batteryholders and therefor they stick out by 1mm. Without the batteryholder they fit perfectly.
                          The board is 13mm wide at the base which allows passing a few wires next to it. So 16x16 is ok for my narrow board.

                          D 1 Reply Last reply
                          1
                          • alexsh1A alexsh1

                            @GertSanders How snug is your enclosure? I saw @m26872 used 17x20mm for his slim node, but I was able to find in the UK 16x16mm trunking, which I think maybe a little bit small.

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

                            @alexsh1

                            Here are some images of the very narrow node in a 16x16mm cable duct. The batteries are AAA type.

                            0_1457556053405_IMG_7814.jpg

                            0_1457555980720_IMG_7812.jpg

                            0_1457555993984_IMG_7810.jpg

                            0_1457556003354_IMG_7809.jpg

                            1 Reply Last reply
                            3
                            • alexsh1A Offline
                              alexsh1A Offline
                              alexsh1
                              wrote on last edited by
                              #45

                              @GertSanders - Thanks for photos. I have got 16x16mm trunking and just waiting for some spare parts. Will be posting photos shortly.

                              1 Reply Last reply
                              0
                              • GertSandersG GertSanders

                                @alexsh1
                                I also use a 16x16mm cable guide and it just fits, the batteries are in batteryholders and therefor they stick out by 1mm. Without the batteryholder they fit perfectly.
                                The board is 13mm wide at the base which allows passing a few wires next to it. So 16x16 is ok for my narrow board.

                                D Offline
                                D Offline
                                Dylano
                                wrote on last edited by
                                #46

                                @GertSanders

                                This option with a pir...
                                or a magnet sensor.
                                What is the battery live?

                                Domoticz, with a lot of working hardware, include mysensors :-)
                                OpenPLI, RuneAudio, Solarmeter, etc......

                                Not a great builder of software and hardware, more a user...
                                Only i try to do my best :-(

                                alexsh1A 1 Reply Last reply
                                0
                                • D Dylano

                                  @GertSanders

                                  This option with a pir...
                                  or a magnet sensor.
                                  What is the battery live?

                                  alexsh1A Offline
                                  alexsh1A Offline
                                  alexsh1
                                  wrote on last edited by alexsh1
                                  #47

                                  @Dylano said:

                                  @GertSanders

                                  This option with a pir...
                                  or a magnet sensor.

                                  This is more a reed sensor. For PIR the size is just not right IMHO.
                                  Given that it sleeps most of the time, the battary life should be excellent.
                                  I do not know, maybe @GertSanders has got more comments?

                                  GertSandersG 1 Reply Last reply
                                  0
                                  • alexsh1A alexsh1

                                    @Dylano said:

                                    @GertSanders

                                    This option with a pir...
                                    or a magnet sensor.

                                    This is more a reed sensor. For PIR the size is just not right IMHO.
                                    Given that it sleeps most of the time, the battary life should be excellent.
                                    I do not know, maybe @GertSanders has got more comments?

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

                                    @alexsh1 with a switch (reed or mechanical) i see a consumption of around 5micro amperes in sleep mode. 2 AAA should last minimum a year. We will see as my node is only started last week.

                                    A small PIR sensor is possible, see the "small AA project" and the mini PIR example.

                                    http://forum.mysensors.org/topic/2715/slim-node-as-a-mini-2aa-battery-pir-motion-sensor

                                    No idea what lifetime to expect there.

                                    1 Reply Last reply
                                    0
                                    • T Offline
                                      T Offline
                                      TimO
                                      Hero Member
                                      wrote on last edited by
                                      #49

                                      I've just ordered a batch of these. Really cool, I can't wait to receive them. Thanks for the great work!

                                      1 Reply Last reply
                                      0
                                      • B Offline
                                        B Offline
                                        Bolliebol
                                        wrote on last edited by
                                        #50

                                        YES, my first is working. More to make. In my home now: "Big brother is watching you" Placed my first at the door of the refrigerator ;-)

                                        @GertSanders, you write:
                                        powering something with low consumption
                                        You can set both pins D2 and D3 of the processor to OUTPUT, do not mount the pull up resistors, do not activate the internal PullUPs, and by setting one of the pins to HIGH and the other to LOW you can power something. You will need to take care that a maximum of 20mA is consumed, as this is the recommended maximum amperage the pins of the atmega328 can drive or source.

                                        Sure not to mount the pull up resistors. But how do de-activate the internal PullUPs, and by setting one of the pins to HIGH and the other to LOW.

                                        Can you explain in "jip en Janneke/suske en wiske" language how to. With the help of this site I made my first one:
                                        https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

                                        GertSandersG 1 Reply Last reply
                                        0
                                        • B Bolliebol

                                          YES, my first is working. More to make. In my home now: "Big brother is watching you" Placed my first at the door of the refrigerator ;-)

                                          @GertSanders, you write:
                                          powering something with low consumption
                                          You can set both pins D2 and D3 of the processor to OUTPUT, do not mount the pull up resistors, do not activate the internal PullUPs, and by setting one of the pins to HIGH and the other to LOW you can power something. You will need to take care that a maximum of 20mA is consumed, as this is the recommended maximum amperage the pins of the atmega328 can drive or source.

                                          Sure not to mount the pull up resistors. But how do de-activate the internal PullUPs, and by setting one of the pins to HIGH and the other to LOW.

                                          Can you explain in "jip en Janneke/suske en wiske" language how to. With the help of this site I made my first one:
                                          https://forum.mysensors.org/topic/3018/tutorial-how-to-burn-1mhz-8mhz-bootloader-using-arduino-ide-1-6-5-r5

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

                                          @Bolliebol
                                          You need to use these instructions:

                                          void setup()
                                          {
                                          pinMode(2, OUTPUT);
                                          digitalWrite(2, HIGH);
                                          pinMode(3, OUTPUT);
                                          digitalWrite(2, LOW);

                                          // this makes pin 2 the "plus" side and pin 3 the "minus" side.

                                          // Connect your low power consuming thing between these two pins as if they are battery pins.

                                          // If you need to power off the device, just do

                                          digitalWrite(2,LOW);

                                          }

                                          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