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. 💬 Roller Shutter Node

💬 Roller Shutter Node

Scheduled Pinned Locked Moved OpenHardware.io
rollershuttercurrent sensorrelayblinds
107 Posts 25 Posters 38.2k Views 27 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.
  • TakeroT Offline
    TakeroT Offline
    Takero
    Hardware Contributor
    wrote on last edited by
    #71

    I am finished and everythink is working well right now.

    I dit some modifications on PCB:

    • add an 470uF near to NRF24
    • add two Diodes recovery diode (or free-wheeling diode) dunno how it called in english :-) at the relays

    And some changes in your example code :+1:

    Thanks for the Layout, thanks for the code, thanks for help!

    I design a 3D Case, but only the bottom side. . . but not tested right now . .

    alt text

    0_1478263225360_RollerShutter_back.stl
    0_1478263256093_RollerShutter_Back.123dx

    1 Reply Last reply
    1
    • F Offline
      F Offline
      Fabien
      wrote on last edited by
      #72

      Did you try ACS measurement for up AND down ? On my 2 boards, i have problem with relay just over ACS and errors in current measurment (magnetic field of relay just over Hall sensor)
      @scalz : I think we could try to turn 90° acs712, it could be fine.

      1 Reply Last reply
      0
      • TakeroT Offline
        TakeroT Offline
        Takero
        Hardware Contributor
        wrote on last edited by Takero
        #73

        With a Little Bit Trouble yes. The Problem is the Dimension of the amplifier. Below 60W the messured voltage is to Low.

        I think it is netter the Diode must be in the Feedback cycle of the amplifier. But in my case the Free running voltage is below 6 and with running Roller above 20. So it is possible to detect the End stops. Just modify the variables.

        I will Test it in the"real" System tomorow. If it Works i will post the Sketch.

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

          @Fabien
          i will take a look asap.. i'm actually playing with my nano32, and some design ;)
          perhaps for the atsam version when more time to release..

          @Takero
          thx for feedback :+1:

          • i'll look to your suggestions too. for the wheeling diode if i remember it's integrated in the relay driver. depends what you mean.
          • For sketch, hehe, i warned it was not complete :) but the most important there. I'll look at your change and update it, sure !i have actually no time to play with it, still using an old sketch.

          too much coding to do, and hardware to play! but this is so fun :)

          see you soon

          TakeroT 1 Reply Last reply
          0
          • scalzS scalz

            @Fabien
            i will take a look asap.. i'm actually playing with my nano32, and some design ;)
            perhaps for the atsam version when more time to release..

            @Takero
            thx for feedback :+1:

            • i'll look to your suggestions too. for the wheeling diode if i remember it's integrated in the relay driver. depends what you mean.
            • For sketch, hehe, i warned it was not complete :) but the most important there. I'll look at your change and update it, sure !i have actually no time to play with it, still using an old sketch.

            too much coding to do, and hardware to play! but this is so fun :)

            see you soon

            TakeroT Offline
            TakeroT Offline
            Takero
            Hardware Contributor
            wrote on last edited by
            #75

            @scalz said:

            for the wheeling diode if i remember it's integrated in the relay driver. depends what you mean

            It isn't :-)

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

              well, it is a zener, not wheeling diode, which should be enough..
              http://www.onsemi.com/pub_link/Collateral/MDC3105-D.PDF
              perhaps not for nrf! cool if it improves.

              sidenote: i won't change nrf version in future. as i only have rfm69 (doing nrf was bonus), i don't want to waste my time improving both! and i have enough pcb ahah

              1 Reply Last reply
              0
              • TakeroT Offline
                TakeroT Offline
                Takero
                Hardware Contributor
                wrote on last edited by
                #77

                Dont Care :-) its cool. Zenner its not enoth but dont worry. I need it .. the nrf is verry "female" :-D (sensible). But i think for both version, you have to modify the current messurment. No Roller shutter has >200w so u are on the Limit below 100w of adc scale.

                But hey it Works and your Layout is verry cool and Safe.

                1 Reply Last reply
                1
                • F Offline
                  F Offline
                  Fabien
                  wrote on last edited by
                  #78

                  Very stange. Zener in forward side is equivalent to classical diode.
                  @Takero, you change the amplifier ? Wich mods did you make ?

                  1 Reply Last reply
                  0
                  • TakeroT Offline
                    TakeroT Offline
                    Takero
                    Hardware Contributor
                    wrote on last edited by Takero
                    #79

                    I was a little bit bussy the last days.
                    My Nodes are completed installed right now, it works well. BUT, i had to change some thinks.

                    I had the Probleme of automatic reset of the device if i set the shutter to 50% or anythink else 0% or 100%.
                    The Diode alone dont solve these Probleme. I think the Problem is to stop the shutter while running. If i set it to 100% or 0% the shutter shut of before the relay falls down.

                    I solve the Problem with a 220uF Capacitor at the 3.3V Out and deactivate the BOD.

                    My Fuses right now: L: CF // H:DA // E:07

                    Now it works very well!!

                    @Fabien: I dont change the amp . . i just tested some thinks but it wont work . . for i dont use the current messurment and setup the Node with the manual endstop. It works realy good!

                    Finaly again, Thanks @scalz

                    The Temp. of the devices is below 30°C ;-)

                    In the picture the green temp.

                    0_1481916187089_Unbenannt.JPG

                    1 Reply Last reply
                    0
                    • F Offline
                      F Offline
                      fabiancrg
                      wrote on last edited by
                      #80

                      Hi
                      I was wondering if the ACS712 can detect the current if the roller shutter power is 85W?

                      1 Reply Last reply
                      0
                      • kduinoK Offline
                        kduinoK Offline
                        kduino
                        wrote on last edited by
                        #81

                        Hi, there is something similar available although without an ac712. So you can't check the percentage o the shutter.
                        See https://github.com/JanGoe/esp8266-wifi-relay
                        I had one at home and it is working well. Because of the esp8266 it is directly connected to any controller using udp or MQTT or other protocols.
                        The only problem is the missing box. I have to admit I wouldn't put this in my wall without a proper box using AC 240 V!!!
                        The project you proposed is of course the most advanced. Do you think there is a smaller version available perhaps less parts on the BOM and easy to build?
                        Thank you very much, kduino

                        1 Reply Last reply
                        0
                        • F Offline
                          F Offline
                          Fabien
                          wrote on last edited by Fabien
                          #82

                          Cloudy/rainning day ... Good for MySensors
                          0_1491138689145_IMG_20170402_145718.jpg

                          1 Reply Last reply
                          2
                          • F Offline
                            F Offline
                            Fabien
                            wrote on last edited by
                            #83

                            There is a mistake on the above photo. Radios are on the wrong way (180°)

                            1 Reply Last reply
                            0
                            • F Offline
                              F Offline
                              Fabien
                              wrote on last edited by
                              #84

                              @scalz, little mistake on BOM, C4 is 100n AND 10n ..

                              1 Reply Last reply
                              1
                              • Sergio RodriguesS Offline
                                Sergio RodriguesS Offline
                                Sergio Rodrigues
                                wrote on last edited by
                                #85

                                Hi, I make this project, pretty cool.

                                How I can upload the firmware? What I need to do?

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

                                  @Sergio-Rodrigues
                                  It's better to talk about this here instead of private, so other people can learn or help you ;)

                                  it's "like" programming an arduino board.

                                  1. in arduino ide, program bootloader (for these, i used the sensebender board in Board manager).
                                  2. Then, with a FTDI adapter, program the rollershutter sketch.

                                  For more infos on programming arduino:

                                  • see official docs from arduino website
                                  • https://www.mysensors.org/about/fota for a bootloader programming example

                                  What do you need to know exactly ??

                                  1 Reply Last reply
                                  0
                                  • F Offline
                                    F Offline
                                    Fabien
                                    wrote on last edited by
                                    #87

                                    Finnaly I find a solution with a very good WAF !
                                    I want to keep a sort of manual command (not gateway or controller dependant) and I don't want an expensive solution (my ODACE schneider button are quite expensive and I don't want to buy other button).
                                    But these button measure 38mm depth and @scalz board is about 20mm. My wall boxes are 50mm !
                                    Si I find some special wall boxes with an enclosure for home automation module. It's cheap (about 3€) and very well designed (french RT2012 compliant). I update the sketch with MY_TRANSPORT_WAIT_READY_MS so node can work alone. And I update sketch to work with bistable button. Works well on 2 windows since yesterday.
                                    Here is a photo before :
                                    0_1505166550880_IMG_20170911_233746.jpg

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

                                      Almost looks like this type type of part-rubber box that can be mounted without tearing down the wall:
                                      0_1505167914932_1426270.jpg

                                      https://www.eldirekt.se/elmaterial/elinstallation/infallda-dosor/multidosa-big-box

                                      https://www.youtube.com/watch?v=pwoyoTrJr4g

                                      1 Reply Last reply
                                      2
                                      • F Offline
                                        F Offline
                                        Fabien
                                        wrote on last edited by
                                        #89

                                        Some other photos (sorry, first one is not in the same room) :
                                        0_1505251878615_IMG_20170912_174015.jpg
                                        0_1505251889179_IMG_20170912_110933.jpg
                                        0_1505251895779_IMG_20170912_111143.jpg
                                        0_1505251903528_IMG_20170912_111331.jpg

                                        1 Reply Last reply
                                        2
                                        • F Offline
                                          F Offline
                                          Fabien
                                          wrote on last edited by
                                          #90

                                          One test screenshot (not definitive) of my habpanel (openHab 2.0 part).
                                          I'm using OpenHAB mysensors binding (from @TimO), node-red for rules, habpanel for UI, Tasker on android (for example open all RollerShuter just after morning alarm !).
                                          I can access OpenHAB via nginx reverse proxy with https and on my LAN, home automation have a separate VLAN (for security reasons). Thanks a lot to @scalz for this module.
                                          0_1505252614465_Capture du 2017-09-12 23-36-35.png

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