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.
  • 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
    • SoloamS Offline
      SoloamS Offline
      Soloam
      Hardware Contributor
      wrote on last edited by Soloam
      #91

      @scalz great work, sorry to dig up the topic, but good topics never die ( :) ). Can you clarify some questions?

      • Way did you used 2 different relays? Way not only one type?
      • What is the Amp consumption of your motors? I know that 10A is overkill, but just to get one idea. Would 2A do it? (at 220V)
      • I see that you added a 8Mhz Cristal, way not use the internal clock? It's 8Mhz
      • I see that you use a relay driver, correct me if I'm wrong, that is because the rated coil consumption to those relays is 80mA.

      Thank You
      Great Work

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

        @Soloam
        2 relay for interlocking system and add more security.
        I never mesure my current but it's low ... not 10A !
        Internal clock is not very precise and can vary with external parameters like temperature. And for this project it's better to have good precision.
        It's always better to use relay driver and not directly arduino pin.

        SoloamS 1 Reply Last reply
        1
        • F Fabien

          @Soloam
          2 relay for interlocking system and add more security.
          I never mesure my current but it's low ... not 10A !
          Internal clock is not very precise and can vary with external parameters like temperature. And for this project it's better to have good precision.
          It's always better to use relay driver and not directly arduino pin.

          SoloamS Offline
          SoloamS Offline
          Soloam
          Hardware Contributor
          wrote on last edited by
          #93

          @fabien said in 💬 Roller Shutter Node:

          @Soloam
          2 relay for interlocking system and add more security.
          I never mesure my current but it's low ... not 10A !
          Internal clock is not very precise and can vary with external parameters like temperature. And for this project it's better to have good precision.
          It's always better to use relay driver and not directly arduino pin.

          Thank you @Fabien all very clarifying, only one thing that I don't understand (sorry, but I like to use this projects to learn and improve my personal knowledge) I still don't understand way the relays are different model numbers, from what I can see, one is 4 pins, and the other 5 pins, or I'm miss interpreting?

          Thank you

          1 Reply Last reply
          0
          • gohanG Offline
            gohanG Offline
            gohan
            Mod
            wrote on last edited by gohan
            #94

            one relay only needs to be on/off while the other needs to select between up and down motion.

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

              @Soloam
              about relays, imagine there would be two same relays:

              • two SPDT would not make sense here, plus it would add more pins.

              • two SPST wouldn't be secure, there could be a moment where you could have both relays activated (for example in case pins are not well set on startup, or of bad sketch). That would not be great for motor.
                So there is one (SPST) to enable power flowing to the SPDT which toggle between UP or DOWN.

              • there are parts on my schematic which could be optional. I always put as much footprints as I can, for reference, and especially when I need to fix something it's handy.
                Sure crystal could be optional, and you could burn sensebender bootloader for example, or like fabien said it's good to have. It's an AC powered node, so not really needed to try saving something. And also, if you're paranoid about sourcing cheap, and why not out of specs, atmel on aliexpress, then you have the footprints available.

              • the relay driver is nice because it helps protecting atmel and improve reliability. It integrates all parts for relays in one package (transistors, diodes, resistors etc.) so it simplifies schematic and takes less place on pcb too.

              • 10amp omron relays, better oversize, so you're sure they won't suffer :) and the board can be used for other stuff needing more power than rollershutters in case.

              SoloamS 1 Reply Last reply
              0
              • scalzS scalz

                @Soloam
                about relays, imagine there would be two same relays:

                • two SPDT would not make sense here, plus it would add more pins.

                • two SPST wouldn't be secure, there could be a moment where you could have both relays activated (for example in case pins are not well set on startup, or of bad sketch). That would not be great for motor.
                  So there is one (SPST) to enable power flowing to the SPDT which toggle between UP or DOWN.

                • there are parts on my schematic which could be optional. I always put as much footprints as I can, for reference, and especially when I need to fix something it's handy.
                  Sure crystal could be optional, and you could burn sensebender bootloader for example, or like fabien said it's good to have. It's an AC powered node, so not really needed to try saving something. And also, if you're paranoid about sourcing cheap, and why not out of specs, atmel on aliexpress, then you have the footprints available.

                • the relay driver is nice because it helps protecting atmel and improve reliability. It integrates all parts for relays in one package (transistors, diodes, resistors etc.) so it simplifies schematic and takes less place on pcb too.

                • 10amp omron relays, better oversize, so you're sure they won't suffer :) and the board can be used for other stuff needing more power than rollershutters in case.

                SoloamS Offline
                SoloamS Offline
                Soloam
                Hardware Contributor
                wrote on last edited by
                #96

                @scalz this is a great work, I'm planning on ordering a couple to use on my system.

                Besides that, I'm most interested in the integrated Current Sensor, and planning on use it on my one PCB. I've been studding your PCB layout and reading regarding the ACS712 and is integration with the LM321. Way didn't you use the schematic on the ACS712 DataSheet (http://henrysbench.capnfatz.com/henrys-bench/arduino-current-measurements/acs712-current-sensor-user-manual/ page 12) to integrate with the LM321? I see that you use a lot more resistors and caps, and the values are not the same. Was this intencional or you did it to reuse a footprint? Would the layout on the DataSheet also work in you board? (From what I can tell it changes the sensitivity).

                Also I see a couple 0 Ohm resistor, I think that that is to reuse footprints correct?

                Thank you for your help and contribute to the community.

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

                  @Soloam
                  Your link is about DC. He has another howto for AC, which is based on sampling adc but i was not interested in this one. I didn't want the current measurement dependant on sampling reliability and misses.
                  So I used part of datasheet schematic, and I adjusted it to my application. If you use it in another projects, you may need to adjust resistor divider etc.
                  0ohms needs to be soldered.

                  1 Reply Last reply
                  0
                  • H Offline
                    H Offline
                    hitech2207
                    wrote on last edited by
                    #98

                    Hi,

                    I have been searching for a longtime for some decent rollershutter solution. I have about 12 of them and i am currently using a sonoff relay solution which works but i never really know the position if it is open or closed or pourcentage position.

                    What your solution seems to do.

                    Is it possible to interface this with amazon echo or google home to ask to open/close the shutter but also ask the status. Are my shutters open or closed? Or open window shutter 1 at 50%?

                    Also there is a link to purchase 10 pcb at 21$ is the the complete solution (plug &play, including relays, connectors,,,) or is it just the board and do i need to solder everything my self?

                    Thank you and great job at doing this! :)

                    1 Reply Last reply
                    0
                    • gohanG Offline
                      gohanG Offline
                      gohan
                      Mod
                      wrote on last edited by
                      #99

                      You still need to get parts and solder everything together.

                      1 Reply Last reply
                      0
                      • H Offline
                        H Offline
                        hitech2207
                        wrote on last edited by
                        #100

                        Hi,

                        Where could i buy a finished version of this hardware?

                        alexsh1A 1 Reply Last reply
                        0
                        • H hitech2207

                          Hi,

                          Where could i buy a finished version of this hardware?

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

                          @hitech2207 I do not think it is for sale as a finished product.
                          You still have to get everything assembled as @gohan had.

                          EDIT: re amazon echo or any other control can be done from RPi hosting a controller.

                          1 Reply Last reply
                          0
                          • A Offline
                            A Offline
                            artipi
                            wrote on last edited by
                            #102

                            Hello, nice Node! How to order a NRF Version? If i click buy, i have no choice.

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

                              I'm having difficult finding the IC4 ACS712_5A, if I search for "ACS712 5A" I only get the assembled unit. Can I get one of this and unsolder the IC and use it?

                              berkseoB scalzS 2 Replies Last reply
                              0
                              • SoloamS Soloam

                                I'm having difficult finding the IC4 ACS712_5A, if I search for "ACS712 5A" I only get the assembled unit. Can I get one of this and unsolder the IC and use it?

                                berkseoB Offline
                                berkseoB Offline
                                berkseo
                                wrote on last edited by hek
                                #104

                                @soloam said in 💬 Roller Shutter Node:

                                I'm having difficult finding the IC4 ACS712_5A, if I search for "ACS712 5A" I only get the assembled unit. Can I get one of this and unsolder the IC and use it?

                                ali

                                https://ru.aliexpress.com/item/ACS712-ACS712ELCTR-05B-ACS712TELC-05B/32789439410.html
                                https://ru.aliexpress.com/item/-/32875918012.html
                                https://ru.aliexpress.com/item/2-ACS712ELCTR-05B-T-ACS712T-SOP8-ACS712-SMD/32846519263.html
                                https://ru.aliexpress.com/item/10-ACS712ELCTR-05B-T-SOP8-ACS712T-ACS712-SMD/32850751652.html
                                https://ru.aliexpress.com/item/Pengiriman-gratis-10PCS-ALLEGRO-ACS712-ACS712T-ACS712ELCTR-ACS712ELCTR-05B-5A-5V-BI-8-SOIC-CURRENT-SENSOR/32437115332.html

                                ebay

                                https://www.ebay.com/itm/10pcs-New-ACS712TELC-05B-ACS712ELCTR-05B-T-ACS712ELCTR-05B-ALLEGRO-5A-SOP-8/281749030375?hash=item41998d05e7:g:7DAAAOSwu4BVpLn2
                                https://www.ebay.com/itm/1pcs-New-ACS712TELC-05B-ACS712ELCTR-05B-T-ACS712ELCTR-05B-ALLEGRO-5A-SOP-8/281749029814?hash=item41998d03b6:g:7DAAAOSwu4BVpLn2
                                https://www.ebay.com/itm/ACS712ELCTR-05B-T-Hall-Effect-High-Current-Sensor-159A/263615518167?hash=item3d60b595d7:g:hy8AAOSw6oBXEeIH
                                https://www.ebay.com/itm/1PC-ACS712T-ACS712ELCTR-05B-T-SOP8-Current-Sensor/183172053171?hash=item2aa5e7b8b3:g:OdYAAOSwNuVazHfK
                                https://www.ebay.com/itm/1PCS-IC-ALLEGRO-SOP-8-ACS712ELCTR-05B-T-ACS712TELC-05B-ACS712ELCTR-05B/162781088118?hash=item25e6824976:g:CUkAAOSwR2RaH452
                                https://www.ebay.com/itm/1PCS-New-ACS712TELC-05B-ACS712ELCTR-05B-T-ACS712ELCTR-05B-SOP-8-ALLEGRO-5A/332667654422?hash=item4d74899116:g:omAAAOSwvjBbDaVY
                                https://www.ebay.com/itm/5pcs-ACS712T-ACS712ELCTR-05B-T-SOP-8-Hall-Effect-Based-Linear-Current-Sensor/253838051714?hash=item3b19ed4982:g:KFYAAOSw6gRbhjes

                                you can unsolder, I have repeatedly had to do so))

                                by the way will share subtlety, in order to get good data from the sensor signal to untie from MCU. Then you forget about noise, electromagnetic interference and so on...

                                1 Reply Last reply
                                0
                                • SoloamS Soloam

                                  I'm having difficult finding the IC4 ACS712_5A, if I search for "ACS712 5A" I only get the assembled unit. Can I get one of this and unsolder the IC and use it?

                                  scalzS Offline
                                  scalzS Offline
                                  scalz
                                  Hardware Contributor
                                  wrote on last edited by scalz
                                  #105

                                  @soloam said in 💬 Roller Shutter Node:

                                  I'm having difficult finding the IC4 ACS712_5A, if I search for "ACS712 5A" I only get the assembled unit. Can I get one of this and unsolder the IC and use it?

                                  weird because it's easy to find on aliexpress/ebay like berkso said, or unsolder it it's easy. you can also find it on arrow, digikey.
                                  for rollershutter mode, no need of very precise data, as it's used as a "switch" sensor, and my sketch, adc sampling/basic filtering etc are using state machine if i remember well, so nothing blocking. there is also available footprints for filtering if needed.
                                  but if you don't have any Ic, you still can use the board, just take a look at the defines in sketch and proceed a manual calibration.
                                  enjoy :)

                                  1 Reply Last reply
                                  0
                                  • jeremushkaJ Offline
                                    jeremushkaJ Offline
                                    jeremushka
                                    wrote on last edited by
                                    #106

                                    My current roller roller Shutter switch are two pushed buttons up and down. No stop button. When release the push button up or down, the shutter will stop. WIll it be compatible with this board or will i have to change the buttons ?

                                    1 Reply Last reply
                                    0
                                    • S Samuel235

                                      @scalz, fantastic revision upgrades. I love seeing your contributions, learning so much as i see each and every one. Thanks for the continued support!

                                      A Offline
                                      A Offline
                                      aramko aramko
                                      Banned
                                      wrote on last edited by aramko aramko
                                      #107
                                      This post is deleted!
                                      1 Reply Last reply
                                      0
                                      Reply
                                      • Reply as topic
                                      Log in to reply
                                      • Oldest to Newest
                                      • Newest to Oldest
                                      • Most Votes


                                      17

                                      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